Home
last modified time | relevance | path

Searched refs:e_phentsize (Results 1 – 19 of 19) sorted by relevance

/linux/tools/perf/util/
H A Dsymbol-minimal.c135 hdrs.ehdr32.e_phentsize = bswap_16(hdrs.ehdr32.e_phentsize); in filename__read_build_id()
139 hdrs.ehdr64.e_phentsize = bswap_16(hdrs.ehdr64.e_phentsize); in filename__read_build_id()
143 if ((elf32 && hdrs.ehdr32.e_phentsize != sizeof(Elf32_Phdr)) || in filename__read_build_id()
144 (!elf32 && hdrs.ehdr64.e_phentsize != sizeof(Elf64_Phdr))) in filename__read_build_id()
H A Dsymbol-elf.c2028 ehdr->e_phentsize = sizeof(Elf32_Phdr); in kcore__copy_hdr()
2032 ehdr->e_phentsize = sizeof(Elf64_Phdr); in kcore__copy_hdr()
/linux/tools/testing/selftests/kvm/lib/
H A Delf.c83 TEST_ASSERT(hdrp->e_phentsize == sizeof(Elf64_Phdr), in elfhdr_get()
87 hdrp->e_phentsize, sizeof(Elf64_Phdr)); in elfhdr_get()
139 offset = hdr.e_phoff + (n1 * hdr.e_phentsize); in kvm_vm_elf_load()
/linux/arch/powerpc/boot/
H A Delf.h65 Elf32_Half e_phentsize; member
82 Elf64_Half e_phentsize; member
/linux/arch/s390/kernel/
H A Dkexec_elf.c86 if (!ehdr->e_phnum || ehdr->e_phentsize != sizeof(Elf_Phdr)) in s390_elf_load()
90 size += ehdr->e_phentsize * ehdr->e_phnum; in s390_elf_load()
H A Dcrash_dump.c461 ehdr->e_phentsize = sizeof(Elf64_Phdr); in ehdr_init()
/linux/arch/s390/tools/
H A Drelocs.c140 ehdr.e_phentsize = elf_half_to_cpu(ehdr.e_phentsize); in read_ehdr()
157 if (ehdr.e_phentsize != sizeof(Elf_Phdr)) in read_ehdr()
/linux/arch/mips/boot/tools/
H A Drelocs.c232 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/drivers/remoteproc/
H A Dremoteproc_elf_helpers.h67 ELF_GEN_FIELD_GET_SET(hdr, e_phentsize, u16) in ELF_GEN_FIELD_GET_SET()
/linux/sound/pci/mixart/
H A Dmixart_hwdep.c72 __be16 e_phentsize; member
105 u32 pos = be32_to_cpu(elf_header->e_phoff) + (u32)(i * be16_to_cpu(elf_header->e_phentsize)); in mixart_load_elf()
/linux/tools/testing/selftests/proc/
H A Dproc-pid-vm.c95 uint16_t e_phentsize; member
185 h.e_phentsize = sizeof(struct elf64_phdr); in make_exe()
/linux/arch/x86/tools/
H A Drelocs.c368 ehdr.e_phentsize = elf_half_to_cpu(ehdr.e_phentsize); in read_ehdr()
385 if (ehdr.e_phentsize != sizeof(Elf_Phdr)) in read_ehdr()
/linux/arch/mips/boot/
H A Delf2ecoff.c179 e->e_phentsize = swab16(e->e_phentsize); in convert_elf_hdr()
/linux/drivers/soc/qcom/
H A Dmdt_loader.c35 if (ehdr->e_phentsize != sizeof(struct elf32_phdr)) in mdt_header_valid()
/linux/kernel/
H A Dcrash_core.c211 ehdr->e_phentsize = sizeof(Elf64_Phdr); in crash_prepare_elf64_headers()
/linux/arch/powerpc/platforms/powernv/
H A Dopal-core.c374 elf->e_phentsize = cpu_to_be16(sizeof(Elf64_Phdr)); in create_opalcore()
/linux/fs/proc/
H A Dvmcore.c1234 ehdr.e_phentsize != sizeof(Elf64_Phdr) || in parse_crash_elf64_headers()
1290 ehdr.e_phentsize != sizeof(Elf32_Phdr) || in parse_crash_elf32_headers()
/linux/fs/
H A Dbinfmt_elf_fdpic.c146 if (params->hdr.e_phentsize != sizeof(struct elf_phdr)) in elf_fdpic_fetch_phdrs()
1257 elf->e_phentsize = sizeof(struct elf_phdr); in fill_elf_fdpic_header()
/linux/arch/powerpc/kernel/
H A Dfadump.c951 elf->e_phentsize = sizeof(struct elf_phdr); in fadump_init_elfcore_header()