Searched refs:e_shoff (Results 1 - 25 of 40) sorted by path

12

/linux-master/arch/mips/vdso/
H A Dgenvdso.h15 shdrs = vdso + FUNC(swap_uint)(ehdr->e_shoff);
69 shdrs = vdso + FUNC(swap_uint)(ehdr->e_shoff);
/linux-master/arch/powerpc/boot/
H A Delf.h62 Elf32_Off e_shoff; member in struct:elf32_hdr
79 Elf64_Off e_shoff; /* Section header table file offset */ member in struct:elf64_hdr
/linux-master/arch/sparc/vdso/
H A Dvdso2c.h66 ELF(Shdr) *sh = raw_addr + GET_BE(&hdr->e_shoff) +
75 strtab_hdr = raw_addr + GET_BE(&hdr->e_shoff) +
H A Dvma.c75 shdrs = (void *)e->hdr + e->hdr->e_shoff;
143 shdrs = (void *)e->hdr + e->hdr->e_shoff;
/linux-master/scripts/
H A Dinsert-sys-cert.c73 x = (void *)hdr + hdr->e_shoff;
141 x = (void *)hdr + hdr->e_shoff;
165 x = (void *)hdr + hdr->e_shoff;
189 x = (void *)hdr + hdr->e_shoff;
341 if (hdr->e_shoff > vmlinux_size) {
/linux-master/arch/arm/kernel/
H A Dvdso.c108 sechdrs = (void *)ehdr + ehdr->e_shoff;
/linux-master/arch/arm64/kernel/
H A Dalternative.c209 shdr = (void *)hdr + hdr->e_shoff;
/linux-master/arch/arm64/kernel/pi/
H A Drelacheck.c73 shdr = (void *)ehdr + swab_elfxword(ehdr->e_shoff);
/linux-master/arch/arm64/kvm/hyp/nvhe/
H A Dgen-hyprel.c292 elf.sh_table = section_by_off(elf64toh(elf.ehdr->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/arch/mips/boot/tools/
H A Drelocs.c229 ehdr.e_shoff = elf_off_to_cpu(ehdr.e_shoff);
269 if (fseek(fp, ehdr.e_shoff, SEEK_SET) < 0)
270 die("Seek to %d failed: %s\n", ehdr.e_shoff, strerror(errno));
/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/tools/
H A Dloongson3-llsc-check.c286 sh = vmlinux + le64toh(eh->e_shoff) + (i * le16toh(eh->e_shentsize));
/linux-master/arch/powerpc/kernel/
H A Dfadump.c981 elf->e_shoff = 0;
/linux-master/arch/powerpc/platforms/powernv/
H A Dopal-core.c370 elf->e_shoff = 0;
/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/s390/kernel/
H A Dmachine_kexec_file.c321 sechdrs = (void *)pi->ehdr + pi->ehdr->e_shoff;
/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/x86/entry/vdso/
H A Dvdso2c.h103 secstrings_hdr = raw_addr + GET_LE(&hdr->e_shoff) +
107 ELF(Shdr) *sh = raw_addr + GET_LE(&hdr->e_shoff) +
122 strtab_hdr = raw_addr + GET_LE(&hdr->e_shoff) +
/linux-master/arch/x86/kernel/
H A Dmachine_kexec_64.c397 sechdrs = (void *)pi->ehdr + pi->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/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/drivers/media/platform/st/sti/c8sectpfe/
H A Dc8sectpfe-core.c956 if (fw->size < ehdr->e_shoff + sizeof(struct elf32_shdr)) {
/linux-master/drivers/remoteproc/
H A Dmtk_scp.c351 shdr = (struct elf32_shdr *)(elf_data + ehdr->e_shoff);

Completed in 316 milliseconds

12