Searched refs:gettotalbytes (Results 1 – 8 of 8) sorted by relevance
919 debt = -cast(l_mem, threshold - gettotalbytes(g)); in setpause()958 g->GCestimate = gettotalbytes(g); in luaC_changemode()1122 g->GCestimate = gettotalbytes(g); /* update control */ in generationalcollection()1128 if (gettotalbytes(g) > (estimate / 100) * g->gcmajorinc) in generationalcollection()1134 setpause(g, gettotalbytes(g)); in generationalcollection()1213 setpause(g, gettotalbytes(g)); in luaC_fullgc()
219 #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()
99 l_mem tb = gettotalbytes(g); in luaE_setdebt()250 lua_assert(gettotalbytes(g) == sizeof(LG)); in close_state()
243 #define gettotalbytes(g) cast(lu_mem, (g)->totalbytes + (g)->GCdebt) macro
947 debt = gettotalbytes(g) - threshold; in setpause()1067 g->GCestimate = gettotalbytes(g); /* first estimate */; in singlestep()1171 lua_assert(g->GCestimate == gettotalbytes(g)); in luaC_fullgc()
1061 res = cast_int(gettotalbytes(g) >> 10); in lua_gc()1065 res = cast_int(gettotalbytes(g) & 0x3ff); in lua_gc()