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

/freebsd-13-stable/contrib/lua/src/
H A Dldo.c163 static void correctstack (lua_State *L, StkId oldstack, StkId newstack) { argument
166 if (oldstack == newstack)
168 L->top = (L->top - oldstack) + newstack;
170 up->v = s2v((uplevel(up) - oldstack) + newstack);
172 ci->top = (ci->top - oldstack) + newstack;
173 ci->func = (ci->func - oldstack) + newstack;
186 StkId newstack = luaM_reallocvector(L, L->stack, local
189 if (unlikely(newstack == NULL)) { /* reallocation failed? */
195 setnilvalue(s2v(newstack + lim + EXTRA_STACK)); /* erase new segment */
196 correctstack(L, L->stack, newstack);
[all...]
H A Dlcode.c475 int newstack = fs->freereg + n; local
476 if (newstack > fs->f->maxstacksize) {
477 if (newstack >= MAXREGS)
480 fs->f->maxstacksize = cast_byte(newstack);
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_rtl.cpp541 uptr *newstack = (uptr*)internal_alloc(MBlockShadowStack, local
543 internal_memcpy(newstack, thr->shadow_stack, sz * sizeof(uptr));
545 thr->shadow_stack = newstack;
546 thr->shadow_stack_pos = newstack + sz;
547 thr->shadow_stack_end = newstack + newsz;
/freebsd-13-stable/sys/contrib/openzfs/module/lua/
H A Dlcode.c260 int newstack = fs->freereg + n; local
261 if (newstack > fs->f->maxstacksize) {
262 if (newstack >= MAXSTACK)
264 fs->f->maxstacksize = cast_byte(newstack);

Completed in 180 milliseconds