Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/lua/src/
H A Dldo.c163 static void correctstack (lua_State *L, StkId oldstack, StkId newstack) { in correctstack() argument
166 if (oldstack == newstack) in correctstack()
168 L->top = (L->top - oldstack) + newstack; in correctstack()
170 up->v = s2v((uplevel(up) - oldstack) + newstack); in correctstack()
172 ci->top = (ci->top - oldstack) + newstack; in correctstack()
173 ci->func = (ci->func - oldstack) + newstack; in correctstack()
186 StkId newstack = luaM_reallocvector(L, L->stack, in luaD_reallocstack() local
189 if (unlikely(newstack == NULL)) { /* reallocation failed? */ in luaD_reallocstack()
195 setnilvalue(s2v(newstack + lim + EXTRA_STACK)); /* erase new segment */ in luaD_reallocstack()
196 correctstack(L, L->stack, newstack); in luaD_reallocstack()
[all …]
H A Dlcode.c475 int newstack = fs->freereg + n; in luaK_checkstack() local
476 if (newstack > fs->f->maxstacksize) { in luaK_checkstack()
477 if (newstack >= MAXREGS) in luaK_checkstack()
480 fs->f->maxstacksize = cast_byte(newstack); in luaK_checkstack()
/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_rtl.cpp581 uptr *newstack = (uptr*)internal_alloc(MBlockShadowStack, in GrowShadowStack() local
583 internal_memcpy(newstack, thr->shadow_stack, sz * sizeof(uptr)); in GrowShadowStack()
585 thr->shadow_stack = newstack; in GrowShadowStack()
586 thr->shadow_stack_pos = newstack + sz; in GrowShadowStack()
587 thr->shadow_stack_end = newstack + newsz; in GrowShadowStack()
/freebsd-13.1/sys/contrib/openzfs/module/lua/
H A Dlcode.c264 int newstack = fs->freereg + n; in luaK_checkstack() local
265 if (newstack > fs->f->maxstacksize) { in luaK_checkstack()
266 if (newstack >= MAXSTACK) in luaK_checkstack()
268 fs->f->maxstacksize = cast_byte(newstack); in luaK_checkstack()