Lines Matching refs:sh_size
170 (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()
408 i, (size_t)x->sh_addr, (size_t)x->sh_size, in llext_map_sections()
409 j, (size_t)y->sh_addr, (size_t)y->sh_size); in llext_map_sections()
424 x->sh_offset + x->sh_size > y->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()
455 size_t syms_size = ldr->sects[LLEXT_MEM_SYMTAB].sh_size; in llext_count_export_syms()
523 if (shdr->sh_size < sizeof(struct llext_symbol)) { in llext_export_symbols()
530 exp_tab->sym_cnt = shdr->sh_size / sizeof(struct llext_symbol); in llext_export_symbols()
551 size_t syms_size = ldr->sects[LLEXT_MEM_SYMTAB].sh_size; in llext_copy_symbols()