Searched refs:e_shoff (Results 1 - 25 of 40) sorted by last modified time

12

/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/gsp/
H A Dr535.c2152 const struct elf64_shdr *shdr = (const struct elf64_shdr *)&img[ehdr->e_shoff];
/linux-master/scripts/mod/
H A Dmodpost.c453 hdr->e_shoff = TO_NATIVE(hdr->e_shoff);
461 sechdrs = (void *)hdr + hdr->e_shoff;
469 if (hdr->e_shoff > info->size)
471 (unsigned long)hdr->e_shoff, filename, info->size);
/linux-master/fs/
H A Dbinfmt_elf_fdpic.c1251 elf->e_shoff = 0;
1425 elf_addr_t e_shoff, int segs)
1427 elf->e_shoff = e_shoff;
1480 elf_addr_t e_shoff; local
1558 e_shoff = offset;
1564 fill_extnum_info(elf, shdr4extnum, e_shoff, segs);
1424 fill_extnum_info(struct elfhdr *elf, struct elf_shdr *shdr4extnum, elf_addr_t e_shoff, int segs) argument
H A Dbinfmt_elf.c1939 elf_addr_t e_shoff, int segs)
1941 elf->e_shoff = e_shoff;
1971 elf_addr_t e_shoff; local
2018 e_shoff = offset;
2024 fill_extnum_info(&elf, shdr4extnum, e_shoff, segs);
1938 fill_extnum_info(struct elfhdr *elf, struct elf_shdr *shdr4extnum, elf_addr_t e_shoff, int segs) argument
/linux-master/arch/riscv/kernel/
H A Dalternative.c180 shdr = (void *)hdr + hdr->e_shoff;
H A Delf_kexec.c382 sechdrs = (void *)pi->ehdr + pi->ehdr->e_shoff;
/linux-master/arch/sparc/vdso/
H A Dvma.c75 shdrs = (void *)e->hdr + e->hdr->e_shoff;
143 shdrs = (void *)e->hdr + e->hdr->e_shoff;
/linux-master/tools/perf/util/
H A Dsymbol-elf.c2070 ehdr->e_shoff = 0;
/linux-master/kernel/module/
H A Dmain.c1712 if (info->hdr->e_shoff >= info->len
1714 info->len - info->hdr->e_shoff)) {
1719 info->sechdrs = (void *)info->hdr + info->hdr->e_shoff;
/linux-master/kernel/
H A Dkexec_file.c838 sechdrs = (void *)pi->ehdr + pi->ehdr->e_shoff;
907 memcpy(sechdrs, (void *)pi->ehdr + pi->ehdr->e_shoff, sechdrs_size);
968 sechdrs = (void *)pi->ehdr + pi->ehdr->e_shoff;
1085 sechdrs = (void *)ehdr + ehdr->e_shoff;
/linux-master/include/uapi/linux/
H A Delf.h216 Elf32_Off e_shoff; member in struct:elf32_hdr
233 Elf64_Off e_shoff; /* Section header table file offset */ member in struct:elf64_hdr
/linux-master/arch/x86/kernel/
H A Dmachine_kexec_64.c397 sechdrs = (void *)pi->ehdr + pi->ehdr->e_shoff;
/linux-master/arch/s390/kernel/
H A Dmachine_kexec_file.c321 sechdrs = (void *)pi->ehdr + pi->ehdr->e_shoff;
/linux-master/arch/powerpc/platforms/powernv/
H A Dopal-core.c370 elf->e_shoff = 0;
/linux-master/arch/arm64/kernel/pi/
H A Drelacheck.c73 shdr = (void *)ehdr + swab_elfxword(ehdr->e_shoff);
/linux-master/arch/x86/tools/
H A Drelocs.c390 ehdr.e_shoff = elf_off_to_cpu(ehdr.e_shoff);
419 if (fseek(fp, ehdr.e_shoff, SEEK_SET) < 0)
420 die("Seek to %" FMT " failed: %s\n", ehdr.e_shoff, strerror(errno));
446 if (fseek(fp, ehdr.e_shoff, SEEK_SET) < 0) {
448 ehdr.e_shoff, strerror(errno));
/linux-master/arch/s390/tools/
H A Drelocs.c137 ehdr.e_shoff = elf_off_to_cpu(ehdr.e_shoff);
165 if (fseek(fp, ehdr.e_shoff, SEEK_SET) < 0)
166 die("Seek to %" FMT " failed: %s\n", ehdr.e_shoff, strerror(errno));
191 if (fseek(fp, ehdr.e_shoff, SEEK_SET) < 0)
192 die("Seek to %" FMT " failed: %s\n", ehdr.e_shoff, strerror(errno));
/linux-master/arch/arm/kernel/
H A Dvdso.c108 sechdrs = (void *)ehdr + ehdr->e_shoff;
/linux-master/tools/testing/selftests/sgx/
H A Dload.c147 sections = encl->bin + ehdr->e_shoff;
/linux-master/arch/mips/kernel/
H A Dvpe.c604 if (len < hdr->e_shoff + hdr->e_shnum * sizeof(Elf_Shdr)) {
611 sechdrs = (void *)hdr + hdr->e_shoff;
/linux-master/arch/mips/boot/
H A Delf2ecoff.c176 e->e_shoff = swab32(e->e_shoff);
335 sh = (Elf32_Shdr *) saveRead(infile, ex.e_shoff,
/linux-master/drivers/remoteproc/
H A Dmtk_scp.c351 shdr = (struct elf32_shdr *)(elf_data + ehdr->e_shoff);
H A Dpru_rproc.c881 shdr = (struct elf32_shdr *)(elf_data + ehdr->e_shoff);
/linux-master/drivers/media/platform/st/sti/c8sectpfe/
H A Dc8sectpfe-core.c956 if (fw->size < ehdr->e_shoff + sizeof(struct elf32_shdr)) {
/linux-master/arch/powerpc/kernel/
H A Dfadump.c981 elf->e_shoff = 0;

Completed in 423 milliseconds

12