Home
last modified time | relevance | path

Searched refs:GCdebt (Results 1 – 12 of 12) sorted by relevance

/freebsd/contrib/lua/src/
H A Dlmem.c154 g->GCdebt -= osize; in luaM_free_()
187 g->GCdebt = (g->GCdebt + nsize) - osize; in luaM_realloc_()
212 g->GCdebt += size; in luaM_malloc_()
H A Dlstate.h258 l_mem GCdebt; /* bytes allocated not yet compensated by the collector */ member
394 #define gettotalbytes(g) cast(lu_mem, (g)->totalbytes + (g)->GCdebt)
H A Dlgc.c874 l_mem olddebt = g->GCdebt; in checkSizes()
876 g->GCestimate += g->GCdebt - olddebt; /* correct estimate */ in checkSizes()
1448 if (g->GCdebt > 0 && gettotalbytes(g) > majorbase + majorinc) { in genstep()
1571 l_mem olddebt = g->GCdebt; in sweepstep()
1574 g->GCestimate += g->GCdebt - olddebt; /* update estimate */ in sweepstep()
1669 l_mem debt = (g->GCdebt / WORK2MEM) * stepmul; in incstep()
H A Dlstate.c95 g->GCdebt = debt; in luaE_setdebt()
401 g->GCdebt = 0; in lua_newstate()
H A Dlgc.h168 { if (G(L)->GCdebt > 0) { pre; luaC_step(L); pos;}; \
H A Dlapi.c1174 debt = cast(l_mem, data) * 1024 + g->GCdebt; in lua_gc()
/freebsd/sys/contrib/openzfs/module/lua/
H A Dlmem.c95 g->GCdebt = (g->GCdebt + nsize) - realosize; in luaM_realloc_()
H A Dlstate.h117 l_mem GCdebt; /* bytes allocated not yet compensated by the collector */ member
221 #define gettotalbytes(g) ((g)->totalbytes + (g)->GCdebt)
H A Dlstate.c104 g->totalbytes -= (debt - g->GCdebt); in luaE_setdebt()
105 g->GCdebt = debt; in luaE_setdebt()
301 g->GCdebt = 0; in lua_newstate()
H A Dlgc.h124 {if (G(L)->GCdebt > 0) {c;} condchangemem(L);}
H A Dlgc.c1140 l_mem debt = g->GCdebt; in incstep()
H A Dlapi.c1056 debt += g->GCdebt; /* include current debt */ in lua_gc()