Home
last modified time | relevance | path

Searched refs:nny (Results 1 – 4 of 4) sorted by relevance

/freebsd/sys/contrib/openzfs/module/lua/
H A Dldo.c489 if (!allowyield) L->nny++; in luaD_call()
492 if (!allowyield) L->nny--; in luaD_call()
501 lua_assert(L->nny == 0); in finishCcall()
560 L->nny = 0; /* should be zero to be yieldable */ in recover()
626 int oldnny = L->nny; /* save 'nny' */ in lua_resume()
630 L->nny = 0; /* allow yields */ in lua_resume()
648 L->nny = oldnny; /* restore 'nny' */ in lua_resume()
661 if (L->nny > 0) { in lua_yieldk()
689 unsigned short old_nny = L->nny; in luaD_pcall()
699 L->nny = old_nny; in luaD_pcall()
[all …]
H A Dlstate.h165 unsigned short nny; /* number of non-yieldable calls in stack */ member
H A Dlstate.c214 L->nny = 1; in preinit_state()
H A Dlapi.c898 if (k != NULL && L->nny == 0) { /* need to prepare continuation? */ in lua_callk()
946 if (k == NULL || L->nny > 0) { /* no continuation or no yieldable? */ in lua_pcallk()