Home
last modified time | relevance | path

Searched refs:LUAI_MAXSTACK (Results 1 – 3 of 3) sorted by relevance

/illumos-gate/usr/src/uts/common/fs/zfs/lua/
H A Dluaconf.h355 #define LUAI_MAXSTACK 1000000 macro
357 #define LUAI_MAXSTACK 15000 macro
361 #define LUAI_FIRSTPSEUDOIDX (-LUAI_MAXSTACK - 1000)
H A Dldo.c162 #define ERRORSTACKSIZE (LUAI_MAXSTACK + 200)
168 lua_assert(newsize <= LUAI_MAXSTACK || newsize == ERRORSTACKSIZE); in luaD_reallocstack()
181 if (size > LUAI_MAXSTACK) /* error after extra size? */ in luaD_growstack()
186 if (newsize > LUAI_MAXSTACK) newsize = LUAI_MAXSTACK; in luaD_growstack()
188 if (newsize > LUAI_MAXSTACK) { /* stack overflow? */ in luaD_growstack()
212 if (goodsize > LUAI_MAXSTACK) goodsize = LUAI_MAXSTACK; in luaD_shrinkstack()
213 if (inuse > LUAI_MAXSTACK || /* handling stack overflow? */ in luaD_shrinkstack()
H A Dlapi.c99 if (inuse > LUAI_MAXSTACK - size) /* can grow without overflow? */ in lua_checkstack()