Home
last modified time | relevance | path

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

/freebsd-12.1/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/
H A Dlgc.c919 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()
H A Dlstate.h219 #define gettotalbytes(g) ((g)->totalbytes + (g)->GCdebt) macro
H A Dlstate.c230 lua_assert(gettotalbytes(g) == sizeof(LG)); in close_state()
H A Dlapi.c1041 res = cast_int(gettotalbytes(g) >> 10); in lua_gc()
1045 res = cast_int(gettotalbytes(g) & 0x3ff); in lua_gc()
/freebsd-12.1/contrib/lua/src/
H A Dlstate.c99 l_mem tb = gettotalbytes(g); in luaE_setdebt()
250 lua_assert(gettotalbytes(g) == sizeof(LG)); in close_state()
H A Dlstate.h243 #define gettotalbytes(g) cast(lu_mem, (g)->totalbytes + (g)->GCdebt) macro
H A Dlgc.c947 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()
H A Dlapi.c1061 res = cast_int(gettotalbytes(g) >> 10); in lua_gc()
1065 res = cast_int(gettotalbytes(g) & 0x3ff); in lua_gc()