/openbmc/linux/tools/perf/util/ |
H A D | symbol-minimal.c | 124 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()
|
/openbmc/linux/tools/testing/selftests/kvm/lib/ |
H A D | elf.c | 83 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()
|
/openbmc/openbmc/poky/scripts/ |
H A D | relocate_sdk.py | 54 e_ehsize, e_phentsize, e_phnum, e_shentsize, e_shnum, e_shstrndx 69 e_ehsize, e_phentsize, e_phnum, e_shentsize, e_shnum, e_shstrndx =\ 80 f.seek(e_phoff + i * e_phentsize) 81 ph_hdr = f.read(e_phentsize)
|
/openbmc/linux/arch/powerpc/boot/ |
H A D | elf.h | 65 Elf32_Half e_phentsize; member 82 Elf64_Half e_phentsize; member
|
/openbmc/linux/arch/s390/kernel/ |
H A 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()
|
H A D | crash_dump.c | 466 ehdr->e_phentsize = sizeof(Elf64_Phdr); in ehdr_init()
|
/openbmc/linux/kernel/ |
H A 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()
|
/openbmc/qemu/bsd-user/ |
H A D | elfload.c | 58 bswap16s(&ehdr->e_phentsize); /* Program header table entry size */ in bswap_ehdr() 306 if (interp_elf_ex->e_phentsize != sizeof(struct elf_phdr)) { in load_elf_interp() 634 elf_phdata = (struct elf_phdr *)malloc(elf_ex.e_phentsize * elf_ex.e_phnum); in load_elf_binary() 642 elf_ex.e_phentsize * elf_ex.e_phnum); in load_elf_binary()
|
/openbmc/linux/include/uapi/linux/ |
H A D | elf.h | 219 Elf32_Half e_phentsize; member 236 Elf64_Half e_phentsize; member
|
/openbmc/u-boot/include/ |
H A D | elf.h | 101 Elf32_Half e_phentsize; /* program header entry size */ member 119 Elf64_Half e_phentsize; /* program header entry size */ member
|
/openbmc/linux/tools/testing/selftests/proc/ |
H A D | proc-pid-vm.c | 90 uint16_t e_phentsize; member 180 h.e_phentsize = sizeof(struct elf64_phdr); in make_exe()
|
/openbmc/linux/arch/mips/boot/tools/ |
H A 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()
|
/openbmc/linux/drivers/remoteproc/ |
H A D | remoteproc_elf_helpers.h | 67 ELF_GEN_FIELD_GET_SET(hdr, e_phentsize, u16) in ELF_GEN_FIELD_GET_SET()
|
/openbmc/linux/sound/pci/mixart/ |
H A D | mixart_hwdep.c | 72 __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()
|
/openbmc/qemu/scripts/ |
H A D | dump-guest-memory.py | 273 self.e_phentsize = ctypes.sizeof(get_arch_phdr(endianness, elfclass)) 302 self.e_phentsize = ctypes.sizeof(get_arch_phdr(endianness, elfclass))
|
/openbmc/linux/arch/x86/tools/ |
H A D | relocs.c | 393 ehdr.e_phentsize = elf_half_to_cpu(ehdr.e_phentsize); in read_ehdr() 410 if (ehdr.e_phentsize != sizeof(Elf_Phdr)) in read_ehdr()
|
/openbmc/linux/arch/mips/boot/ |
H A D | elf2ecoff.c | 179 e->e_phentsize = swab16(e->e_phentsize); in convert_elf_hdr()
|
/openbmc/u-boot/tools/ |
H A D | img2srec.c | 261 getPtr = ExtractWord(&elfHeader.e_phentsize, getPtr); in ConvertELF()
|
/openbmc/linux/tools/testing/selftests/powerpc/ptrace/ |
H A D | core-pkey.c | 225 phdr += ehdr->e_phentsize) in check_core_file()
|
/openbmc/qemu/include/ |
H A D | elf.h | 1509 Elf32_Half e_phentsize; member 1526 Elf64_Half e_phentsize; member
|
/openbmc/linux/fs/proc/ |
H A D | vmcore.c | 1234 ehdr.e_phentsize != sizeof(Elf64_Phdr) || in parse_crash_elf64_headers() 1290 ehdr.e_phentsize != sizeof(Elf32_Phdr) || in parse_crash_elf32_headers()
|
H A D | kcore.c | 370 .e_phentsize = sizeof(struct elf_phdr), in read_kcore_iter()
|
/openbmc/linux/arch/powerpc/platforms/powernv/ |
H A D | opal-core.c | 374 elf->e_phentsize = cpu_to_be16(sizeof(Elf64_Phdr)); in create_opalcore()
|
/openbmc/qemu/linux-user/ |
H A D | gen-vdso-elfn.c.inc | 20 bswaps(&ehdr->e_phentsize); /* Program header table entry size */
|
/openbmc/linux/fs/ |
H A D | binfmt_elf_fdpic.c | 146 if (params->hdr.e_phentsize != sizeof(struct elf_phdr)) in elf_fdpic_fetch_phdrs() 1250 elf->e_phentsize = sizeof(struct elf_phdr); in fill_elf_fdpic_header()
|