Searched refs:sh_ndx (Results 1 – 3 of 3) sorted by relevance
45 unsigned int sh_ndx; in xtensa_elf_relocate() local47 for (sh_ndx = 0; sh_ndx < ext->sect_cnt; sh_ndx++) { in xtensa_elf_relocate()48 if (ext->sect_hdrs[sh_ndx].sh_addr <= *got_entry && in xtensa_elf_relocate()50 ext->sect_hdrs[sh_ndx].sh_addr + ext->sect_hdrs[sh_ndx].sh_size) in xtensa_elf_relocate()54 if (sh_ndx == ext->sect_cnt) { in xtensa_elf_relocate()59 *got_entry += (uintptr_t)llext_loaded_sect_ptr(ldr, ext, sh_ndx) - in xtensa_elf_relocate()60 ext->sect_hdrs[sh_ndx].sh_addr; in xtensa_elf_relocate()
24 const void *llext_loaded_sect_ptr(struct llext_loader *ldr, struct llext *ext, unsigned int sh_ndx);
42 const void *llext_loaded_sect_ptr(struct llext_loader *ldr, struct llext *ext, unsigned int sh_ndx) in llext_loaded_sect_ptr() argument44 enum llext_mem mem_idx = ldr->sect_map[sh_ndx].mem_idx; in llext_loaded_sect_ptr()50 return (const uint8_t *)ext->mem[mem_idx] + ldr->sect_map[sh_ndx].offset; in llext_loaded_sect_ptr()