Searched refs:e_phentsize (Results 1 – 22 of 22) sorted by relevance
119 ehdr.e_phentsize = bswap_16(ehdr.e_phentsize); in filename__read_build_id()123 buf_size = ehdr.e_phentsize * ehdr.e_phnum; in filename__read_build_id()170 ehdr.e_phentsize = bswap_16(ehdr.e_phentsize); in filename__read_build_id()174 buf_size = ehdr.e_phentsize * ehdr.e_phnum; in filename__read_build_id()
1346 ehdr->e_phentsize = sizeof(Elf32_Phdr); in kcore__copy_hdr()1350 ehdr->e_phentsize = sizeof(Elf64_Phdr); in kcore__copy_hdr()
85 TEST_ASSERT(hdrp->e_phentsize == sizeof(Elf64_Phdr), in elfhdr_get()89 hdrp->e_phentsize, sizeof(Elf64_Phdr)); in elfhdr_get()141 offset = hdr.e_phoff + (n1 * hdr.e_phentsize); in kvm_vm_elf_load()
65 Elf32_Half e_phentsize; member82 Elf64_Half e_phentsize; member
81 if (!ehdr->e_phnum || ehdr->e_phentsize != sizeof(Elf_Phdr)) in s390_elf_load()85 size += ehdr->e_phentsize * ehdr->e_phnum; in s390_elf_load()
523 ehdr->e_phentsize = sizeof(Elf64_Phdr); in ehdr_init()
214 Elf32_Half e_phentsize; member231 Elf64_Half e_phentsize; member
95 if (ehdr->e_phnum > 0 && ehdr->e_phentsize != sizeof(struct elf_phdr)) { in elf_is_ehdr_sane()187 ehdr->e_phentsize = elf16_to_cpu(ehdr, buf_ehdr->e_phentsize); in elf_read_ehdr()
1001 elf->e_phentsize = sizeof(struct elf_phdr); in fadump_init_elfcore_header()
966 .e_phentsize = sizeof(Elf32_Phdr),
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()
84 __be16 e_phentsize; member117 u32 pos = be32_to_cpu(elf_header->e_phoff) + (u32)(i * be16_to_cpu(elf_header->e_phentsize)); in mixart_load_elf()
362 ehdr.e_phentsize = elf_half_to_cpu(ehdr.e_phentsize); in read_ehdr()380 if (ehdr.e_phentsize != sizeof(Elf_Phdr)) { in read_ehdr()
179 e->e_phentsize = swab16(e->e_phentsize); in convert_elf_hdr()
225 phdr += ehdr->e_phentsize) in check_core_file()
328 .e_phentsize = sizeof(struct elf_phdr), in read_kcore()
1182 ehdr.e_phentsize != sizeof(Elf64_Phdr) || in parse_crash_elf64_headers()1238 ehdr.e_phentsize != sizeof(Elf32_Phdr) || in parse_crash_elf32_headers()
150 if (params->hdr.e_phentsize != sizeof(struct elf_phdr)) in elf_fdpic_fetch_phdrs()1311 elf->e_phentsize = sizeof(struct elf_phdr); in fill_elf_fdpic_header()
428 if (elf_ex->e_phentsize != sizeof(struct elf_phdr)) in load_elf_phdrs()1462 elf->e_phentsize = sizeof(struct elf_phdr); in fill_elf_header()
1176 ehdr->e_phentsize = sizeof(Elf64_Phdr); in crash_prepare_elf64_headers()
461 hdr->e_phentsize = TO_NATIVE(hdr->e_phentsize); in parse_elf()
1170 ehdr->e_phentsize = sizeof(*phdr); in rproc_coredump()