Searched refs:l_mem (Results 1 - 9 of 9) sorted by relevance

/freebsd-12-stable/contrib/lua/src/
H A Dllimits.h18 ** 'lu_mem' and 'l_mem' are unsigned/signed integers big enough to count
24 typedef LUAI_MEM l_mem; typedef
27 typedef ptrdiff_t l_mem; typedef
30 typedef long l_mem; typedef
48 #define MAX_LMEM ((l_mem)(MAX_LUMEM >> 1))
H A Dlstate.h140 l_mem totalbytes; /* number of bytes currently allocated - GCdebt */
141 l_mem GCdebt; /* bytes allocated not yet compensated by the collector */
245 LUAI_FUNC void luaE_setdebt (global_State *g, l_mem debt);
H A Dlgc.c780 l_mem olddebt = g->GCdebt;
941 l_mem threshold, debt;
942 l_mem estimate = g->GCestimate / PAUSEADJ; /* adjust 'estimate' */
982 static l_mem atomic (lua_State *L) {
984 l_mem work;
1032 l_mem olddebt = g->GCdebt;
1115 static l_mem getdebt (global_State *g) {
1116 l_mem debt = g->GCdebt;
1131 l_mem debt = getdebt(g); /* GC deficit (be paid now) */
H A Dlstate.c98 void luaE_setdebt (global_State *g, l_mem debt) {
99 l_mem tb = gettotalbytes(g);
H A Dlapi.c1069 l_mem debt = 1; /* =1 to signal that it did an actual step */
1077 debt = cast(l_mem, data) * 1024 + g->GCdebt;
/freebsd-12-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/
H A Dlstate.h116 l_mem GCdebt; /* bytes allocated not yet compensated by the collector */
221 LUAI_FUNC void luaE_setdebt (global_State *g, l_mem debt);
H A Dllimits.h20 typedef LUAI_MEM l_mem; typedef
32 #define MAX_LMEM ((l_mem) ((MAX_LUMEM >> 1) - 2))
H A Dlgc.c913 static void setpause (global_State *g, l_mem estimate) {
914 l_mem debt, threshold;
919 debt = -cast(l_mem, threshold - gettotalbytes(g));
999 static l_mem atomic (lua_State *L) {
1001 l_mem work = -cast(l_mem, g->GCmemtrav); /* start counting work */
1141 l_mem debt = g->GCdebt;
H A Dlstate.c104 void luaE_setdebt (global_State *g, l_mem debt) {

Completed in 71 milliseconds