Searched refs:gettotalbytes (Results 1 – 4 of 4) 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
232 lua_assert(gettotalbytes(g) == sizeof(LG)); in close_state()
1042 res = cast_int(gettotalbytes(g) >> 10); in lua_gc()1046 res = cast_int(gettotalbytes(g) & 0x3ff); in lua_gc()