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

/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/
H A Dlstate.h219 #define gettotalbytes(g) ((g)->totalbytes + (g)->GCdebt) macro
H A Dlgc.c919 debt = -cast(l_mem, threshold - gettotalbytes(g));
958 g->GCestimate = gettotalbytes(g);
1122 g->GCestimate = gettotalbytes(g); /* update control */
1128 if (gettotalbytes(g) > (estimate / 100) * g->gcmajorinc)
1134 setpause(g, gettotalbytes(g));
1213 setpause(g, gettotalbytes(g));
H A Dlstate.c230 lua_assert(gettotalbytes(g) == sizeof(LG));
H A Dlapi.c1041 res = cast_int(gettotalbytes(g) >> 10);
1045 res = cast_int(gettotalbytes(g) & 0x3ff);
/freebsd-11-stable/contrib/lua/src/
H A Dlstate.h243 #define gettotalbytes(g) cast(lu_mem, (g)->totalbytes + (g)->GCdebt) macro
H A Dlstate.c99 l_mem tb = gettotalbytes(g);
250 lua_assert(gettotalbytes(g) == sizeof(LG));
H A Dlgc.c947 debt = gettotalbytes(g) - threshold;
1067 g->GCestimate = gettotalbytes(g); /* first estimate */;
1171 lua_assert(g->GCestimate == gettotalbytes(g));
H A Dlapi.c1061 res = cast_int(gettotalbytes(g) >> 10);
1065 res = cast_int(gettotalbytes(g) & 0x3ff);

Completed in 220 milliseconds