Home
last modified time | relevance | path

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

/Zephyr-latest/subsys/llext/
Dllext_load.c174 (size_t)shdr->sh_size, in llext_find_tables()
215 #define REGION_TOP(reg, field) (size_t)(reg->field + reg->sh_size - 1)
284 shdr->sh_size == 0) { in llext_map_sections()
294 shdr->sh_size % shdr->sh_entsize != 0) { in llext_map_sections()
377 size_t top_ofs = MAX(region->sh_offset + region->sh_size, in llext_map_sections()
378 shdr->sh_offset + shdr->sh_size); in llext_map_sections()
383 region->sh_size = top_ofs - bot_ofs; in llext_map_sections()
407 if (region->sh_type == SHT_NULL || region->sh_size == 0) { in llext_map_sections()
424 region->sh_size += prepad; in llext_map_sections()
437 if (x->sh_type == SHT_NULL || x->sh_size == 0 || in llext_map_sections()
[all …]
Dllext_link.c57 ldr->sects[i].sh_addr + ldr->sects[i].sh_size > offset) { in llext_file_offset()
234 unsigned int sh_cnt = shdr->sh_size / shdr->sh_entsize; in llext_link_plt()
246 unsigned int sym_cnt = sym_shdr->sh_size / sym_shdr->sh_entsize; in llext_link_plt()
403 shdr->sh_size % shdr->sh_entsize != 0) { in llext_link()
407 (size_t)shdr->sh_size, in llext_link()
412 rel_cnt = shdr->sh_size / shdr->sh_entsize; in llext_link()
533 sys_cache_data_flush_range(base, shdr->sh_size); in llext_link()
534 sys_cache_instr_invd_range(base, shdr->sh_size); in llext_link()
Dllext_mem.c66 uintptr_t region_alloc = region->sh_size; in llext_copy_region()
148 memset(ext->mem[mem_idx], 0, region->sh_size); in llext_copy_region()
152 size_t length = region->sh_size; in llext_copy_region()
/Zephyr-latest/tests/subsys/llext/src/
Dtest_llext.c352 (sect_hdr->sh_offset + sect_hdr->sh_size <= in do_inspect_checks()
353 reg_hdr->sh_offset + reg_hdr->sh_size), in do_inspect_checks()
359 sym_addr < reg_addr + sect_offset + sect_hdr->sh_size, in do_inspect_checks()
569 zassert_true(text_region->sh_offset >= detached_shdr.sh_offset + detached_shdr.sh_size || in ZTEST()
570 detached_shdr.sh_offset >= text_region->sh_offset + text_region->sh_size); in ZTEST()
/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.c55 ext->sect_hdrs[sh_ndx].sh_addr + ext->sect_hdrs[sh_ndx].sh_size) in xtensa_elf_relocate()
/Zephyr-latest/arch/riscv/core/
Delf.c95 const elf_word rel_cnt = shdr->sh_size / shdr->sh_entsize; in llext_riscv_find_sym_pcrel()