Lines Matching refs:stack
317 * first argument to execve() stored on the user stack.
382 * state so that the interpreter can be saved onto the stack.
945 /* Set the stack */
953 /* Adjust the stack */
1715 * Allocate a big chunk for locals instead of using stack since these
2244 * TODO: Dynamic linker header address on stack is copied via suword()
2286 * TODO: Dynamic linker header address on stack is copied via suword()
2303 /* Allocate a big chunk for locals instead of using stack since these
2452 * on a preinitialized stack frame.
2455 * int * a pointer to the stack offset variable
2461 * (*stackp) The stack offset, modified
2464 * of the top of the stack to consume the minimal amount of
2465 * space possible; the returned stack pointer points to the
2471 * The stack frame layout is:
2519 * which preceed it on the stack are properly aligned.
2534 user_addr_t stack;
2580 stack = *stackp;
2591 /* Grow the stack down for the strings we've been building up */
2593 stack -= string_size;
2594 string_area = stack;
2602 stack -= ptr_area_size;
2603 ptr_area = stack;
2614 stack -= ptr_size;
2615 argc_area = stack;
2626 /* Return the initial stack address: the location of argc */
2627 *stackp = stack;
2952 * Libc has an 8-element array set up for stack guard values. It only fills
3385 * Description: Set the user stack address for the process to the provided
3386 * address. If a custom stack was not set as a result of the
3388 * executable), then allocate the stack in the provided map and
3390 * limits on stack growth, if they end up being needed.
3392 * Parameters: p Process to set stack on
3394 * map Address map in which to allocate the new stack
3415 * Allocate enough space for the maximum stack size we
3417 * a guard page for stack overflows. For default stacks,
3447 * And prevent access to what's above the current stack
3643 * process address space (at the top or bottom of the stack,
3644 * depending on which way the stack grows; see the function