Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/common/fs/zfs/lua/
H A Dldo.c404 if (!allowyield) L->nny++; in luaD_call()
407 if (!allowyield) L->nny--; in luaD_call()
416 lua_assert(L->nny == 0); in finishCcall()
541 int oldnny = L->nny; /* save 'nny' */ in lua_resume()
545 L->nny = 0; /* allow yields */ in lua_resume()
563 L->nny = oldnny; /* restore 'nny' */ in lua_resume()
576 if (L->nny > 0) { in lua_yieldk()
604 unsigned short old_nny = L->nny; in luaD_pcall()
614 L->nny = old_nny; in luaD_pcall()
670 L->nny++; /* cannot yield during parsing */ in luaD_protectedparser()
[all …]
H A Dlstate.h164 unsigned short nny; /* number of non-yieldable calls in stack */ member
H A Dlstate.c215 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()