Home
last modified time | relevance | path

Searched refs:allowhook (Results 1 – 10 of 10) sorted by relevance

/freebsd-13.1/sys/contrib/openzfs/module/lua/
H A Dldo.c288 if (hook && L->allowhook) { in luaD_hook()
299 L->allowhook = 0; /* cannot call hooks inside a hook */ in luaD_hook()
304 lua_assert(!L->allowhook); in luaD_hook()
305 L->allowhook = 1; in luaD_hook()
544 L->allowhook = ci->u.c.old_allowhook; in recover()
673 lu_byte old_allowhooks = L->allowhook; in luaD_pcall()
683 L->allowhook = old_allowhooks; in luaD_pcall()
H A Dlstate.h168 lu_byte allowhook; member
H A Dlgc.c816 lu_byte oldah = L->allowhook; in GCTM()
818 L->allowhook = 0; /* stop debug hooks during GC metamethod */ in GCTM()
824 L->allowhook = oldah; /* restore hooks */ in GCTM()
H A Dlstate.c211 L->allowhook = 1; in preinit_state()
H A Dlapi.c954 ci->u.c.old_allowhook = L->allowhook; in lua_pcallk()
/freebsd-13.1/contrib/lua/src/
H A Dldo.c297 if (hook && L->allowhook) { /* make sure there is a hook */ in luaD_hook()
314 L->allowhook = 0; /* cannot call hooks inside a hook */ in luaD_hook()
319 lua_assert(!L->allowhook); in luaD_hook()
320 L->allowhook = 1; in luaD_hook()
645 L->allowhook = getoah(ci->callstatus); /* restore original 'allowhook' */ in recover()
781 lu_byte old_allowhooks = L->allowhook; in luaD_pcall()
788 L->allowhook = old_allowhooks; in luaD_pcall()
H A Dlstate.h276 lu_byte allowhook; member
H A Dlgc.c908 lu_byte oldah = L->allowhook; in GCTM()
910 L->allowhook = 0; /* stop debug hooks during GC metamethod */ in GCTM()
917 L->allowhook = oldah; /* restore hooks */ in GCTM()
H A Dlstate.c263 L->allowhook = 1; in preinit_thread()
H A Dlapi.c1041 setoah(ci->callstatus, L->allowhook); /* save value of 'allowhook' */ in lua_pcallk()