Home
last modified time | relevance | path

Searched refs:sh_size (Results 1 – 7 of 7) sorted by relevance

/Zephyr-latest/subsys/llext/
Dllext_load.c170 (size_t)shdr->sh_size, in llext_find_tables()
267 shdr->sh_size == 0) { in llext_map_sections()
277 shdr->sh_size % shdr->sh_entsize != 0) { 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()
361 region->sh_size = top_ofs - bot_ofs; in llext_map_sections()
374 if (x->sh_type == SHT_NULL || x->sh_size == 0 || in llext_map_sections()
375 y->sh_type == SHT_NULL || y->sh_size == 0) { in llext_map_sections()
403 x->sh_addr + x->sh_size > y->sh_addr) || in llext_map_sections()
405 y->sh_addr + y->sh_size > x->sh_addr)) { in llext_map_sections()
[all …]
Dllext_mem.c66 if (!ldr->sects[mem_idx].sh_size) { in llext_copy_section()
69 ext->mem_size[mem_idx] = ldr->sects[mem_idx].sh_size; in llext_copy_section()
77 ldr->sects[mem_idx].sh_size); in llext_copy_section()
101 const uintptr_t sect_alloc = ROUND_UP(ldr->sects[mem_idx].sh_size, LLEXT_PAGE_SIZE); in llext_copy_section()
106 while (sect_alloc < ldr->sects[mem_idx].sh_size) { in llext_copy_section()
123 memset(ext->mem[mem_idx], 0, ldr->sects[mem_idx].sh_size); in llext_copy_section()
130 ret = llext_read(ldr, ext->mem[mem_idx], ldr->sects[mem_idx].sh_size); in llext_copy_section()
Dllext_link.c57 ldr->sects[i].sh_addr + ldr->sects[i].sh_size > offset) { in llext_file_offset()
148 unsigned int sh_cnt = shdr->sh_size / shdr->sh_entsize; in llext_link_plt()
160 unsigned int sym_cnt = sym_shdr->sh_size / sym_shdr->sh_entsize; in llext_link_plt()
310 shdr->sh_size % shdr->sh_entsize != 0) { in llext_link()
314 (size_t)shdr->sh_size, in llext_link()
319 rel_cnt = shdr->sh_size / shdr->sh_entsize; in llext_link()
488 sys_cache_data_flush_range(base, shdr->sh_size); in llext_link()
489 sys_cache_instr_invd_range(base, shdr->sh_size); in llext_link()
/Zephyr-latest/include/zephyr/llext/
Delf.h163 elf32_word sh_size; member
189 elf64_xword sh_size; member
/Zephyr-latest/scripts/build/
Dgen_app_partitions.py130 partitions[partition_name] = {SZ: section.header.sh_size}
136 partitions[partition_name][SZ] += section.header.sh_size
/Zephyr-latest/arch/xtensa/core/
Delf.c50 ext->sect_hdrs[sh_ndx].sh_addr + ext->sect_hdrs[sh_ndx].sh_size) in xtensa_elf_relocate()
/Zephyr-latest/tests/subsys/llext/src/
Dtest_llext.c482 zassert_true(text_region->sh_offset >= detached_shdr.sh_offset + detached_shdr.sh_size || in ZTEST()
483 detached_shdr.sh_offset >= text_region->sh_offset + text_region->sh_size); in ZTEST()