Lines Matching defs:stack_base
758 unsigned long stack_base;
765 stack_base = bprm->rlim_stack.rlim_max;
766 if (stack_base > STACK_SIZE_MAX)
767 stack_base = STACK_SIZE_MAX;
770 stack_base += (STACK_RND_MASK << PAGE_SHIFT);
773 if (vma->vm_end - vma->vm_start > stack_base)
776 stack_base = PAGE_ALIGN(stack_top - stack_base);
778 stack_shift = vma->vm_start - stack_base;
846 stack_base = vma->vm_start + rlim_stack;
848 stack_base = vma->vm_end + stack_expand;
851 stack_base = vma->vm_end - rlim_stack;
853 stack_base = vma->vm_start - stack_expand;
856 ret = expand_stack(vma, stack_base);