Lines Matching refs:elf_phdata
509 struct elf_phdr *elf_phdata = NULL; in load_elf_phdrs() local
526 elf_phdata = kmalloc(size, GFP_KERNEL); in load_elf_phdrs()
527 if (!elf_phdata) in load_elf_phdrs()
531 retval = elf_read(elf_file, elf_phdata, size, elf_ex->e_phoff); in load_elf_phdrs()
535 kfree(elf_phdata); in load_elf_phdrs()
536 elf_phdata = NULL; in load_elf_phdrs()
538 return elf_phdata; in load_elf_phdrs()
825 struct elf_phdr *elf_ppnt, *elf_phdata, *interp_elf_phdata = NULL; in load_elf_binary() local
855 elf_phdata = load_elf_phdrs(elf_ex, bprm->file); in load_elf_binary()
856 if (!elf_phdata) in load_elf_binary()
859 elf_ppnt = elf_phdata; in load_elf_binary()
924 elf_ppnt = elf_phdata; in load_elf_binary()
1028 for(i = 0, elf_ppnt = elf_phdata; in load_elf_binary()
1085 total_size = total_mapping_size(elf_phdata, in load_elf_binary()
1093 alignment = maximum_alignment(elf_phdata, elf_ex->e_phnum); in load_elf_binary()
1266 kfree(elf_phdata); in load_elf_binary()
1353 kfree(elf_phdata); in load_elf_binary()
1362 struct elf_phdr *elf_phdata; in load_elf_library() local
1388 elf_phdata = kmalloc(j, GFP_KERNEL); in load_elf_library()
1389 if (!elf_phdata) in load_elf_library()
1392 eppnt = elf_phdata; in load_elf_library()
1420 kfree(elf_phdata); in load_elf_library()