Searched refs:e_phentsize (Results 1 – 18 of 18) sorted by relevance
135 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()
2030 ehdr->e_phentsize = sizeof(Elf32_Phdr); in kcore__copy_hdr() 2034 ehdr->e_phentsize = sizeof(Elf64_Phdr); in kcore__copy_hdr()
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()
65 Elf32_Half e_phentsize; member82 Elf64_Half e_phentsize; member
86 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()
461 ehdr->e_phentsize = sizeof(Elf64_Phdr); in ehdr_init()
140 ehdr.e_phentsize = elf_half_to_cpu(ehdr.e_phentsize); in read_ehdr()157 if (ehdr.e_phentsize != sizeof(Elf_Phdr)) in read_ehdr()
233 ehdr.e_phentsize = elf_half_to_cpu(ehdr.e_phentsize); in read_ehdr()251 if (ehdr.e_phentsize != sizeof(Elf_Phdr)) in read_ehdr()
67 ELF_GEN_FIELD_GET_SET(hdr, e_phentsize, u16) in ELF_GEN_FIELD_GET_SET()
72 __be16 e_phentsize; member105 u32 pos = be32_to_cpu(elf_header->e_phoff) + (u32)(i * be16_to_cpu(elf_header->e_phentsize)); in mixart_load_elf()
95 uint16_t e_phentsize; member185 h.e_phentsize = sizeof(struct elf64_phdr); in make_exe()
368 ehdr.e_phentsize = elf_half_to_cpu(ehdr.e_phentsize); in read_ehdr()385 if (ehdr.e_phentsize != sizeof(Elf_Phdr)) in read_ehdr()
179 e->e_phentsize = swab16(e->e_phentsize); in convert_elf_hdr()
367 .e_phentsize = sizeof(struct elf_phdr), in read_kcore_iter()
146 if (params->hdr.e_phentsize != sizeof(struct elf_phdr)) in elf_fdpic_fetch_phdrs()1263 elf->e_phentsize = sizeof(struct elf_phdr); in fill_elf_fdpic_header()
531 if (elf_ex->e_phentsize != sizeof(struct elf_phdr)) in load_elf_phdrs()1454 elf->e_phentsize = sizeof(struct elf_phdr); in fill_elf_header()
463 hdr->e_phentsize = TO_NATIVE(hdr->e_phentsize); in parse_elf()
1179 .e_phentsize = sizeof(Elf32_Phdr),