Searched refs:e_shstrndx (Results 26 - 48 of 48) sorted by relevance

12

/linux-master/tools/perf/util/
H A Dsymbol-elf.c207 if (!elf_rawdata(elf_getscn(elf, ep->e_shstrndx), NULL))
214 str = elf_strptr(elf, ep->e_shstrndx, shp->sh_name);
1356 if (!elf_rawdata(elf_getscn(elf, ehdr->e_shstrndx), NULL))
1369 sec_name = elf_strptr(elf, ehdr->e_shstrndx, shdr.sh_name);
1595 sec_strndx = elf_getscn(runtime_ss->elf, runtime_ss->ehdr.e_shstrndx);
1603 sec_strndx = elf_getscn(elf, ehdr.e_shstrndx);
2074 ehdr->e_shstrndx = 0;
H A Dgenelf.c289 ehdr->e_shstrndx= unwinding ? 4 : 2; /* shdr index for section name */
/linux-master/sound/pci/mixart/
H A Dmixart_hwdep.c76 __be16 e_shstrndx; member in struct:snd_mixart_elf32_ehdr
/linux-master/scripts/
H A Dsorttable.h297 shstrndx = r2(&ehdr->e_shstrndx);
/linux-master/arch/s390/kernel/
H A Dmachine_kexec_file.c323 shstrtab = (char *)pi->ehdr + sechdrs[pi->ehdr->e_shstrndx].sh_offset;
H A Dmodule.c513 secstrings = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset;
/linux-master/arch/x86/kernel/
H A Dmachine_kexec_64.c399 shstrtab = (char *)pi->ehdr + sechdrs[pi->ehdr->e_shstrndx].sh_offset;
/linux-master/scripts/mod/
H A Dmodpost.c460 hdr->e_shstrndx = TO_NATIVE(hdr->e_shstrndx);
483 if (hdr->e_shstrndx == SHN_XINDEX) {
487 info->secindex_strings = hdr->e_shstrndx;
/linux-master/arch/mips/kernel/
H A Dmodule.c419 char *secstrings = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset;
H A Dvpe.c612 secstrings = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset;
/linux-master/arch/riscv/kernel/
H A Delf_kexec.c385 shstrtab = (char *)pi->ehdr + sechdrs[pi->ehdr->e_shstrndx].sh_offset;
/linux-master/kernel/module/
H A Dmain.c1742 if (info->hdr->e_shstrndx == SHN_UNDEF
1743 || info->hdr->e_shstrndx >= info->hdr->e_shnum) {
1744 pr_err("Invalid ELF section name index: %d || e_shstrndx (%d) >= e_shnum (%d)\n",
1745 info->hdr->e_shstrndx, info->hdr->e_shstrndx,
1750 strhdr = &info->sechdrs[info->hdr->e_shstrndx];
/linux-master/fs/
H A Dbinfmt_elf_fdpic.c1251 elf->e_shstrndx = 0;
1423 elf->e_shstrndx = SHN_UNDEF;
1429 shdr4extnum->sh_link = elf->e_shstrndx;
H A Dbinfmt_elf.c1950 elf->e_shstrndx = SHN_UNDEF;
1956 shdr4extnum->sh_link = elf->e_shstrndx;
/linux-master/arch/powerpc/platforms/powernv/
H A Dopal-core.c378 elf->e_shstrndx = 0;
/linux-master/arch/loongarch/kernel/
H A Dmodule.c513 const char *secstrs = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset;
/linux-master/drivers/remoteproc/
H A Dpru_rproc.c877 u16 shstrndx = ehdr->e_shstrndx;
H A Dmtk_scp.c366 shdr_strtab = shdr + ehdr->e_shstrndx;
/linux-master/arch/sh/kernel/
H A Ddwarf.c1094 char *secstrings = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset;
/linux-master/arch/parisc/kernel/
H A Dmodule.c911 secstrings = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset;
/linux-master/arch/powerpc/kernel/
H A Dfadump.c955 elf->e_shstrndx = 0;
/linux-master/tools/lib/bpf/
H A Dlinker.c366 linker->elf_hdr->e_shstrndx = sec->sec_idx;
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/gsp/
H A Dr535.c2153 const char *names = &img[shdr[ehdr->e_shstrndx].sh_offset];

Completed in 251 milliseconds

12