Lines Matching refs:stack_len
431 unsigned long text_len, data_len, bss_len, stack_len, flags; in load_flat_file() local
447 stack_len = ntohl(hdr->stack_size); in load_flat_file()
449 stack_len += *extra_stack; in load_flat_file()
450 *extra_stack = stack_len; in load_flat_file()
531 extra = max_t(unsigned long, bss_len + stack_len, in load_flat_file()
579 (int)(data_len + bss_len + stack_len), (int)datapos); in load_flat_file()
692 current->mm->context.end_brk = memp + memp_size - stack_len; in load_flat_file()
799 (memp + memp_size - stack_len - /* end brk */ in load_flat_file()
801 stack_len); in load_flat_file()
864 unsigned long stack_len; in load_flat_binary() local
879 stack_len = TOP_OF_ARGS - bprm->p; /* the strings */ in load_flat_binary()
880 stack_len += (bprm->argc + 1) * sizeof(char *); /* the argv array */ in load_flat_binary()
881 stack_len += (bprm->envc + 1) * sizeof(char *); /* the envp array */ in load_flat_binary()
882 stack_len += FLAT_STACK_ALIGN - 1; /* reserve for upcoming alignment */ in load_flat_binary()
884 res = load_flat_file(bprm, &libinfo, 0, &stack_len); in load_flat_binary()
901 p = ((current->mm->context.end_brk + stack_len + 3) & ~3) - 4; in load_flat_binary()