Home
last modified time | relevance | path

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

/linux/tools/perf/util/
A Dsymbol-minimal.c124 ehdr.e_phentsize = bswap_16(ehdr.e_phentsize); in filename__read_build_id()
128 buf_size = ehdr.e_phentsize * ehdr.e_phnum; in filename__read_build_id()
175 ehdr.e_phentsize = bswap_16(ehdr.e_phentsize); in filename__read_build_id()
179 buf_size = ehdr.e_phentsize * ehdr.e_phnum; in filename__read_build_id()
A Dsymbol-elf.c1570 ehdr->e_phentsize = sizeof(Elf32_Phdr); in kcore__copy_hdr()
1574 ehdr->e_phentsize = sizeof(Elf64_Phdr); in kcore__copy_hdr()
/linux/tools/testing/selftests/kvm/lib/
A Delf.c84 TEST_ASSERT(hdrp->e_phentsize == sizeof(Elf64_Phdr), in elfhdr_get()
88 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/
A Delf.h65 Elf32_Half e_phentsize; member
82 Elf64_Half e_phentsize; member
/linux/arch/s390/kernel/
A Dkexec_elf.c84 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()
A Dcrash_dump.c525 ehdr->e_phentsize = sizeof(Elf64_Phdr); in ehdr_init()
/linux/kernel/
A Dkexec_elf.c65 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()
A Dkexec_file.c1307 ehdr->e_phentsize = sizeof(Elf64_Phdr); in crash_prepare_elf64_headers()
/linux/include/uapi/linux/
A Delf.h215 Elf32_Half e_phentsize; member
232 Elf64_Half e_phentsize; member
/linux/tools/testing/selftests/proc/
A Dproc-pid-vm.c88 uint16_t e_phentsize; member
178 h.e_phentsize = sizeof(struct elf64_phdr); in make_exe()
/linux/arch/mips/boot/tools/
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/
A Dremoteproc_elf_helpers.h67 ELF_GEN_FIELD_GET_SET(hdr, e_phentsize, u16) in ELF_GEN_FIELD_GET_SET()
/linux/sound/pci/mixart/
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/arch/x86/tools/
A Drelocs.c392 ehdr.e_phentsize = elf_half_to_cpu(ehdr.e_phentsize); in read_ehdr()
409 if (ehdr.e_phentsize != sizeof(Elf_Phdr)) in read_ehdr()
/linux/arch/mips/boot/
A Delf2ecoff.c179 e->e_phentsize = swab16(e->e_phentsize); in convert_elf_hdr()
/linux/tools/testing/selftests/powerpc/ptrace/
A Dcore-pkey.c225 phdr += ehdr->e_phentsize) in check_core_file()
/linux/fs/proc/
A Dvmcore.c1252 ehdr.e_phentsize != sizeof(Elf64_Phdr) || in parse_crash_elf64_headers()
1308 ehdr.e_phentsize != sizeof(Elf32_Phdr) || in parse_crash_elf32_headers()
A Dkcore.c355 .e_phentsize = sizeof(struct elf_phdr), in read_kcore()
/linux/arch/powerpc/platforms/powernv/
A Dopal-core.c372 elf->e_phentsize = cpu_to_be16(sizeof(Elf64_Phdr)); in create_opalcore()
/linux/fs/
A Dbinfmt_elf_fdpic.c146 if (params->hdr.e_phentsize != sizeof(struct elf_phdr)) in elf_fdpic_fetch_phdrs()
1254 elf->e_phentsize = sizeof(struct elf_phdr); in fill_elf_fdpic_header()
A Dbinfmt_elf.c471 if (elf_ex->e_phentsize != sizeof(struct elf_phdr)) in load_elf_phdrs()
1485 elf->e_phentsize = sizeof(struct elf_phdr); in fill_elf_header()
/linux/scripts/mod/
A Dmodpost.c515 hdr->e_phentsize = TO_NATIVE(hdr->e_phentsize); in parse_elf()
/linux/arch/powerpc/kernel/
A Dfadump.c971 elf->e_phentsize = sizeof(struct elf_phdr); in fadump_init_elfcore_header()
A Dprom_init.c1175 .e_phentsize = sizeof(Elf32_Phdr),

Completed in 63 milliseconds