Home
last modified time | relevance | path

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

/freebsd-13.1/sys/contrib/openzfs/module/lua/
H A Dldo.c195 unsigned short oldnCcalls = L->nCcalls; in luaD_rawrunprotected()
204 L->nCcalls = oldnCcalls; in luaD_rawrunprotected()
463 if (++L->nCcalls >= LUAI_MAXCCALLS) { in luaD_call()
464 if (L->nCcalls == LUAI_MAXCCALLS) in luaD_call()
478 L->nCcalls--; in luaD_call()
571 int nCcalls = L->nCcalls; in resume_cb() local
574 if (nCcalls >= LUAI_MAXCCALLS) in resume_cb()
605 lua_assert(nCcalls == L->nCcalls); in resume_cb()
614 L->nCcalls = (from) ? from->nCcalls + 1 : 1; in lua_resume()
634 L->nCcalls--; in lua_resume()
[all …]
H A Dlstate.h166 unsigned short nCcalls; /* number of nested C calls */ member
H A Dlstate.c207 L->nCcalls = 0; in preinit_state()
H A Dlparser.c330 ++L->nCcalls; in enterlevel()
331 checklimit(ls->fs, L->nCcalls, LUAI_MAXCCALLS, "C levels"); in enterlevel()
335 #define leavelevel(ls) ((ls)->L->nCcalls--)
1149 checklimit(ls->fs, nvars + ls->L->nCcalls, LUAI_MAXCCALLS, in assignment()
/freebsd-13.1/contrib/lua/src/
H A Dlstate.h99 #define yieldable(L) (((L)->nCcalls & 0xffff0000) == 0)
102 #define getCcalls(L) ((L)->nCcalls & 0xffff)
106 #define incnny(L) ((L)->nCcalls += 0x10000)
109 #define decnny(L) ((L)->nCcalls -= 0x10000)
290 l_uint32 nCcalls; /* number of nested (non-yieldable | C) calls */ member
H A Dlstate.c174 L->nCcalls++; in luaE_incCstack()
302 L1->nCcalls = 0; in lua_newthread()
363 L->nCcalls = 0; in lua_newstate()
H A Dldo.c142 l_uint32 oldnCcalls = L->nCcalls; in luaD_rawrunprotected()
151 L->nCcalls = oldnCcalls; in luaD_rawrunprotected()
543 L->nCcalls += inc; in ccall()
550 L->nCcalls -= inc; in ccall()
713 L->nCcalls = (from) ? getCcalls(from) : 0; in lua_resume()
H A Dlparser.c495 #define leavelevel(ls) ((ls)->L->nCcalls--)