Lines Matching refs:ldr
29 const void *llext_loaded_sect_ptr(struct llext_loader *ldr, struct llext *ext, unsigned int sh_ndx);
32 static inline const char *llext_string(const struct llext_loader *ldr, const struct llext *ext, in llext_string() argument
38 static inline uintptr_t llext_get_reloc_instruction_location(struct llext_loader *ldr, in llext_get_reloc_instruction_location() argument
43 return (uintptr_t) llext_loaded_sect_ptr(ldr, ext, shndx) + rela->r_offset; in llext_get_reloc_instruction_location()
46 static inline const char *llext_section_name(const struct llext_loader *ldr, in llext_section_name() argument
50 return llext_string(ldr, ext, LLEXT_MEM_SHSTRTAB, shdr->sh_name); in llext_section_name()
53 static inline const char *llext_symbol_name(const struct llext_loader *ldr, in llext_symbol_name() argument
58 return llext_section_name(ldr, ext, ext->sect_hdrs + sym->st_shndx); in llext_symbol_name()
60 return llext_string(ldr, ext, LLEXT_MEM_STRTAB, sym->st_name); in llext_symbol_name()
67 int llext_lookup_symbol(struct llext_loader *ldr, struct llext *ext, uintptr_t *link_addr,
74 int llext_read_symbol(struct llext_loader *ldr, struct llext *ext, const elf_rela_t *rel,