Searched refs:gettotalbytes (Results 1 – 8 of 8) sorted by relevance
1065 debt = gettotalbytes(g) - threshold; in setpause()1307 g->GCestimate = gettotalbytes(g); /* base for memory control */ in atomic2gen()1317 luaE_setdebt(g, -(cast(l_mem, (gettotalbytes(g) / 100)) * g->genminormul)); in setminordebt()1412 g->GCestimate = gettotalbytes(g); /* first estimate */; in stepgenfull()1446 if (g->GCdebt > 0 && gettotalbytes(g) > majorbase + majorinc) { in genstep()1448 if (gettotalbytes(g) < majorbase + (majorinc / 2)) { in genstep()1607 g->GCestimate = gettotalbytes(g); /* first estimate */; in singlestep()1715 lua_assert(g->GCestimate == gettotalbytes(g)); in fullinc()
90 l_mem tb = gettotalbytes(g); in luaE_setdebt()281 lua_assert(gettotalbytes(g) == sizeof(LG)); in close_state()
394 #define gettotalbytes(g) cast(lu_mem, (g)->totalbytes + (g)->GCdebt) macro
1157 res = cast_int(gettotalbytes(g) >> 10); in lua_gc()1161 res = cast_int(gettotalbytes(g) & 0x3ff); in lua_gc()
918 debt = -cast(l_mem, threshold - gettotalbytes(g)); in setpause()957 g->GCestimate = gettotalbytes(g); in luaC_changemode()1121 g->GCestimate = gettotalbytes(g); /* update control */ in generationalcollection()1127 if (gettotalbytes(g) > (estimate / 100) * g->gcmajorinc) in generationalcollection()1133 setpause(g, gettotalbytes(g)); in generationalcollection()1212 setpause(g, gettotalbytes(g)); in luaC_fullgc()
221 #define gettotalbytes(g) ((g)->totalbytes + (g)->GCdebt) macro
230 lua_assert(gettotalbytes(g) == sizeof(LG)); in close_state()
1041 res = cast_int(gettotalbytes(g) >> 10); in lua_gc()1045 res = cast_int(gettotalbytes(g) & 0x3ff); in lua_gc()