Searched refs:LUAI_MAXSTACK (Results 1 - 8 of 8) sorted by relevance

/freebsd-13-stable/sys/contrib/openzfs/include/sys/lua/
H A Dluaconf.h352 @@ LUAI_MAXSTACK limits the size of the Lua stack.
358 #define LUAI_MAXSTACK 1000000 macro
360 #define LUAI_MAXSTACK 15000 macro
364 #define LUAI_FIRSTPSEUDOIDX (-LUAI_MAXSTACK - 1000)
/freebsd-13-stable/contrib/lua/src/
H A Dldo.c181 #define ERRORSTACKSIZE (LUAI_MAXSTACK + 200)
188 lua_assert(newsize <= LUAI_MAXSTACK || newsize == ERRORSTACKSIZE);
209 if (unlikely(size > LUAI_MAXSTACK)) {
221 if (newsize > LUAI_MAXSTACK) /* cannot cross the limit */
222 newsize = LUAI_MAXSTACK;
225 if (likely(newsize <= LUAI_MAXSTACK))
258 ** it is not, 'max' (limited by LUAI_MAXSTACK) will be smaller than
266 if (max > LUAI_MAXSTACK) {
267 max = LUAI_MAXSTACK; /* respect stack limit */
268 if (nsize > LUAI_MAXSTACK)
[all...]
H A Dlua.h41 ** (-LUAI_MAXSTACK is the minimum valid index; we keep some free empty
44 #define LUA_REGISTRYINDEX (-LUAI_MAXSTACK - 1000)
H A Dlapi.c108 if (inuse > LUAI_MAXSTACK - n) /* can grow without overflow? */
/freebsd-13-stable/sys/contrib/openzfs/module/lua/
H A Dldo.c227 #define ERRORSTACKSIZE (LUAI_MAXSTACK + 200)
233 lua_assert(newsize <= LUAI_MAXSTACK || newsize == ERRORSTACKSIZE);
246 if (size > LUAI_MAXSTACK) /* error after extra size? */
251 if (newsize > LUAI_MAXSTACK) newsize = LUAI_MAXSTACK;
253 if (newsize > LUAI_MAXSTACK) { /* stack overflow? */
277 if (goodsize > LUAI_MAXSTACK) goodsize = LUAI_MAXSTACK;
278 if (inuse > LUAI_MAXSTACK || /* handling stack overflow? */
H A Dlapi.c97 if (inuse > LUAI_MAXSTACK - size) /* can grow without overflow? */
/freebsd-13-stable/lib/liblua/
H A Dluaconf.h710 @@ LUAI_MAXSTACK limits the size of the Lua stack.
717 #define LUAI_MAXSTACK 1000000 macro
719 #define LUAI_MAXSTACK 15000 macro
/freebsd-13-stable/stand/liblua/
H A Dluaconf.h727 @@ LUAI_MAXSTACK limits the size of the Lua stack.
734 #define LUAI_MAXSTACK 1000000 macro
736 #define LUAI_MAXSTACK 15000 macro

Completed in 85 milliseconds