Lines Matching refs:e_shentsize
113 GET_EHDR_FIELD(ei, ehdr, e_shentsize, true); in elf_w()
117 if (ehdr->e_shoff + ehdr->e_shnum * ehdr->e_shentsize > size) { in elf_w()
119 (unsigned long) (ehdr->e_shoff + ehdr->e_shnum * ehdr->e_shentsize), in elf_w()
131 GET_EHDR_FIELD(ei, ehdr, e_shentsize, true); in elf_w()
132 unw_word_t str_soff = ehdr->e_shoff + (section * ehdr->e_shentsize); in elf_w()
134 if (str_soff + ehdr->e_shentsize > size) { in elf_w()
136 (unsigned long) (str_soff + ehdr->e_shentsize), in elf_w()
165 GET_EHDR_FIELD(ei, ehdr, e_shentsize, true); in elf_w()
242 shdr_offset += ehdr->e_shentsize; in elf_w()
277 if (soff + ehdr->e_shnum * ehdr->e_shentsize > ei->u.mapped.size) { in Elf_W()
279 (unsigned long) (soff + ehdr->e_shnum * ehdr->e_shentsize), in Elf_W()
289 Elf_W(Off) str_soff = ehdr->e_shoff + (section * ehdr->e_shentsize); in elf_w()
290 if (str_soff + ehdr->e_shentsize > ei->u.mapped.size) { in elf_w()
292 (unsigned long) (str_soff + ehdr->e_shentsize), in elf_w()
384 shdr = (Elf_W(Shdr) *) (((char *) shdr) + ehdr->e_shentsize); in elf_w()
510 shdr = (Elf_W(Shdr) *) (((char *) shdr) + ehdr->e_shentsize); in elf_w()