Home
last modified time | relevance | path

Searched refs:totalbytes (Results 1 – 8 of 8) sorted by relevance

/f-stack/app/redis-5.0.5/deps/lua/src/
H A Dlmem.c83 g->totalbytes = (g->totalbytes - osize) + nsize; in luaM_realloc_()
H A Dlgc.c463 g->GCthreshold = 2*g->totalbytes; /* avoid GC steps */ in GCTM()
552 g->estimate = g->totalbytes - udsize; /* first estimate */ in atomic()
573 lu_mem old = g->totalbytes; in singlestep()
577 lua_assert(old >= g->totalbytes); in singlestep()
578 g->estimate -= old - g->totalbytes; in singlestep()
582 lu_mem old = g->totalbytes; in singlestep()
588 lua_assert(old >= g->totalbytes); in singlestep()
589 g->estimate -= old - g->totalbytes; in singlestep()
615 g->gcdept += g->totalbytes - g->GCthreshold; in luaC_step()
623 g->GCthreshold = g->totalbytes + GCSTEPSIZE; /* - lim/g->gcstepmul;*/ in luaC_step()
[all …]
H A Dlstate.c80 g->GCthreshold = 4*g->totalbytes; in f_luaopen()
114 lua_assert(g->totalbytes == sizeof(LG)); in close_state()
177 g->totalbytes = sizeof(LG); in lua_newstate()
H A Dlapi.c910 g->GCthreshold = g->totalbytes; in lua_gc()
919 res = cast_int(g->totalbytes >> 10); in lua_gc()
923 res = cast_int(g->totalbytes & 0x3ff); in lua_gc()
928 if (a <= g->totalbytes) in lua_gc()
929 g->GCthreshold = g->totalbytes - a; in lua_gc()
932 while (g->GCthreshold <= g->totalbytes) { in lua_gc()
H A Dlstate.h83 lu_mem totalbytes; /* number of bytes currently allocated */ member
H A Dlgc.h82 if (G(L)->totalbytes >= G(L)->GCthreshold) \
/f-stack/freebsd/contrib/openzfs/module/lua/
H A Dlstate.h116 lu_mem totalbytes; /* number of bytes currently allocated - GCdebt */ member
221 #define gettotalbytes(g) ((g)->totalbytes + (g)->GCdebt)
H A Dlstate.c104 g->totalbytes -= (debt - g->GCdebt); in luaE_setdebt()
300 g->totalbytes = sizeof(LG); in lua_newstate()