Home
last modified time | relevance | path

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

/freebsd/contrib/lua/src/
H A Dllimits.h24 typedef LUAI_UMEM lu_mem; typedef
27 typedef size_t lu_mem; typedef
30 typedef unsigned long lu_mem; typedef
48 #define MAX_LUMEM ((lu_mem)(~(lu_mem)0))
H A Dlgc.c108 static lu_mem atomic (lua_State *L);
345 static lu_mem markbeingfnz (global_State *g) { in markbeingfnz()
347 lu_mem count = 0; in markbeingfnz()
658 static lu_mem propagatemark (global_State *g) { in propagatemark()
674 static lu_mem propagateall (global_State *g) { in propagateall()
675 lu_mem tot = 0; in propagateall()
1328 lu_mem numobjs; in entergen()
1523 static lu_mem atomic (lua_State *L) { in atomic()
1525 lu_mem work = 0; in atomic()
1583 static lu_mem singlestep (lua_State *L) { in singlestep()
[all …]
H A Dlstate.h259 lu_mem GCestimate; /* an estimate of the non-garbage memory in use */
260 lu_mem lastatomic; /* see function 'genstep' in file 'lgc.c' */
394 #define gettotalbytes(g) cast(lu_mem, (g)->totalbytes + (g)->GCdebt)
H A Dltests.c534 static lu_mem checkgraylist (global_State *g, GCObject *o) { in checkgraylist()
563 static lu_mem checkgrays (global_State *g) { in checkgrays()
580 static void incifingray (global_State *g, GCObject *o, lu_mem *count) { in incifingray()
597 static lu_mem checklist (global_State *g, int maybedead, int tof, in checklist()
600 lu_mem total = 0; /* number of object that should be in gray lists */ in checklist()
629 lu_mem totalin; /* total of objects that are in gray lists */ in lua_checkmemory()
630 lu_mem totalshould; /* total of objects that should be in gray lists */ in lua_checkmemory()
/freebsd/sys/contrib/openzfs/module/lua/
H A Dllimits.h16 typedef LUAI_UMEM lu_mem; typedef
28 #define MAX_LUMEM ((lu_mem)(~(lu_mem)0)-2)
40 #define IntPoint(p) ((unsigned int)(lu_mem)(p))
H A Dlgc.c242 lu_mem size; in reallymarkobject()
432 static lu_mem traversetable (global_State *g, Table *h) { in traversetable()
477 static lu_mem traverseCclosure (global_State *g, CClosure *cl) { in traverseCclosure()
484 static lu_mem traverseLclosure (global_State *g, LClosure *cl) { in traverseLclosure()
493 static lu_mem traversestack (global_State *g, lua_State *th) { in traversestack()
520 lu_mem size; in propagatemark()
1038 static lu_mem singlestep (lua_State *L) { in singlestep()
1051 lu_mem oldtrav = g->GCmemtrav; in singlestep()
1056 lu_mem work; in singlestep()
1123 lu_mem estimate = g->GCestimate; in generationalcollection()
[all …]
H A Dlstate.h115 lu_mem totalbytes; /* number of bytes currently allocated - GCdebt */
117 lu_mem GCmemtrav; /* memory traversed by the GC */
118 lu_mem GCestimate; /* an estimate of the non-garbage memory in use */
H A Dlapi.c1053 lu_mem debt = cast(lu_mem, data) * 1024 - GCSTEPSIZE; in lua_gc()