Lines Matching refs:stack_size
171 params->stack_size = phdr->p_memsz; in elf_fdpic_fetch_phdrs()
187 unsigned long stack_size, entryaddr; in load_elf_fdpic_binary() local
315 stack_size = exec_params.stack_size; in load_elf_fdpic_binary()
323 if (stack_size == 0) { in load_elf_fdpic_binary()
324 stack_size = interp_params.stack_size; in load_elf_fdpic_binary()
334 if (stack_size == 0) in load_elf_fdpic_binary()
335 stack_size = 131072UL; /* same as exec.c's default commit */ in load_elf_fdpic_binary()
412 stack_size = (stack_size + PAGE_SIZE - 1) & PAGE_MASK; in load_elf_fdpic_binary()
413 if (stack_size < PAGE_SIZE * 2) in load_elf_fdpic_binary()
414 stack_size = PAGE_SIZE * 2; in load_elf_fdpic_binary()
421 current->mm->start_brk = vm_mmap(NULL, 0, stack_size, stack_prot, in load_elf_fdpic_binary()
434 current->mm->start_stack = current->mm->start_brk + stack_size; in load_elf_fdpic_binary()