Home
last modified time | relevance | path

Searched refs:allgc (Results 1 – 8 of 8) sorted by relevance

/freebsd/contrib/lua/src/
H A Dlgc.c245 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()
890 o->next = g->allgc; /* return it to 'allgc' list */ in udata2finalize()
891 g->allgc = o; in udata2finalize()
1035 for (p = &g->allgc; *p != o; p = &(*p)->next) { /* empty */ } in luaC_checkfinalizer()
1265 psurvival = sweepgen(L, g, &g->allgc, g->survival, &g->firstold1); in youngcollection()
1270 g->survival = g->allgc; /* all news are survivals */ in youngcollection()
1296 sweep2old(L, &g->allgc); in atomic2gen()
[all …]
H A Dlstate.h276 GCObject *allgc; /* list of all collectable objects */ member
H A Dlstate.c375 g->allgc = obj2gco(L); /* by now, only object is the main thread */ in lua_newstate()
H A Dltests.c646 totalshould = checklist(g, maybedead, 0, g->allgc, in lua_checkmemory()
/freebsd/sys/contrib/openzfs/module/lua/
H A Dlfunc.c101 gch(o)->next = g->allgc; /* link upvalue into 'allgc' list */ in luaF_close()
102 g->allgc = o; in luaF_close()
H A Dlgc.c217 list = &g->allgc; /* standard list for collectable objects */ in luaC_newobj()
792 gch(o)->next = g->allgc; /* return it to 'allgc' list */ in udata2finalize()
793 g->allgc = o; in udata2finalize()
886 for (p = &g->allgc; *p != o; p = &gch(*p)->next) { /* empty */ } in luaC_checkfinalizer()
943 g->sweepgc = sweeptolive(L, &g->allgc, &n); in entersweep()
991 sweepwholelist(L, &g->allgc); in luaC_freeallobjects()
H A Dlstate.h128 GCObject *allgc; /* list of all collectable objects */ member
H A Dlstate.c294 g->allgc = NULL; in lua_newstate()