| /Linux-v5.10/arch/mips/vdso/ |
| D | genvdso.h | 13 uint16_t sh_count, sh_entsize, i; in FUNC() local 17 sh_entsize = swap_uint16(ehdr->e_shentsize); in FUNC() 19 shdr = shdrs + (sh_entsize * swap_uint16(ehdr->e_shstrndx)); in FUNC() 23 shdr = shdrs + (i * sh_entsize); in FUNC() 51 shdr->sh_entsize = shdr->sh_size; in FUNC() 65 uint16_t sh_count, sh_entsize, st_count, st_entsize, i, j; in FUNC() local 71 sh_entsize = swap_uint16(ehdr->e_shentsize); in FUNC() 74 shdr = shdrs + (i * sh_entsize); in FUNC() 97 st_entsize = FUNC(swap_uint)(shdr->sh_entsize); in FUNC() 101 shdr = shdrs + (swap_uint32(shdr->sh_link) * sh_entsize); in FUNC()
|
| /Linux-v5.10/tools/perf/util/ |
| D | genelf.c | 194 shdr->sh_entsize = 0; in jit_add_eh_frame_info() 228 shdr->sh_entsize = 0; in jit_add_eh_frame_info() 316 shdr->sh_entsize = 0; in jit_write_elf() 361 shdr->sh_entsize = 0; in jit_write_elf() 397 shdr->sh_entsize = sizeof(Elf_Sym); in jit_write_elf() 440 shdr->sh_entsize = 0; in jit_write_elf() 484 shdr->sh_entsize = 0; in jit_write_elf()
|
| D | genelf_debug.c | 531 shdr->sh_entsize = 0; in jit_add_debug_info() 565 shdr->sh_entsize = 0; in jit_add_debug_info() 599 shdr->sh_entsize = 0; in jit_add_debug_info()
|
| D | symbol-elf.c | 352 nr_rel_entries = shdr_rel_plt.sh_size / shdr_rel_plt.sh_entsize; in dso__synthesize_plt_symbols() 376 plt_header_size = shdr_plt.sh_entsize; in dso__synthesize_plt_symbols() 377 plt_entry_size = shdr_plt.sh_entsize; in dso__synthesize_plt_symbols() 1119 nr_syms = shdr.sh_size / shdr.sh_entsize; in dso__load_sym()
|
| /Linux-v5.10/scripts/ |
| D | recordmcount.h | 312 mcsec.sh_entsize = _w(_size); in append_func() 327 mcsec.sh_entsize = _w(rel_entsize); in append_func() 409 unsigned rel_entsize = _w(relhdr->sh_entsize); in sift_rel_mcount() 456 unsigned rel_entsize = _w(relhdr->sh_entsize); in nop_mcount() 522 unsigned const nsym = _w(symhdr->sh_size) / _w(symhdr->sh_entsize); in find_secsym_ndx() 670 rel_entsize = _w(relhdr->sh_entsize); in do_func()
|
| D | insert-sys-cert.c | 144 n = symtab->sh_size / symtab->sh_entsize; in find_elf_symbol()
|
| /Linux-v5.10/arch/sparc/vdso/ |
| D | vdso2c.h | 80 i < GET_BE(&symtab_hdr->sh_size) / GET_BE(&symtab_hdr->sh_entsize); in BITSFUNC() 85 GET_BE(&symtab_hdr->sh_entsize) * i; in BITSFUNC()
|
| /Linux-v5.10/arch/x86/entry/vdso/ |
| D | vdso2c.h | 88 syms_nr = GET_LE(&symtab_hdr->sh_size) / GET_LE(&symtab_hdr->sh_entsize); in BITSFUNC() 93 GET_LE(&symtab_hdr->sh_entsize) * i; in BITSFUNC()
|
| /Linux-v5.10/include/uapi/linux/ |
| D | elf.h | 314 Elf32_Word sh_entsize; member 327 Elf64_Xword sh_entsize; /* Entry size if section holds table */ member
|
| /Linux-v5.10/arch/mips/kernel/ |
| D | vpe.c | 197 sechdrs[i].sh_entsize = ~0UL; in layout_sections() 205 || s->sh_entsize != ~0UL) in layout_sections() 207 s->sh_entsize = in layout_sections() 657 dest = v->load_addr + sechdrs[i].sh_entsize; in vpe_elfload()
|
| /Linux-v5.10/arch/powerpc/oprofile/cell/ |
| D | vma_map.c | 176 if (shdr.sh_entsize != sizeof (sym)) in create_vma_map()
|
| /Linux-v5.10/kernel/ |
| D | module.c | 2462 info->sechdrs[i].sh_entsize = ~0UL; in layout_sections() 2472 || s->sh_entsize != ~0UL in layout_sections() 2475 s->sh_entsize = get_offset(mod, &mod->core_layout.size, s, i); in layout_sections() 2505 || s->sh_entsize != ~0UL in layout_sections() 2508 s->sh_entsize = (get_offset(mod, &mod->init_layout.size, s, i) in layout_sections() 2705 || (sec->sh_entsize & INIT_OFFSET_MASK)) in is_core_symbol() 2727 symsect->sh_entsize = get_offset(mod, &mod->init_layout.size, symsect, in layout_symtab() 2754 strsect->sh_entsize = get_offset(mod, &mod->init_layout.size, strsect, in layout_symtab() 3352 if (shdr->sh_entsize & INIT_OFFSET_MASK) in move_module() 3354 + (shdr->sh_entsize & ~INIT_OFFSET_MASK); in move_module() [all …]
|
| /Linux-v5.10/tools/objtool/ |
| D | elf.c | 365 symbols_nr = symtab->sh.sh_size / symtab->sh.sh_entsize; in read_symbols() 548 for (i = 0; i < sec->sh.sh_size / sec->sh.sh_entsize; i++) { in read_relocs() 712 sec->sh.sh_entsize = entsize; in elf_create_section()
|
| /Linux-v5.10/arch/mips/boot/ |
| D | elf2ecoff.c | 217 s->sh_entsize = swab32(s->sh_entsize); in convert_elf_shdrs()
|
| /Linux-v5.10/arch/mips/boot/tools/ |
| D | relocs.c | 288 sec->shdr.sh_entsize = elf_xword_to_cpu(shdr.sh_entsize); in read_shdrs()
|
| /Linux-v5.10/arch/x86/tools/ |
| D | relocs.c | 436 sec->shdr.sh_entsize = elf_xword_to_cpu(shdr.sh_entsize); in read_shdrs()
|
| /Linux-v5.10/tools/bpf/resolve_btfids/ |
| D | main.c | 392 n = sh.sh_size / sh.sh_entsize; in symbols_collect()
|
| /Linux-v5.10/samples/bpf/ |
| D | bpf_load.c | 345 nrels = shdr->sh_size / shdr->sh_entsize; in parse_relo_and_apply()
|
| /Linux-v5.10/arch/ia64/kernel/ |
| D | module.c | 802 if (target_sec->sh_entsize == ~0UL) in apply_relocate_add()
|
| /Linux-v5.10/scripts/mod/ |
| D | modpost.c | 566 sechdrs[i].sh_entsize = TO_NATIVE(sechdrs[i].sh_entsize); in parse_elf()
|
| /Linux-v5.10/tools/lib/bpf/ |
| D | libbpf.c | 3102 n = sh.sh_size / sh.sh_entsize; in bpf_object__collect_externs() 3521 nrels = shdr->sh_size / shdr->sh_entsize; in bpf_object__collect_prog_relos() 6440 nrels = shdr->sh_size / shdr->sh_entsize; in bpf_object__collect_map_relos() 8492 nrels = shdr->sh_size / shdr->sh_entsize; in bpf_object__collect_st_ops_relos()
|