Lines Matching refs:interp_elf_ex

592 static unsigned long load_elf_interp(struct elfhdr *interp_elf_ex,  in load_elf_interp()  argument
607 if (interp_elf_ex->e_type != ET_EXEC && in load_elf_interp()
608 interp_elf_ex->e_type != ET_DYN) in load_elf_interp()
610 if (!elf_check_arch(interp_elf_ex) || in load_elf_interp()
611 elf_check_fdpic(interp_elf_ex)) in load_elf_interp()
617 interp_elf_ex->e_phnum); in load_elf_interp()
624 for (i = 0; i < interp_elf_ex->e_phnum; i++, eppnt++) { in load_elf_interp()
633 if (interp_elf_ex->e_type == ET_EXEC || load_addr_set) in load_elf_interp()
635 else if (no_base && interp_elf_ex->e_type == ET_DYN) in load_elf_interp()
646 interp_elf_ex->e_type == ET_DYN) { in load_elf_interp()
842 struct elfhdr *interp_elf_ex = NULL; in load_elf_binary() local
911 interp_elf_ex = kmalloc(sizeof(*interp_elf_ex), GFP_KERNEL); in load_elf_binary()
912 if (!interp_elf_ex) { in load_elf_binary()
918 retval = elf_read(interpreter, interp_elf_ex, in load_elf_binary()
919 sizeof(*interp_elf_ex), 0); in load_elf_binary()
953 if (memcmp(interp_elf_ex->e_ident, ELFMAG, SELFMAG) != 0) in load_elf_binary()
956 if (!elf_check_arch(interp_elf_ex) || in load_elf_binary()
957 elf_check_fdpic(interp_elf_ex)) in load_elf_binary()
961 interp_elf_phdata = load_elf_phdrs(interp_elf_ex, in load_elf_binary()
969 for (i = 0; i < interp_elf_ex->e_phnum; i++, elf_ppnt++) in load_elf_binary()
976 retval = arch_elf_pt_proc(interp_elf_ex, in load_elf_binary()
996 !!interpreter, interp_elf_ex, in load_elf_binary()
1250 elf_entry = load_elf_interp(interp_elf_ex, in load_elf_binary()
1260 elf_entry += interp_elf_ex->e_entry; in load_elf_binary()
1272 kfree(interp_elf_ex); in load_elf_binary()
1355 kfree(interp_elf_ex); in load_elf_binary()