Lines Matching refs:sh_offset
165 (size_t)shdr->sh_offset, in llext_find_tables()
343 shdr->sh_offset - region->sh_offset) { in llext_map_sections()
355 size_t bot_ofs = MIN(region->sh_offset, shdr->sh_offset); in llext_map_sections()
356 size_t top_ofs = MAX(region->sh_offset + region->sh_size, in llext_map_sections()
357 shdr->sh_offset + shdr->sh_size); in llext_map_sections()
360 region->sh_offset = bot_ofs; in llext_map_sections()
423 if ((x->sh_offset <= y->sh_offset && in llext_map_sections()
424 x->sh_offset + x->sh_size > y->sh_offset) || in llext_map_sections()
425 (y->sh_offset <= x->sh_offset && in llext_map_sections()
426 y->sh_offset + y->sh_size > x->sh_offset)) { in llext_map_sections()
429 i, (size_t)x->sh_offset, (size_t)x->sh_size, in llext_map_sections()
430 j, (size_t)y->sh_offset, (size_t)y->sh_size); in llext_map_sections()
445 ldr->sect_map[i].offset = shdr->sh_offset - ldr->sects[mem_idx].sh_offset; in llext_map_sections()
465 for (i = 0, pos = ldr->sects[LLEXT_MEM_SYMTAB].sh_offset; in llext_count_export_syms()
558 for (i = 0, pos = ldr->sects[LLEXT_MEM_SYMTAB].sh_offset, j = 0; in llext_copy_symbols()
604 base = llext_peek(ldr, shdr->sh_offset); in llext_copy_symbols()