Lines Matching refs:elf_phdata
460 struct elf_phdr *elf_phdata = NULL; in load_elf_phdrs() local
477 elf_phdata = kmalloc(size, GFP_KERNEL); in load_elf_phdrs()
478 if (!elf_phdata) in load_elf_phdrs()
482 retval = elf_read(elf_file, elf_phdata, size, elf_ex->e_phoff); in load_elf_phdrs()
492 kfree(elf_phdata); in load_elf_phdrs()
493 elf_phdata = NULL; in load_elf_phdrs()
495 return elf_phdata; in load_elf_phdrs()
826 struct elf_phdr *elf_ppnt, *elf_phdata, *interp_elf_phdata = NULL; in load_elf_binary() local
857 elf_phdata = load_elf_phdrs(elf_ex, bprm->file); in load_elf_binary()
858 if (!elf_phdata) in load_elf_binary()
861 elf_ppnt = elf_phdata; in load_elf_binary()
926 elf_ppnt = elf_phdata; in load_elf_binary()
1030 for(i = 0, elf_ppnt = elf_phdata; in load_elf_binary()
1114 alignment = maximum_alignment(elf_phdata, elf_ex->e_phnum); in load_elf_binary()
1130 total_size = total_mapping_size(elf_phdata, in load_elf_binary()
1256 kfree(elf_phdata); in load_elf_binary()
1336 kfree(elf_phdata); in load_elf_binary()
1345 struct elf_phdr *elf_phdata; in load_elf_library() local
1372 elf_phdata = kmalloc(j, GFP_KERNEL); in load_elf_library()
1373 if (!elf_phdata) in load_elf_library()
1376 eppnt = elf_phdata; in load_elf_library()
1419 kfree(elf_phdata); in load_elf_library()