Home
last modified time | relevance | path

Searched refs:sh_entsize (Results 1 – 21 of 21) sorted by relevance

/Linux-v4.19/arch/mips/vdso/
Dgenvdso.h17 uint16_t sh_count, sh_entsize, i; in FUNC() local
21 sh_entsize = swap_uint16(ehdr->e_shentsize); in FUNC()
23 shdr = shdrs + (sh_entsize * swap_uint16(ehdr->e_shstrndx)); in FUNC()
27 shdr = shdrs + (i * sh_entsize); in FUNC()
55 shdr->sh_entsize = shdr->sh_size; in FUNC()
69 uint16_t sh_count, sh_entsize, st_count, st_entsize, i, j; in FUNC() local
75 sh_entsize = swap_uint16(ehdr->e_shentsize); in FUNC()
78 shdr = shdrs + (i * sh_entsize); in FUNC()
101 st_entsize = FUNC(swap_uint)(shdr->sh_entsize); in FUNC()
105 shdr = shdrs + (swap_uint32(shdr->sh_link) * sh_entsize); in FUNC()
/Linux-v4.19/tools/perf/util/
Dgenelf.c199 shdr->sh_entsize = 0; in jit_add_eh_frame_info()
233 shdr->sh_entsize = 0; in jit_add_eh_frame_info()
321 shdr->sh_entsize = 0; in jit_write_elf()
366 shdr->sh_entsize = 0; in jit_write_elf()
402 shdr->sh_entsize = sizeof(Elf_Sym); in jit_write_elf()
445 shdr->sh_entsize = 0; in jit_write_elf()
489 shdr->sh_entsize = 0; in jit_write_elf()
Dgenelf_debug.c533 shdr->sh_entsize = 0; in jit_add_debug_info()
567 shdr->sh_entsize = 0; in jit_add_debug_info()
601 shdr->sh_entsize = 0; in jit_add_debug_info()
Dsymbol-elf.c314 nr_rel_entries = shdr_rel_plt.sh_size / shdr_rel_plt.sh_entsize; in dso__synthesize_plt_symbols()
328 plt_header_size = shdr_plt.sh_entsize; in dso__synthesize_plt_symbols()
329 plt_entry_size = shdr_plt.sh_entsize; in dso__synthesize_plt_symbols()
984 nr_syms = shdr.sh_size / shdr.sh_entsize; in dso__load_sym()
/Linux-v4.19/scripts/
Drecordmcount.h228 mcsec.sh_entsize = _w(_size); in append_func()
242 mcsec.sh_entsize = _w(rel_entsize); in append_func()
318 unsigned rel_entsize = _w(relhdr->sh_entsize); in sift_rel_mcount()
364 unsigned rel_entsize = _w(relhdr->sh_entsize); in nop_mcount()
425 unsigned const nsym = _w(symhdr->sh_size) / _w(symhdr->sh_entsize); in find_secsym_ndx()
537 rel_entsize = _w(relhdr->sh_entsize); in do_func()
Dinsert-sys-cert.c144 n = symtab->sh_size / symtab->sh_entsize; in find_elf_symbol()
/Linux-v4.19/arch/powerpc/kernel/
Dkexec_elf_64.c296 size_ok = shdr->sh_entsize == sizeof(Elf_Sym); in elf_is_shdr_sane()
299 size_ok = shdr->sh_entsize == sizeof(Elf_Rela); in elf_is_shdr_sane()
302 size_ok = shdr->sh_entsize == sizeof(Elf_Dyn); in elf_is_shdr_sane()
305 size_ok = shdr->sh_entsize == sizeof(Elf_Rel); in elf_is_shdr_sane()
368 shdr->sh_entsize = elf_addr_to_cpu(ehdr, buf_shdr->sh_entsize); in elf_read_shdr()
/Linux-v4.19/arch/sparc/vdso/
Dvdso2c.h81 i < GET_BE(&symtab_hdr->sh_size) / GET_BE(&symtab_hdr->sh_entsize); in BITSFUNC()
86 GET_BE(&symtab_hdr->sh_entsize) * i; in BITSFUNC()
/Linux-v4.19/arch/x86/entry/vdso/
Dvdso2c.h91 i < GET_LE(&symtab_hdr->sh_size) / GET_LE(&symtab_hdr->sh_entsize); in BITSFUNC()
95 GET_LE(&symtab_hdr->sh_entsize) * i; in BITSFUNC()
/Linux-v4.19/include/uapi/linux/
Delf.h313 Elf32_Word sh_entsize; member
326 Elf64_Xword sh_entsize; /* Entry size if section holds table */ member
/Linux-v4.19/arch/mips/kernel/
Dvpe.c197 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-v4.19/tools/objtool/
Delf.c231 symbols_nr = symtab->sh.sh_size / symtab->sh.sh_entsize; in read_symbols()
364 for (i = 0; i < sec->sh.sh_size / sec->sh.sh_entsize; i++) { in read_relas()
516 sec->sh.sh_entsize = entsize; in elf_create_section()
/Linux-v4.19/arch/powerpc/oprofile/cell/
Dvma_map.c180 if (shdr.sh_entsize != sizeof (sym)) in create_vma_map()
/Linux-v4.19/kernel/
Dmodule.c2374 info->sechdrs[i].sh_entsize = ~0UL; in layout_sections()
2384 || s->sh_entsize != ~0UL in layout_sections()
2387 s->sh_entsize = get_offset(mod, &mod->core_layout.size, s, i); in layout_sections()
2417 || s->sh_entsize != ~0UL in layout_sections()
2420 s->sh_entsize = (get_offset(mod, &mod->init_layout.size, s, i) in layout_sections()
2603 || (sec->sh_entsize & INIT_OFFSET_MASK)) in is_core_symbol()
2625 symsect->sh_entsize = get_offset(mod, &mod->init_layout.size, symsect, in layout_symtab()
2650 strsect->sh_entsize = get_offset(mod, &mod->init_layout.size, strsect, in layout_symtab()
3183 if (shdr->sh_entsize & INIT_OFFSET_MASK) in move_module()
3185 + (shdr->sh_entsize & ~INIT_OFFSET_MASK); in move_module()
[all …]
/Linux-v4.19/arch/mips/boot/
Delf2ecoff.c217 s->sh_entsize = swab32(s->sh_entsize); in convert_elf_shdrs()
/Linux-v4.19/arch/mips/boot/tools/
Drelocs.c288 sec->shdr.sh_entsize = elf_xword_to_cpu(shdr.sh_entsize); in read_shdrs()
/Linux-v4.19/arch/x86/tools/
Drelocs.c419 sec->shdr.sh_entsize = elf_xword_to_cpu(shdr.sh_entsize); in read_shdrs()
/Linux-v4.19/samples/bpf/
Dbpf_load.c329 nrels = shdr->sh_size / shdr->sh_entsize; in parse_relo_and_apply()
/Linux-v4.19/arch/ia64/kernel/
Dmodule.c802 if (target_sec->sh_entsize == ~0UL) in apply_relocate_add()
/Linux-v4.19/scripts/mod/
Dmodpost.c505 sechdrs[i].sh_entsize = TO_NATIVE(sechdrs[i].sh_entsize); in parse_elf()
/Linux-v4.19/tools/lib/bpf/
Dlibbpf.c905 nrels = shdr->sh_size / shdr->sh_entsize; in bpf_program__collect_reloc()