Home
last modified time | relevance | path

Searched refs:GCSTEPSIZE (Results 1 – 4 of 4) sorted by relevance

/f-stack/freebsd/contrib/openzfs/module/lua/
H A Dlgc.h31 #if !defined(GCSTEPSIZE)
33 #define GCSTEPSIZE (cast_int(100 * sizeof(TString))) macro
H A Dlgc.c33 #define GCSWEEPMAX (cast_int((GCSTEPSIZE / GCSWEEPCOST) / 4))
1149 } while (debt > -GCSTEPSIZE && g->gcstate != GCSpause); in incstep()
1179 else luaE_setdebt(g, -GCSTEPSIZE); /* avoid being called too often */ in luaC_step()
H A Dlapi.c1052 lu_mem debt = cast(lu_mem, data) * 1024 - GCSTEPSIZE; in lua_gc()
/f-stack/app/redis-5.0.5/deps/lua/src/
H A Dlgc.c26 #define GCSTEPSIZE 1024u macro
612 l_mem lim = (GCSTEPSIZE/100) * g->gcstepmul; in luaC_step()
622 if (g->gcdept < GCSTEPSIZE) in luaC_step()
623 g->GCthreshold = g->totalbytes + GCSTEPSIZE; /* - lim/g->gcstepmul;*/ in luaC_step()
625 g->gcdept -= GCSTEPSIZE; in luaC_step()