Searched refs:e_phentsize (Results 1 - 25 of 25) sorted by relevance

/linux-master/tools/testing/selftests/kvm/lib/
H A Delf.c83 TEST_ASSERT(hdrp->e_phentsize == sizeof(Elf64_Phdr),
85 " hdrp->e_phentsize: %x\n"
87 hdrp->e_phentsize, sizeof(Elf64_Phdr));
134 * e_phentsize - Size of each program header
139 offset = hdr.e_phoff + (n1 * hdr.e_phentsize);
/linux-master/tools/perf/util/
H A Dsymbol-minimal.c124 ehdr.e_phentsize = bswap_16(ehdr.e_phentsize);
128 buf_size = ehdr.e_phentsize * ehdr.e_phnum;
176 ehdr.e_phentsize = bswap_16(ehdr.e_phentsize);
180 buf_size = ehdr.e_phentsize * ehdr.e_phnum;
H A Dsymbol-elf.c2080 ehdr->e_phentsize = sizeof(Elf32_Phdr);
2084 ehdr->e_phentsize = sizeof(Elf64_Phdr);
/linux-master/arch/powerpc/boot/
H A Delf.h65 Elf32_Half e_phentsize; member in struct:elf32_hdr
82 Elf64_Half e_phentsize; member in struct:elf64_hdr
/linux-master/arch/s390/kernel/
H A Dkexec_elf.c86 if (!ehdr->e_phnum || ehdr->e_phentsize != sizeof(Elf_Phdr))
90 size += ehdr->e_phentsize * ehdr->e_phnum;
H A Dcrash_dump.c467 ehdr->e_phentsize = sizeof(Elf64_Phdr);
/linux-master/kernel/
H A Dkexec_elf.c65 if (ehdr->e_phnum > 0 && ehdr->e_phentsize != sizeof(struct elf_phdr)) {
154 ehdr->e_phentsize = elf16_to_cpu(ehdr, buf_ehdr->e_phentsize);
H A Dcrash_core.c203 ehdr->e_phentsize = sizeof(Elf64_Phdr);
/linux-master/arch/s390/tools/
H A Drelocs.c140 ehdr.e_phentsize = elf_half_to_cpu(ehdr.e_phentsize);
157 if (ehdr.e_phentsize != sizeof(Elf_Phdr))
/linux-master/drivers/remoteproc/
H A Dremoteproc_elf_helpers.h67 ELF_GEN_FIELD_GET_SET(hdr, e_phentsize, u16)
/linux-master/include/uapi/linux/
H A Delf.h219 Elf32_Half e_phentsize; member in struct:elf32_hdr
236 Elf64_Half e_phentsize; member in struct:elf64_hdr
/linux-master/arch/mips/boot/tools/
H A Drelocs.c232 ehdr.e_phentsize = elf_half_to_cpu(ehdr.e_phentsize);
250 if (ehdr.e_phentsize != sizeof(Elf_Phdr))
/linux-master/sound/pci/mixart/
H A Dmixart_hwdep.c72 __be16 e_phentsize; member in struct:snd_mixart_elf32_ehdr
105 u32 pos = be32_to_cpu(elf_header->e_phoff) + (u32)(i * be16_to_cpu(elf_header->e_phentsize));
/linux-master/tools/testing/selftests/proc/
H A Dproc-pid-vm.c90 uint16_t e_phentsize; member in struct:elf64_hdr
180 h.e_phentsize = sizeof(struct elf64_phdr);
/linux-master/arch/mips/boot/
H A Delf2ecoff.c179 e->e_phentsize = swab16(e->e_phentsize);
/linux-master/tools/testing/selftests/powerpc/ptrace/
H A Dcore-pkey.c225 phdr += ehdr->e_phentsize)
/linux-master/arch/x86/tools/
H A Drelocs.c393 ehdr.e_phentsize = elf_half_to_cpu(ehdr.e_phentsize);
410 if (ehdr.e_phentsize != sizeof(Elf_Phdr))
/linux-master/arch/powerpc/platforms/powernv/
H A Dopal-core.c374 elf->e_phentsize = cpu_to_be16(sizeof(Elf64_Phdr));
/linux-master/fs/proc/
H A Dkcore.c356 .e_phentsize = sizeof(struct elf_phdr),
H A Dvmcore.c1229 ehdr.e_phentsize != sizeof(Elf64_Phdr) ||
1285 ehdr.e_phentsize != sizeof(Elf32_Phdr) ||
/linux-master/fs/
H A Dbinfmt_elf.c517 if (elf_ex->e_phentsize != sizeof(struct elf_phdr))
1442 elf->e_phentsize = sizeof(struct elf_phdr);
H A Dbinfmt_elf_fdpic.c146 if (params->hdr.e_phentsize != sizeof(struct elf_phdr))
1254 elf->e_phentsize = sizeof(struct elf_phdr);
/linux-master/scripts/mod/
H A Dmodpost.c456 hdr->e_phentsize = TO_NATIVE(hdr->e_phentsize);
/linux-master/arch/powerpc/kernel/
H A Dfadump.c991 elf->e_phentsize = sizeof(struct elf_phdr);
H A Dprom_init.c1179 .e_phentsize = sizeof(Elf32_Phdr),

Completed in 743 milliseconds