e_shstrndx 331 arch/arm/kernel/module.c const char *secstrs = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; e_shstrndx 348 arch/arm/kernel/module.c const char *secstrs = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; e_shstrndx 120 arch/arm/kernel/vdso.c secnames = (void *)ehdr + sechdrs[ehdr->e_shstrndx].sh_offset; e_shstrndx 478 arch/arm64/kernel/module.c const char *secstrs = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; e_shstrndx 183 arch/mips/boot/elf2ecoff.c e->e_shstrndx = swab16(e->e_shstrndx); e_shstrndx 96 arch/mips/boot/tools/relocs.c sec_strtab = secs[ehdr.e_shstrndx].strtab; e_shstrndx 236 arch/mips/boot/tools/relocs.c ehdr.e_shstrndx = elf_half_to_cpu(ehdr.e_shstrndx); e_shstrndx 256 arch/mips/boot/tools/relocs.c if (ehdr.e_shstrndx >= ehdr.e_shnum) e_shstrndx 435 arch/mips/kernel/module.c char *secstrings = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; e_shstrndx 613 arch/mips/kernel/vpe.c secstrings = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; e_shstrndx 19 arch/mips/vdso/genvdso.h shdr = shdrs + (sh_entsize * swap_uint16(ehdr->e_shstrndx)); e_shstrndx 940 arch/parisc/kernel/module.c secstrings = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; e_shstrndx 69 arch/powerpc/boot/elf.h Elf32_Half e_shstrndx; e_shstrndx 86 arch/powerpc/boot/elf.h Elf64_Half e_shstrndx; e_shstrndx 867 arch/powerpc/kernel/fadump.c elf->e_shstrndx = 0; e_shstrndx 27 arch/powerpc/kernel/module.c secstrings = (char *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; e_shstrndx 241 arch/powerpc/kernel/vdso.c secnames = (void *)ehdr + sechdrs[ehdr->e_shstrndx].sh_offset; e_shstrndx 346 arch/powerpc/kernel/vdso.c secnames = (void *)ehdr + sechdrs[ehdr->e_shstrndx].sh_offset; e_shstrndx 375 arch/powerpc/platforms/powernv/opal-core.c elf->e_shstrndx = 0; e_shstrndx 465 arch/s390/kernel/module.c secstrings = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; e_shstrndx 1094 arch/sh/kernel/dwarf.c char *secstrings = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; e_shstrndx 188 arch/sparc/kernel/module.c char *secstrings = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; e_shstrndx 76 arch/sparc/vdso/vma.c snames = (void *)e->hdr + shdrs[e->hdr->e_shstrndx].sh_offset; e_shstrndx 144 arch/sparc/vdso/vma.c snames = (void *)e->hdr + shdrs[e->hdr->e_shstrndx].sh_offset; e_shstrndx 70 arch/x86/entry/vdso/vdso2c.h GET_LE(&hdr->e_shentsize)*GET_LE(&hdr->e_shstrndx); e_shstrndx 509 arch/x86/kernel/machine_kexec_64.c shstrtab = (char *)pi->ehdr + sechdrs[pi->ehdr->e_shstrndx].sh_offset; e_shstrndx 226 arch/x86/kernel/module.c char *secstrings = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; e_shstrndx 369 arch/x86/tools/relocs.c ehdr.e_shstrndx = elf_half_to_cpu(ehdr.e_shstrndx); e_shstrndx 372 arch/x86/tools/relocs.c shstrndx = ehdr.e_shstrndx; e_shstrndx 214 drivers/remoteproc/remoteproc_elf_loader.c name_table = elf_data + shdr[ehdr->e_shstrndx].sh_offset; e_shstrndx 2167 fs/binfmt_elf.c elf->e_shstrndx = SHN_UNDEF; e_shstrndx 2173 fs/binfmt_elf.c shdr4extnum->sh_link = elf->e_shstrndx; e_shstrndx 1311 fs/binfmt_elf_fdpic.c elf->e_shstrndx = 0; e_shstrndx 1480 fs/binfmt_elf_fdpic.c elf->e_shstrndx = SHN_UNDEF; e_shstrndx 1486 fs/binfmt_elf_fdpic.c shdr4extnum->sh_link = elf->e_shstrndx; e_shstrndx 218 include/uapi/linux/elf.h Elf32_Half e_shstrndx; e_shstrndx 235 include/uapi/linux/elf.h Elf64_Half e_shstrndx; e_shstrndx 158 kernel/kexec_elf.c ehdr->e_shstrndx = elf16_to_cpu(ehdr, buf_ehdr->e_shstrndx); e_shstrndx 2125 kernel/module.c size = info->sechdrs[info->hdr->e_shstrndx].sh_size; e_shstrndx 3058 kernel/module.c + info->sechdrs[info->hdr->e_shstrndx].sh_offset; e_shstrndx 99 lib/bug.c secstrings = (char *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; e_shstrndx 328 samples/bpf/bpf_load.c *shname = elf_strptr(elf, ehdr->e_shstrndx, shdr->sh_name); e_shstrndx 525 scripts/mod/modpost.c hdr->e_shstrndx = TO_NATIVE(hdr->e_shstrndx); e_shstrndx 547 scripts/mod/modpost.c if (hdr->e_shstrndx == SHN_XINDEX) { e_shstrndx 551 scripts/mod/modpost.c info->secindex_strings = hdr->e_shstrndx; e_shstrndx 527 scripts/recordmcount.h Elf_Shdr *const shstr = &shdr0[w2(ehdr->e_shstrndx)]; e_shstrndx 121 scripts/sortextable.h secindex_strings = r2(&ehdr->e_shstrndx); e_shstrndx 75 sound/pci/mixart/mixart_hwdep.c __be16 e_shstrndx; e_shstrndx 418 tools/lib/bpf/btf.c if (!elf_rawdata(elf_getscn(elf, ehdr.e_shstrndx), NULL)) { e_shstrndx 433 tools/lib/bpf/btf.c name = elf_strptr(elf, ehdr.e_shstrndx, sh.sh_name); e_shstrndx 692 tools/lib/bpf/libbpf.c sec_name = elf_strptr(elf, ep->e_shstrndx, sh.sh_name); e_shstrndx 1529 tools/lib/bpf/libbpf.c if (!elf_rawdata(elf_getscn(elf, ep->e_shstrndx), NULL)) { e_shstrndx 1546 tools/lib/bpf/libbpf.c name = elf_strptr(elf, ep->e_shstrndx, sh.sh_name); e_shstrndx 287 tools/perf/util/genelf.c ehdr->e_shstrndx= unwinding ? 4 : 2; /* shdr index for section name */ e_shstrndx 214 tools/perf/util/symbol-elf.c if (!elf_rawdata(elf_getscn(elf, ep->e_shstrndx), NULL)) e_shstrndx 221 tools/perf/util/symbol-elf.c str = elf_strptr(elf, ep->e_shstrndx, shp->sh_name); e_shstrndx 1021 tools/perf/util/symbol-elf.c sec_strndx = elf_getscn(runtime_ss->elf, runtime_ss->ehdr.e_shstrndx); e_shstrndx 1386 tools/perf/util/symbol-elf.c ehdr->e_shstrndx = 0; e_shstrndx 92 tools/testing/selftests/proc/proc-pid-vm.c uint16_t e_shstrndx; e_shstrndx 182 tools/testing/selftests/proc/proc-pid-vm.c h.e_shstrndx = 0;