Searched refs:gettotalbytes (Results 1 – 4 of 4) sorted by relevance
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()
1039 res = cast_int(gettotalbytes(g) >> 10); in lua_gc()1043 res = cast_int(gettotalbytes(g) & 0x3ff); in lua_gc()