Home
last modified time | relevance | path

Searched refs:e_shstrndx (Results 1 – 25 of 49) sorted by relevance

12

/linux-6.15/arch/powerpc/boot/
H A Delf.h69 Elf32_Half e_shstrndx; member
86 Elf64_Half e_shstrndx; member
/linux-6.15/arch/s390/include/asm/
H A Dmodule.h45 const char *secstrs = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in find_section()
/linux-6.15/arch/arm64/include/asm/
H A Dmodule.h58 const char *secstrs = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in find_section()
/linux-6.15/arch/s390/tools/
H A Drelocs.c144 ehdr.e_shstrndx = elf_half_to_cpu(ehdr.e_shstrndx); in read_ehdr()
147 shstrndx = ehdr.e_shstrndx; in read_ehdr()
/linux-6.15/kernel/module/
H A Dlivepatch.c41 size = info->sechdrs[info->hdr->e_shstrndx].sh_size; in copy_module_elf()
/linux-6.15/arch/mips/boot/tools/
H A Drelocs.c96 sec_strtab = secs[ehdr.e_shstrndx].strtab; in sec_name()
236 ehdr.e_shstrndx = elf_half_to_cpu(ehdr.e_shstrndx); in read_ehdr()
256 if (ehdr.e_shstrndx >= ehdr.e_shnum) in read_ehdr()
/linux-6.15/kernel/
H A Dcfi.c59 secstrings = (char *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in module_cfi_finalize()
H A Dkexec_elf.c158 ehdr->e_shstrndx = elf16_to_cpu(ehdr, buf_ehdr->e_shstrndx); in elf_read_ehdr()
/linux-6.15/arch/powerpc/kernel/
H A Dmodule.c26 secstrings = (char *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in find_section()
/linux-6.15/arch/riscv/include/asm/
H A Dmodule.h120 const char *secstrs = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in find_section()
/linux-6.15/tools/include/uapi/linux/
H A Delf.h231 Elf32_Half e_shstrndx; member
248 Elf64_Half e_shstrndx; member
/linux-6.15/arch/arm64/kernel/pi/
H A Drelacheck.c75 swab_elfxword(shdr[swab_elfhword(ehdr->e_shstrndx)].sh_offset); in main()
/linux-6.15/include/uapi/linux/
H A Delf.h231 Elf32_Half e_shstrndx; member
248 Elf64_Half e_shstrndx; member
/linux-6.15/arch/sparc/vdso/
H A Dvma.c76 snames = (void *)e->hdr + shdrs[e->hdr->e_shstrndx].sh_offset; in one_section64()
144 snames = (void *)e->hdr + shdrs[e->hdr->e_shstrndx].sh_offset; in one_section32()
/linux-6.15/arch/mips/vdso/
H A Dgenvdso.h19 shdr = shdrs + (sh_entsize * swap_uint16(ehdr->e_shstrndx)); in FUNC()
/linux-6.15/lib/
H A Dbug.c94 secstrings = (char *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in module_bug_finalize()
/linux-6.15/drivers/remoteproc/
H A Dremoteproc_elf_helpers.h62 ELF_GEN_FIELD_GET_SET(hdr, e_shstrndx, u16) in ELF_GEN_FIELD_GET_SET()
/linux-6.15/arch/arm/kernel/
H A Dmodule.c402 const char *secstrs = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in find_mod_section()
419 const char *secstrs = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in module_finalize()
H A Dvdso.c100 secnames = (void *)ehdr + sechdrs[ehdr->e_shstrndx].sh_offset; in find_section()
/linux-6.15/arch/sparc/kernel/
H A Dmodule.c158 char *secstrings = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in do_patch_sections()
/linux-6.15/tools/testing/selftests/proc/
H A Dproc-pid-vm.c95 uint16_t e_shstrndx; member
185 h.e_shstrndx = 0; in make_exe()
/linux-6.15/arch/x86/tools/
H A Drelocs.c372 ehdr.e_shstrndx = elf_half_to_cpu(ehdr.e_shstrndx); in read_ehdr()
375 shstrndx = ehdr.e_shstrndx; in read_ehdr()
/linux-6.15/arch/x86/entry/vdso/
H A Dvdso2c.h104 GET_LE(&hdr->e_shentsize)*GET_LE(&hdr->e_shstrndx); in BITSFUNC()
/linux-6.15/tools/perf/util/
H A Dsymbol-elf.c208 if (!elf_rawdata(elf_getscn(elf, ep->e_shstrndx), NULL)) in elf_section_by_name()
215 str = elf_strptr(elf, ep->e_shstrndx, shp->sh_name); in elf_section_by_name()
1420 if (!elf_rawdata(elf_getscn(elf, ehdr->e_shstrndx), NULL)) in max_text_section()
1433 sec_name = elf_strptr(elf, ehdr->e_shstrndx, shdr.sh_name); in max_text_section()
1659 sec_strndx = elf_getscn(runtime_ss->elf, runtime_ss->ehdr.e_shstrndx); in dso__load_sym_internal()
1667 sec_strndx = elf_getscn(elf, ehdr.e_shstrndx); in dso__load_sym_internal()
2151 ehdr->e_shstrndx = 0; in kcore__copy_hdr()
/linux-6.15/arch/arm64/kvm/hyp/nvhe/
H A Dgen-hyprel.c296 elf.sh_string = section_begin(section_by_idx(elf16toh(elf.ehdr->e_shstrndx))); in init_elf()

12