Home
last modified time | relevance | path

Searched refs:sh_entsize (Results 1 - 25 of 49) sorted by relevance

12

/kernel/linux/linux-5.10/arch/mips/vdso/
H A Dgenvdso.h13 uint16_t sh_count, sh_entsize, i; in patch_vdso() local
17 sh_entsize = swap_uint16(ehdr->e_shentsize); in patch_vdso()
19 shdr = shdrs + (sh_entsize * swap_uint16(ehdr->e_shstrndx)); in patch_vdso()
23 shdr = shdrs + (i * sh_entsize); in patch_vdso()
51 shdr->sh_entsize = shdr->sh_size; in patch_vdso()
65 uint16_t sh_count, sh_entsize, st_count, st_entsize, i, j; in get_symbols() local
71 sh_entsize = swap_uint16(ehdr->e_shentsize); in get_symbols()
74 shdr = shdrs + (i * sh_entsize); in get_symbols()
97 st_entsize = FUNC(swap_uint)(shdr->sh_entsize); in get_symbols()
101 shdr = shdrs + (swap_uint32(shdr->sh_link) * sh_entsize); in get_symbols()
[all...]
/kernel/linux/linux-6.6/arch/mips/vdso/
H A Dgenvdso.h13 uint16_t sh_count, sh_entsize, i; in patch_vdso() local
17 sh_entsize = swap_uint16(ehdr->e_shentsize); in patch_vdso()
19 shdr = shdrs + (sh_entsize * swap_uint16(ehdr->e_shstrndx)); in patch_vdso()
23 shdr = shdrs + (i * sh_entsize); in patch_vdso()
51 shdr->sh_entsize = shdr->sh_size; in patch_vdso()
65 uint16_t sh_count, sh_entsize, st_count, st_entsize, i, j; in get_symbols() local
71 sh_entsize = swap_uint16(ehdr->e_shentsize); in get_symbols()
74 shdr = shdrs + (i * sh_entsize); in get_symbols()
97 st_entsize = FUNC(swap_uint)(shdr->sh_entsize); in get_symbols()
101 shdr = shdrs + (swap_uint32(shdr->sh_link) * sh_entsize); in get_symbols()
[all...]
/kernel/linux/linux-5.10/tools/perf/util/
H A Dgenelf.c198 shdr->sh_entsize = 0; in jit_add_eh_frame_info()
232 shdr->sh_entsize = 0; in jit_add_eh_frame_info()
334 shdr->sh_entsize = 0; in jit_write_elf()
379 shdr->sh_entsize = 0; in jit_write_elf()
415 shdr->sh_entsize = sizeof(Elf_Sym); in jit_write_elf()
458 shdr->sh_entsize = 0; in jit_write_elf()
502 shdr->sh_entsize = 0; in jit_write_elf()
H A Dgenelf_debug.c531 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()
/kernel/linux/linux-6.6/tools/perf/util/
H A Dgenelf.c200 shdr->sh_entsize = 0; in jit_add_eh_frame_info()
234 shdr->sh_entsize = 0; in jit_add_eh_frame_info()
336 shdr->sh_entsize = 0; in jit_write_elf()
382 shdr->sh_entsize = 0; in jit_write_elf()
418 shdr->sh_entsize = sizeof(Elf_Sym); in jit_write_elf()
461 shdr->sh_entsize = 0; in jit_write_elf()
505 shdr->sh_entsize = 0; in jit_write_elf()
H A Dgenelf_debug.c542 shdr->sh_entsize = 0; in jit_add_debug_info()
576 shdr->sh_entsize = 0; in jit_add_debug_info()
610 shdr->sh_entsize = 0; in jit_add_debug_info()
H A Dsymbol-elf.c459 *plt_entry_size = shdr_plt->sh_entsize; in get_plt_sizes()
466 *plt_header_size = shdr_plt->sh_entsize; in get_plt_sizes()
467 *plt_entry_size = shdr_plt->sh_entsize; in get_plt_sizes()
546 if (!scn || !rela_dyn_shdr.sh_link || !rela_dyn_shdr.sh_entsize) in get_rela_dyn_info()
549 di->nr_entries = rela_dyn_shdr.sh_size / rela_dyn_shdr.sh_entsize; in get_rela_dyn_info()
644 if (!scn || !shdr.sh_entsize) in dso__synthesize_plt_got_symbols()
650 for (i = 0; i < shdr.sh_size; i += shdr.sh_entsize) { in dso__synthesize_plt_got_symbols()
653 sym = symbol__new(shdr.sh_offset + i, shdr.sh_entsize, STB_GLOBAL, STT_FUNC, buf); in dso__synthesize_plt_got_symbols()
788 ri.nr_entries = shdr_rel_plt.sh_size / shdr_rel_plt.sh_entsize; in dso__synthesize_plt_symbols()
1551 nr_syms = shdr.sh_size / shdr.sh_entsize; in dso__load_sym_internal()
[all...]
/kernel/linux/linux-5.10/scripts/
H A Drecordmcount.h317 mcsec.sh_entsize = _w(_size); in append_func()
332 mcsec.sh_entsize = _w(rel_entsize); in append_func()
414 unsigned rel_entsize = _w(relhdr->sh_entsize); in sift_rel_mcount()
461 unsigned rel_entsize = _w(relhdr->sh_entsize); in nop_mcount()
527 unsigned const nsym = _w(symhdr->sh_size) / _w(symhdr->sh_entsize); in find_secsym_ndx()
675 rel_entsize = _w(relhdr->sh_entsize); in do_func()
/kernel/linux/linux-6.6/scripts/
H A Drecordmcount.h317 mcsec.sh_entsize = _w(_size); in append_func()
332 mcsec.sh_entsize = _w(rel_entsize); in append_func()
414 unsigned rel_entsize = _w(relhdr->sh_entsize); in sift_rel_mcount()
461 unsigned rel_entsize = _w(relhdr->sh_entsize); in nop_mcount()
527 unsigned const nsym = _w(symhdr->sh_size) / _w(symhdr->sh_entsize); in find_secsym_ndx()
675 rel_entsize = _w(relhdr->sh_entsize); in do_func()
/kernel/linux/linux-5.10/arch/sparc/vdso/
H A Dvdso2c.h80 i < GET_BE(&symtab_hdr->sh_size) / GET_BE(&symtab_hdr->sh_entsize); in go()
85 GET_BE(&symtab_hdr->sh_entsize) * i; in go()
/kernel/linux/linux-6.6/arch/sparc/vdso/
H A Dvdso2c.h80 i < GET_BE(&symtab_hdr->sh_size) / GET_BE(&symtab_hdr->sh_entsize); in go()
85 GET_BE(&symtab_hdr->sh_entsize) * i; in go()
/kernel/linux/linux-6.6/tools/objtool/include/objtool/
H A Delf.h195 return sec->sh.sh_size / sec->sh.sh_entsize; in sec_num_entries()
207 return rsec->data->d_buf + (reloc_idx(reloc) * rsec->sh.sh_entsize); in reloc_rel()
218 return reloc->sec->sh.sh_entsize < 16; in is_32bit_reloc()
/kernel/linux/linux-6.6/tools/lib/bpf/
H A Dlinker.c377 sec->shdr->sh_entsize = 0; in init_output_elf()
417 sec->shdr->sh_entsize = sizeof(Elf64_Sym); in init_output_elf()
769 if (sec->shdr->sh_entsize != sizeof(Elf64_Sym)) in linker_sanity_check_elf_symtab()
771 if (sec->shdr->sh_size % sec->shdr->sh_entsize != 0) in linker_sanity_check_elf_symtab()
786 n = sec->shdr->sh_size / sec->shdr->sh_entsize; in linker_sanity_check_elf_symtab()
843 if (sec->shdr->sh_entsize != sizeof(Elf64_Rel)) in linker_sanity_check_elf_relos()
845 if (sec->shdr->sh_size % sec->shdr->sh_entsize != 0) in linker_sanity_check_elf_relos()
883 n = sec->shdr->sh_size / sec->shdr->sh_entsize; in linker_sanity_check_elf_relos()
1023 shdr->sh_entsize = src_sec->shdr->sh_entsize; in init_sec()
[all...]
/kernel/linux/linux-5.10/arch/x86/entry/vdso/
H A Dvdso2c.h88 syms_nr = GET_LE(&symtab_hdr->sh_size) / GET_LE(&symtab_hdr->sh_entsize); in go()
93 GET_LE(&symtab_hdr->sh_entsize) * i; in go()
/kernel/linux/linux-6.6/arch/mips/kernel/
H A Dvpe.c180 sizes, and place the offsets into sh_entsize fields: high bit means it
197 sechdrs[i].sh_entsize = ~0UL; in layout_sections()
208 || s->sh_entsize != ~0UL) in layout_sections()
210 s->sh_entsize = in layout_sections()
656 dest = v->load_addr + sechdrs[i].sh_entsize; in vpe_elfload()
/kernel/linux/linux-6.6/kernel/module/
H A Dkallsyms.c95 type = sec->sh_entsize >> SH_ENTSIZE_TYPE_SHIFT; in is_core_symbol()
124 symsect->sh_entsize = module_get_offset_and_type(mod, MOD_INIT_DATA, in layout_symtab()
151 strsect->sh_entsize = module_get_offset_and_type(mod, MOD_INIT_DATA, in layout_symtab()
/kernel/linux/linux-5.10/include/uapi/linux/
H A Delf.h317 Elf32_Word sh_entsize; member
330 Elf64_Xword sh_entsize; /* Entry size if section holds table */ member
/kernel/linux/linux-6.6/include/uapi/linux/
H A Delf.h318 Elf32_Word sh_entsize; member
331 Elf64_Xword sh_entsize; /* Entry size if section holds table */ member
/kernel/linux/linux-6.6/arch/x86/entry/vdso/
H A Dvdso2c.h125 syms_nr = GET_LE(&symtab_hdr->sh_size) / GET_LE(&symtab_hdr->sh_entsize); in go()
130 GET_LE(&symtab_hdr->sh_entsize) * i; in go()
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
H A Delf.h267 Elf32_Word sh_entsize; member
279 Elf64_Xword sh_entsize; member
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/linux/
H A Delf.h267 Elf32_Word sh_entsize; member
279 Elf64_Xword sh_entsize; member
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
H A Delf.h254 Elf32_Word sh_entsize; member
266 Elf64_Xword sh_entsize; member
/kernel/linux/linux-5.10/arch/mips/kernel/
H A Dvpe.c180 sizes, and place the offsets into sh_entsize fields: high bit means it
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()
/kernel/linux/linux-5.10/tools/objtool/
H A Delf.c397 symbols_nr = symtab->sh.sh_size / symtab->sh.sh_entsize; in read_symbols()
578 Elf64_Xword entsize = symtab->sh.sh_entsize; in elf_update_symbol()
726 new_idx = symtab->sh.sh_size / symtab->sh.sh_entsize; in elf_create_section_symbol()
833 for (i = 0; i < sec->sh.sh_size / sec->sh.sh_entsize; i++) { in read_relocs()
1035 sec->sh.sh_entsize = entsize; in elf_create_section()
/kernel/linux/linux-6.6/drivers/remoteproc/
H A Dremoteproc_elf_helpers.h81 ELF_GEN_FIELD_GET_SET(shdr, sh_entsize, u16)

Completed in 35 milliseconds

12