Lines Matching full:stack
21 /* XXX Is there a nicer way to disable glibc's stack check for longjmp? */
47 void *stack; member
50 /* Need an unsafe stack for each coroutine */
107 if (!leaderp->stack) { in finish_switch_fiber()
108 leaderp->stack = (void *)bottom_old; in finish_switch_fiber()
167 leaderp->stack, leaderp->stack_size); in coroutine_trampoline()
190 * preserve signal masks but only works on the current stack. in qemu_coroutine_new()
191 * Since we need a way to create and switch to a new stack, use in qemu_coroutine_new()
202 co->stack = qemu_alloc_stack(&co->stack_size); in qemu_coroutine_new()
210 uc.uc_stack.ss_sp = co->stack; in qemu_coroutine_new()
216 VALGRIND_STACK_REGISTER(co->stack, co->stack + co->stack_size); in qemu_coroutine_new()
227 start_switch_fiber_asan(&fake_stack_save, co->stack, co->stack_size); in qemu_coroutine_new()
233 * Before we swap the context, set the new unsafe stack in qemu_coroutine_new()
234 * The unsafe stack grows just like the normal stack, so start from in qemu_coroutine_new()
239 * code that saves the usp on the (safe) stack before the call, and in qemu_coroutine_new()
275 start_switch_fiber_asan(NULL, to->stack, to->stack_size); in terminate_asan()
295 qemu_free_stack(co->stack, co->stack_size); in qemu_coroutine_delete()
326 to->stack, to->stack_size); in qemu_coroutine_switch()