Home
last modified time | relevance | path

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

/linux-4.4.14/arch/mips/vdso/
Dgenvdso.h17 uint16_t sh_count, sh_entsize, i; in FUNC() local
23 sh_entsize = swap_uint16(ehdr->e_shentsize); in FUNC()
25 shdr = shdrs + (sh_entsize * swap_uint16(ehdr->e_shstrndx)); in FUNC()
29 shdr = shdrs + (i * sh_entsize); in FUNC()
60 shdr->sh_entsize = shdr->sh_size; in FUNC()
120 uint16_t sh_count, sh_entsize, st_count, st_entsize, i, j; in FUNC() local
126 sh_entsize = swap_uint16(ehdr->e_shentsize); in FUNC()
129 shdr = shdrs + (i * sh_entsize); in FUNC()
152 st_entsize = FUNC(swap_uint)(shdr->sh_entsize); in FUNC()
156 shdr = shdrs + (swap_uint32(shdr->sh_link) * sh_entsize); in FUNC()
/linux-4.4.14/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()
/linux-4.4.14/arch/x86/entry/vdso/
Dvdso2c.h84 i < GET_LE(&symtab_hdr->sh_size) / GET_LE(&symtab_hdr->sh_entsize); in BITSFUNC()
88 GET_LE(&symtab_hdr->sh_entsize) * i; in BITSFUNC()
/linux-4.4.14/include/uapi/linux/
Delf.h309 Elf32_Word sh_entsize; member
322 Elf64_Xword sh_entsize; /* Entry size if section holds table */ member
/linux-4.4.14/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-4.4.14/tools/perf/util/
Dsymbol-elf.c285 nr_rel_entries = shdr_rel_plt.sh_size / shdr_rel_plt.sh_entsize; in dso__synthesize_plt_symbols()
294 plt_offset += shdr_plt.sh_entsize; in dso__synthesize_plt_symbols()
299 f = symbol__new(plt_offset, shdr_plt.sh_entsize, in dso__synthesize_plt_symbols()
316 plt_offset += shdr_plt.sh_entsize; in dso__synthesize_plt_symbols()
321 f = symbol__new(plt_offset, shdr_plt.sh_entsize, in dso__synthesize_plt_symbols()
857 nr_syms = shdr.sh_size / shdr.sh_entsize; in dso__load_sym()
/linux-4.4.14/kernel/
Dmodule.c2241 info->sechdrs[i].sh_entsize = ~0UL; in layout_sections()
2251 || s->sh_entsize != ~0UL in layout_sections()
2254 s->sh_entsize = get_offset(mod, &mod->core_size, s, i); in layout_sections()
2280 || s->sh_entsize != ~0UL in layout_sections()
2283 s->sh_entsize = (get_offset(mod, &mod->init_size, s, i) in layout_sections()
2450 || (sec->sh_entsize & INIT_OFFSET_MASK)) in is_core_symbol()
2472 symsect->sh_entsize = get_offset(mod, &mod->init_size, symsect, in layout_symtab()
2496 strsect->sh_entsize = get_offset(mod, &mod->init_size, strsect, in layout_symtab()
3026 if (shdr->sh_entsize & INIT_OFFSET_MASK) in move_module()
3028 + (shdr->sh_entsize & ~INIT_OFFSET_MASK); in move_module()
[all …]
/linux-4.4.14/arch/powerpc/oprofile/cell/
Dvma_map.c180 if (shdr.sh_entsize != sizeof (sym)) in create_vma_map()
/linux-4.4.14/arch/mips/boot/
Delf2ecoff.c215 s->sh_entsize = swab32(s->sh_entsize); in convert_elf_shdrs()
/linux-4.4.14/samples/bpf/
Dbpf_load.c198 nrels = shdr->sh_size / shdr->sh_entsize; in parse_relo_and_apply()
/linux-4.4.14/arch/x86/tools/
Drelocs.c417 sec->shdr.sh_entsize = elf_xword_to_cpu(shdr.sh_entsize); in read_shdrs()
/linux-4.4.14/arch/ia64/kernel/
Dmodule.c800 if (target_sec->sh_entsize == ~0UL) in apply_relocate_add()
/linux-4.4.14/tools/lib/bpf/
Dlibbpf.c616 nrels = shdr->sh_size / shdr->sh_entsize; in bpf_program__collect_reloc()
/linux-4.4.14/scripts/mod/
Dmodpost.c491 sechdrs[i].sh_entsize = TO_NATIVE(sechdrs[i].sh_entsize); in parse_elf()