Searched refs:goodsize (Results 1 - 2 of 2) sorted by relevance

/freebsd-12-stable/contrib/lua/src/
H A Dldo.c223 int goodsize = inuse + (inuse / 8) + 2*EXTRA_STACK; local
224 if (goodsize > LUAI_MAXSTACK)
225 goodsize = LUAI_MAXSTACK; /* respect stack limit */
233 goodsize < L->stacksize)
234 luaD_reallocstack(L, goodsize);
/freebsd-12-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/
H A Dldo.c217 int goodsize = inuse + (inuse / 8) + 2*EXTRA_STACK; local
218 if (goodsize > LUAI_MAXSTACK) goodsize = LUAI_MAXSTACK;
220 goodsize >= L->stacksize) /* would grow instead of shrink? */
223 luaD_reallocstack(L, goodsize); /* shrink it */

Completed in 107 milliseconds