Lines Matching refs:sects
156 memset(ldr->sects, 0, sizeof(ldr->sects)); in llext_find_tables()
178 ldr->sects[LLEXT_MEM_SYMTAB] = *shdr; in llext_find_tables()
185 ldr->sects[LLEXT_MEM_SHSTRTAB] = *shdr; in llext_find_tables()
189 ldr->sects[LLEXT_MEM_STRTAB] = *shdr; in llext_find_tables()
199 if (!ldr->sects[LLEXT_MEM_SHSTRTAB].sh_type || in llext_find_tables()
200 !ldr->sects[LLEXT_MEM_STRTAB].sh_type || in llext_find_tables()
201 !ldr->sects[LLEXT_MEM_SYMTAB].sh_type) { in llext_find_tables()
288 elf_shdr_t *region = ldr->sects + mem_idx; in llext_map_sections()
371 elf_shdr_t *x = ldr->sects + i; in llext_map_sections()
372 elf_shdr_t *y = ldr->sects + j; in llext_map_sections()
445 ldr->sect_map[i].offset = shdr->sh_offset - ldr->sects[mem_idx].sh_offset; in llext_map_sections()
454 size_t ent_size = ldr->sects[LLEXT_MEM_SYMTAB].sh_entsize; in llext_count_export_syms()
455 size_t syms_size = ldr->sects[LLEXT_MEM_SYMTAB].sh_size; in llext_count_export_syms()
465 for (i = 0, pos = ldr->sects[LLEXT_MEM_SYMTAB].sh_offset; in llext_count_export_syms()
519 elf_shdr_t *shdr = ldr->sects + LLEXT_MEM_EXPORT; in llext_export_symbols()
550 size_t ent_size = ldr->sects[LLEXT_MEM_SYMTAB].sh_entsize; in llext_copy_symbols()
551 size_t syms_size = ldr->sects[LLEXT_MEM_SYMTAB].sh_size; in llext_copy_symbols()
558 for (i = 0, pos = ldr->sects[LLEXT_MEM_SYMTAB].sh_offset, j = 0; in llext_copy_symbols()