Home
last modified time | relevance | path

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

/Zephyr-Core-3.7.0/subsys/llext/
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()
88 const uintptr_t sect_alloc = ROUND_UP(ldr->sects[mem_idx].sh_size, LLEXT_PAGE_SIZE); in llext_copy_section()
93 while (sect_alloc < ldr->sects[mem_idx].sh_size) { in llext_copy_section()
110 memset(ext->mem[mem_idx], 0, ldr->sects[mem_idx].sh_size); in llext_copy_section()
117 ret = llext_read(ldr, ext->mem[mem_idx], ldr->sects[mem_idx].sh_size); in llext_copy_section()
Dllext_load.c158 (size_t)shdr->sh_size, in llext_find_tables()
239 shdr->sh_size == 0) { in llext_map_sections()
292 size_t top_ofs = MAX(region->sh_offset + region->sh_size, in llext_map_sections()
293 shdr->sh_offset + shdr->sh_size); in llext_map_sections()
297 region->sh_size = top_ofs - bot_ofs; in llext_map_sections()
310 if (x->sh_type == SHT_NULL || x->sh_size == 0 || in llext_map_sections()
311 y->sh_type == SHT_NULL || y->sh_size == 0) { in llext_map_sections()
321 x->sh_addr + x->sh_size > y->sh_addr) || in llext_map_sections()
323 y->sh_addr + y->sh_size > x->sh_addr)) { in llext_map_sections()
326 i, (size_t)x->sh_addr, (size_t)x->sh_size, in llext_map_sections()
[all …]
Dllext_link.c49 ldr->sects[i].sh_addr + ldr->sects[i].sh_size > offset) in llext_file_offset()
58 unsigned int sh_cnt = shdr->sh_size / shdr->sh_entsize; in llext_link_plt()
70 unsigned int sym_cnt = sym_shdr->sh_size / sym_shdr->sh_entsize; in llext_link_plt()
209 shdr->sh_size % shdr->sh_entsize != 0) { in llext_link()
213 (size_t)shdr->sh_size, in llext_link()
218 rel_cnt = shdr->sh_size / shdr->sh_entsize; in llext_link()
/Zephyr-Core-3.7.0/include/zephyr/llext/
Delf.h163 elf32_word sh_size; member
189 elf64_xword sh_size; member
/Zephyr-Core-3.7.0/scripts/build/
Dgen_app_partitions.py130 partitions[partition_name] = {SZ: section.header.sh_size}
136 partitions[partition_name][SZ] += section.header.sh_size