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.c872 l_mem olddebt = g->GCdebt; in checkSizes()
874 g->GCestimate += g->GCdebt - olddebt; /* correct estimate */ in checkSizes()
1446 if (g->GCdebt > 0 && gettotalbytes(g) > majorbase + majorinc) { in genstep()
1569 l_mem olddebt = g->GCdebt; in sweepstep()
1572 g->GCestimate += g->GCdebt - olddebt; /* update estimate */ in sweepstep()
1667 l_mem debt = (g->GCdebt / WORK2MEM) * stepmul; in incstep()
H A Dlstate.c95 g->GCdebt = debt; in luaE_setdebt()
398 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.c94 g->GCdebt = (g->GCdebt + nsize) - realosize; in luaM_realloc_()
H A Dlstate.c103 g->totalbytes -= (debt - g->GCdebt); in luaE_setdebt()
104 g->GCdebt = debt; in luaE_setdebt()
300 g->GCdebt = 0; in lua_newstate()
H A Dlstate.h116 l_mem GCdebt; /* bytes allocated not yet compensated by the collector */ member
220 #define gettotalbytes(g) ((g)->totalbytes + (g)->GCdebt)
H A Dlgc.h123 {if (G(L)->GCdebt > 0) {c;} condchangemem(L);}
H A Dlgc.c1139 l_mem debt = g->GCdebt; in incstep()
H A Dlapi.c1055 debt += g->GCdebt; /* include current debt */ in lua_gc()