Lines Matching refs:sh_entsize
148 unsigned int sh_cnt = shdr->sh_size / shdr->sh_entsize; in llext_link_plt()
157 shdr->sh_type, (size_t)shdr->sh_entsize, sh_cnt, (void *)text); in llext_link_plt()
160 unsigned int sym_cnt = sym_shdr->sh_size / sym_shdr->sh_entsize; in llext_link_plt()
165 int ret = llext_seek(ldr, shdr->sh_offset + i * shdr->sh_entsize); in llext_link_plt()
287 if (shdr->sh_entsize != sizeof(elf_rel_t)) { in llext_link()
289 (size_t)shdr->sh_entsize, i); in llext_link()
298 if (shdr->sh_entsize != sizeof(elf_rela_t)) { in llext_link()
300 (size_t)shdr->sh_entsize, i); in llext_link()
310 shdr->sh_size % shdr->sh_entsize != 0) { in llext_link()
315 (size_t)shdr->sh_entsize); in llext_link()
319 rel_cnt = shdr->sh_size / shdr->sh_entsize; in llext_link()
362 ret = llext_seek(ldr, shdr->sh_offset + j * shdr->sh_entsize); in llext_link()
367 ret = llext_read(ldr, &rel, shdr->sh_entsize); in llext_link()