/Linux-v5.4/tools/perf/util/ |
D | symbol-minimal.c | 122 ehdr.e_phentsize = bswap_16(ehdr.e_phentsize); in filename__read_build_id() 126 buf_size = ehdr.e_phentsize * ehdr.e_phnum; in filename__read_build_id() 173 ehdr.e_phentsize = bswap_16(ehdr.e_phentsize); in filename__read_build_id() 177 buf_size = ehdr.e_phentsize * ehdr.e_phnum; in filename__read_build_id()
|
D | symbol-elf.c | 1391 ehdr->e_phentsize = sizeof(Elf32_Phdr); in kcore__copy_hdr() 1395 ehdr->e_phentsize = sizeof(Elf64_Phdr); in kcore__copy_hdr()
|
/Linux-v5.4/tools/testing/selftests/kvm/lib/ |
D | elf.c | 84 TEST_ASSERT(hdrp->e_phentsize == sizeof(Elf64_Phdr), in elfhdr_get() 88 hdrp->e_phentsize, sizeof(Elf64_Phdr)); in elfhdr_get() 140 offset = hdr.e_phoff + (n1 * hdr.e_phentsize); in kvm_vm_elf_load()
|
/Linux-v5.4/arch/powerpc/boot/ |
D | elf.h | 65 Elf32_Half e_phentsize; member 82 Elf64_Half e_phentsize; member
|
/Linux-v5.4/arch/s390/kernel/ |
D | kexec_elf.c | 84 if (!ehdr->e_phnum || ehdr->e_phentsize != sizeof(Elf_Phdr)) in s390_elf_load() 88 size += ehdr->e_phentsize * ehdr->e_phnum; in s390_elf_load()
|
D | crash_dump.c | 525 ehdr->e_phentsize = sizeof(Elf64_Phdr); in ehdr_init()
|
/Linux-v5.4/kernel/ |
D | kexec_elf.c | 65 if (ehdr->e_phnum > 0 && ehdr->e_phentsize != sizeof(struct elf_phdr)) { in elf_is_ehdr_sane() 154 ehdr->e_phentsize = elf16_to_cpu(ehdr, buf_ehdr->e_phentsize); in elf_read_ehdr()
|
D | kexec_file.c | 1284 ehdr->e_phentsize = sizeof(Elf64_Phdr); in crash_prepare_elf64_headers()
|
/Linux-v5.4/include/uapi/linux/ |
D | elf.h | 214 Elf32_Half e_phentsize; member 231 Elf64_Half e_phentsize; member
|
/Linux-v5.4/tools/testing/selftests/proc/ |
D | proc-pid-vm.c | 88 uint16_t e_phentsize; member 178 h.e_phentsize = sizeof(struct elf64_phdr); in make_exe()
|
/Linux-v5.4/arch/mips/boot/tools/ |
D | relocs.c | 232 ehdr.e_phentsize = elf_half_to_cpu(ehdr.e_phentsize); in read_ehdr() 250 if (ehdr.e_phentsize != sizeof(Elf_Phdr)) in read_ehdr()
|
/Linux-v5.4/sound/pci/mixart/ |
D | mixart_hwdep.c | 71 __be16 e_phentsize; member 104 u32 pos = be32_to_cpu(elf_header->e_phoff) + (u32)(i * be16_to_cpu(elf_header->e_phentsize)); in mixart_load_elf()
|
/Linux-v5.4/arch/x86/tools/ |
D | relocs.c | 365 ehdr.e_phentsize = elf_half_to_cpu(ehdr.e_phentsize); in read_ehdr() 382 if (ehdr.e_phentsize != sizeof(Elf_Phdr)) in read_ehdr()
|
/Linux-v5.4/arch/mips/boot/ |
D | elf2ecoff.c | 179 e->e_phentsize = swab16(e->e_phentsize); in convert_elf_hdr()
|
/Linux-v5.4/tools/testing/selftests/powerpc/ptrace/ |
D | core-pkey.c | 225 phdr += ehdr->e_phentsize) in check_core_file()
|
/Linux-v5.4/arch/powerpc/platforms/powernv/ |
D | opal-core.c | 371 elf->e_phentsize = cpu_to_be16(sizeof(Elf64_Phdr)); in create_opalcore()
|
/Linux-v5.4/fs/proc/ |
D | kcore.c | 351 .e_phentsize = sizeof(struct elf_phdr), in read_kcore()
|
D | vmcore.c | 1209 ehdr.e_phentsize != sizeof(Elf64_Phdr) || in parse_crash_elf64_headers() 1265 ehdr.e_phentsize != sizeof(Elf32_Phdr) || in parse_crash_elf32_headers()
|
/Linux-v5.4/fs/ |
D | binfmt_elf_fdpic.c | 146 if (params->hdr.e_phentsize != sizeof(struct elf_phdr)) in elf_fdpic_fetch_phdrs() 1307 elf->e_phentsize = sizeof(struct elf_phdr); in fill_elf_fdpic_header()
|
D | binfmt_elf.c | 428 if (elf_ex->e_phentsize != sizeof(struct elf_phdr)) in load_elf_phdrs() 1443 elf->e_phentsize = sizeof(struct elf_phdr); in fill_elf_header()
|
/Linux-v5.4/arch/powerpc/kernel/ |
D | fadump.c | 863 elf->e_phentsize = sizeof(struct elf_phdr); in fadump_init_elfcore_header()
|
D | prom_init.c | 1117 .e_phentsize = sizeof(Elf32_Phdr),
|
/Linux-v5.4/scripts/mod/ |
D | modpost.c | 521 hdr->e_phentsize = TO_NATIVE(hdr->e_phentsize); in parse_elf()
|
/Linux-v5.4/drivers/remoteproc/ |
D | remoteproc_core.c | 1604 ehdr->e_phentsize = sizeof(*phdr); in rproc_coredump()
|