Home
last modified time | relevance | path

Searched refs:strt (Results 1 – 4 of 4) sorted by relevance

/illumos-gate/usr/src/uts/common/fs/zfs/lua/
H A Dlstring.c66 stringtable *tb = &G(L)->strt; in luaS_resize()
119 stringtable *tb = &G(L)->strt; in newshrstr()
137 for (o = g->strt.hash[lmod(h, g->strt.size)]; in internshrstr()
H A Dlstate.c227 luaM_freearray(L, G(L)->strt.hash, G(L)->strt.size); in close_state()
286 g->strt.size = 0; in lua_newstate()
287 g->strt.nuse = 0; in lua_newstate()
288 g->strt.hash = NULL; in lua_newstate()
H A Dlgc.c679 G(L)->strt.nuse--; in freeobj()
781 int hs = g->strt.size / 2; /* half the size of the string table */ in checkSizes()
782 if (g->strt.nuse < cast(lu_int32, hs)) /* using less than that half? */ in checkSizes()
993 for (i = 0; i < g->strt.size; i++) /* free all string lists */ in luaC_freeallobjects()
994 sweepwholelist(L, &g->strt.hash[i]); in luaC_freeallobjects()
995 lua_assert(g->strt.nuse == 0); in luaC_freeallobjects()
1045 g->GCmemtrav = g->strt.size * sizeof(GCObject*); in singlestep()
1070 for (i = 0; i < GCSWEEPMAX && g->sweepstrgc + i < g->strt.size; i++) in singlestep()
1071 sweepwholelist(L, &g->strt.hash[g->sweepstrgc + i]); in singlestep()
1073 if (g->sweepstrgc >= g->strt.size) /* no more strings to sweep? */ in singlestep()
H A Dlstate.h119 stringtable strt; /* hash table for strings */ member