Lines Matching defs:stack
40 uintptr_t stack;
44 * Top-of-stack must be rounded down to STACK_ALIGN and
47 stack = (((uintptr_t)stk + stksize) & ~(STACK_ALIGN - 1)) -
52 * a page for the top page of the stack. This will cause
57 if (uucopy(frame, (void *)stack, sizeof (frame)) == 0)
58 return ((void *)stack);
66 uintptr_t stack;
72 * Clear the top stack frame.
75 if ((stack = (uintptr_t)setup_top_frame(stk, stksize, ulwp)) == NULL)
83 ucp->uc_mcontext.gregs[REG_SP] = (greg_t)(stack - STACK_BIAS);