Home
last modified time | relevance | path

Searched refs:gcrunning (Results 1 – 6 of 6) sorted by relevance

/illumos-gate/usr/src/uts/common/fs/zfs/lua/
H A Dlmem.c81 if (nsize > realosize && g->gcrunning) in luaM_realloc_()
88 if (g->gcrunning) { in luaM_realloc_()
H A Dlstate.c192 g->gcrunning = 1; /* allow gc */ in f_luaopen()
284 g->gcrunning = 0; /* no GC while building state */ in lua_newstate()
H A Dllimits.h305 ((void)(!(G(L)->gcrunning) || (luaC_fullgc(L, 0), 1)))
H A Dlstate.h125 lu_byte gcrunning; /* true if GC is running */ member
H A Dlgc.c818 int running = g->gcrunning; in GCTM()
820 g->gcrunning = 0; /* avoid GC steps */ in GCTM()
826 g->gcrunning = running; /* restore state */ in GCTM()
1179 if (g->gcrunning) luaC_forcestep(L); in luaC_step()
H A Dlapi.c1027 g->gcrunning = 0; in lua_gc()
1032 g->gcrunning = 1; in lua_gc()
1055 if (g->gcrunning) in lua_gc()
1080 res = g->gcrunning; in lua_gc()