Lines Matching refs:e_shentsize
115 GET_EHDR_FIELD(ei, ehdr, e_shentsize, true); in elf_w()
119 if (ehdr->e_shoff + ehdr->e_shnum * ehdr->e_shentsize > size) { in elf_w()
121 (unsigned long) (ehdr->e_shoff + ehdr->e_shnum * ehdr->e_shentsize), in elf_w()
133 GET_EHDR_FIELD(ei, ehdr, e_shentsize, true); in elf_w()
134 unw_word_t str_soff = ehdr->e_shoff + (section * ehdr->e_shentsize); in elf_w()
136 if (str_soff + ehdr->e_shentsize > size) { in elf_w()
138 (unsigned long) (str_soff + ehdr->e_shentsize), in elf_w()
167 GET_EHDR_FIELD(ei, ehdr, e_shentsize, true); in elf_w()
244 shdr_offset += ehdr->e_shentsize; in elf_w()
279 if (soff + ehdr->e_shnum * ehdr->e_shentsize > ei->u.mapped.size) { in Elf_W()
281 (unsigned long) (soff + ehdr->e_shnum * ehdr->e_shentsize), in Elf_W()
291 Elf_W(Off) str_soff = ehdr->e_shoff + (section * ehdr->e_shentsize); in elf_w()
292 if (str_soff + ehdr->e_shentsize > ei->u.mapped.size) { in elf_w()
294 (unsigned long) (str_soff + ehdr->e_shentsize), in elf_w()
386 shdr = (Elf_W(Shdr) *) (((char *) shdr) + ehdr->e_shentsize); in elf_w()
556 shdr = (Elf_W (Shdr) *) (((char *) shdr) + ehdr->e_shentsize); in elf_w()