Home
last modified time | relevance | path

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

/device/linaro/bootloader/edk2/AppPkg/Applications/Lua/src/
Dlgc.c914 l_mem debt, threshold; in setpause() local
919 debt = -cast(l_mem, threshold - gettotalbytes(g)); in setpause()
920 luaE_setdebt(g, debt); in setpause()
1141 l_mem debt = g->GCdebt; in incstep() local
1145 debt = (debt / STEPMULADJ) + 1; in incstep()
1146 debt = (debt < MAX_LMEM / stepmul) ? debt * stepmul : MAX_LMEM; in incstep()
1149 debt -= work; in incstep()
1150 } while (debt > -GCSTEPSIZE && g->gcstate != GCSpause); in incstep()
1154 debt = (debt / stepmul) * STEPMULADJ; /* convert 'work units' to Kb */ in incstep()
1155 luaE_setdebt(g, debt); in incstep()
Dlstate.c106 void luaE_setdebt (global_State *g, l_mem debt) { in luaE_setdebt() argument
107 g->totalbytes -= (debt - g->GCdebt); in luaE_setdebt()
108 g->GCdebt = debt; in luaE_setdebt()
Dlstate.h221 LUAI_FUNC void luaE_setdebt (global_State *g, l_mem debt);
Dlapi.c1055 lu_mem debt = cast(lu_mem, data) * 1024 - GCSTEPSIZE; in lua_gc() local
1057 debt += g->GCdebt; /* include current debt */ in lua_gc()
1058 luaE_setdebt(g, debt); in lua_gc()