Searched refs:allgc (Results 1 – 8 of 8) sorted by relevance
/freebsd/contrib/lua/src/ |
H A D | lgc.c | 245 lua_assert(g->allgc == o); /* object must be 1st in 'allgc' list! */ in luaC_fix() 248 g->allgc = o->next; /* remove object from 'allgc' list */ in luaC_fix() 264 o->next = g->allgc; in luaC_newobjdt() 265 g->allgc = o; in luaC_newobjdt() 888 o->next = g->allgc; /* return it to 'allgc' list */ in udata2finalize() 889 g->allgc = o; in udata2finalize() 1033 for (p = &g->allgc; *p != o; p = &(*p)->next) { /* empty */ } in luaC_checkfinalizer() 1263 psurvival = sweepgen(L, g, &g->allgc, g->survival, &g->firstold1); in youngcollection() 1268 g->survival = g->allgc; /* all news are survivals */ in youngcollection() 1294 sweep2old(L, &g->allgc); in atomic2gen() [all …]
|
H A D | lstate.h | 276 GCObject *allgc; /* list of all collectable objects */ member
|
H A D | lstate.c | 372 g->allgc = obj2gco(L); /* by now, only object is the main thread */ in lua_newstate()
|
H A D | ltests.c | 646 totalshould = checklist(g, maybedead, 0, g->allgc, in lua_checkmemory()
|
/freebsd/sys/contrib/openzfs/module/lua/ |
H A D | lfunc.c | 100 gch(o)->next = g->allgc; /* link upvalue into 'allgc' list */ in luaF_close() 101 g->allgc = o; in luaF_close()
|
H A D | lgc.c | 216 list = &g->allgc; /* standard list for collectable objects */ in luaC_newobj() 791 gch(o)->next = g->allgc; /* return it to 'allgc' list */ in udata2finalize() 792 g->allgc = o; in udata2finalize() 885 for (p = &g->allgc; *p != o; p = &gch(*p)->next) { /* empty */ } in luaC_checkfinalizer() 942 g->sweepgc = sweeptolive(L, &g->allgc, &n); in entersweep() 990 sweepwholelist(L, &g->allgc); in luaC_freeallobjects()
|
H A D | lstate.h | 127 GCObject *allgc; /* list of all collectable objects */ member
|
H A D | lstate.c | 293 g->allgc = NULL; in lua_newstate()
|