e_phoff 170 arch/alpha/boot/tools/objstrip.c lseek(fd, elf->e_phoff, SEEK_SET); e_phoff 18 arch/ia64/kernel/elfcore.c (const struct elf_phdr *) (GATE_ADDR + GATE_EHDR->e_phoff); e_phoff 47 arch/ia64/kernel/elfcore.c (const struct elf_phdr *) (GATE_ADDR + GATE_EHDR->e_phoff); e_phoff 66 arch/ia64/kernel/elfcore.c (const struct elf_phdr *) (GATE_ADDR + GATE_EHDR->e_phoff); e_phoff 2193 arch/ia64/kernel/unwind.c Elf64_Phdr *punw = NULL, *phdr = (Elf64_Phdr *) (GATE_ADDR + GATE_EHDR->e_phoff); e_phoff 175 arch/mips/boot/elf2ecoff.c e->e_phoff = swab32(e->e_phoff); e_phoff 329 arch/mips/boot/elf2ecoff.c ph = (Elf32_Phdr *) saveRead(infile, ex.e_phoff, e_phoff 228 arch/mips/boot/tools/relocs.c ehdr.e_phoff = elf_off_to_cpu(ehdr.e_phoff); e_phoff 699 arch/mips/kernel/vpe.c ((char *)hdr + hdr->e_phoff); e_phoff 262 arch/parisc/boot/compressed/misc.c memcpy(phdrs, output + ehdr.e_phoff, sizeof(*phdrs) * ehdr.e_phnum); e_phoff 61 arch/powerpc/boot/elf.h Elf32_Off e_phoff; e_phoff 78 arch/powerpc/boot/elf.h Elf64_Off e_phoff; /* Program header table file offset */ e_phoff 36 arch/powerpc/boot/elf_util.c (unsigned long)elf64->e_phoff); e_phoff 67 arch/powerpc/boot/elf_util.c elf32ph = (Elf32_Phdr *) ((unsigned long)elf32 + elf32->e_phoff); e_phoff 855 arch/powerpc/kernel/fadump.c elf->e_phoff = sizeof(struct elfhdr); e_phoff 1116 arch/powerpc/kernel/prom_init.c .e_phoff = offsetof(struct fake_elf, phdr), e_phoff 149 arch/powerpc/oprofile/cell/vma_map.c phdr_start = spu_elf_start + ehdr.e_phoff; e_phoff 366 arch/powerpc/platforms/powernv/opal-core.c elf->e_phoff = cpu_to_be64(sizeof(Elf64_Ehdr)); e_phoff 523 arch/s390/kernel/crash_dump.c ehdr->e_phoff = sizeof(Elf64_Ehdr); e_phoff 34 arch/s390/kernel/kexec_elf.c phdr = (void *)ehdr + ehdr->e_phoff; e_phoff 87 arch/s390/kernel/kexec_elf.c size = ehdr->e_ehsize + ehdr->e_phoff; e_phoff 92 arch/s390/kernel/kexec_elf.c phdr = (void *)ehdr + ehdr->e_phoff; e_phoff 25 arch/sparc/vdso/vdso2c.h ELF(Phdr) *pt = (ELF(Phdr) *)(raw_addr + GET_BE(&hdr->e_phoff)); e_phoff 297 arch/x86/boot/compressed/misc.c memcpy(phdrs, output + ehdr.e_phoff, sizeof(*phdrs) * ehdr.e_phnum); e_phoff 24 arch/x86/entry/vdso/vdso2c.h ELF(Phdr) *pt = (ELF(Phdr) *)(raw_addr + GET_LE(&hdr->e_phoff)); e_phoff 361 arch/x86/tools/relocs.c ehdr.e_phoff = elf_off_to_cpu(ehdr.e_phoff); e_phoff 21 arch/x86/um/elfcore.c (const struct elf_phdr *) (vsyscall_ehdr + ehdrp->e_phoff); e_phoff 48 arch/x86/um/elfcore.c (const struct elf_phdr *) (vsyscall_ehdr + ehdrp->e_phoff); e_phoff 69 arch/x86/um/elfcore.c (const struct elf_phdr *) (vsyscall_ehdr + ehdrp->e_phoff); e_phoff 1012 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c if (ehdr->e_phoff > fw->size) { e_phoff 1088 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c phdr = (Elf32_Phdr *)(fw->data + ehdr->e_phoff); e_phoff 1602 drivers/remoteproc/remoteproc_core.c ehdr->e_phoff = sizeof(*ehdr); e_phoff 1607 drivers/remoteproc/remoteproc_core.c phdr = data + ehdr->e_phoff; e_phoff 1608 drivers/remoteproc/remoteproc_core.c offset = ehdr->e_phoff + sizeof(*phdr) * ehdr->e_phnum; e_phoff 85 drivers/remoteproc/remoteproc_elf_loader.c if (ehdr->e_phoff > fw->size) { e_phoff 146 drivers/remoteproc/remoteproc_elf_loader.c phdr = (struct elf32_phdr *)(elf_data + ehdr->e_phoff); e_phoff 249 fs/binfmt_elf.c NEW_AUX_ENT(AT_PHDR, load_addr + exec->e_phoff); e_phoff 421 fs/binfmt_elf.c loff_t pos = elf_ex->e_phoff; e_phoff 1211 fs/binfmt_elf.c pos = elf_ex.e_phoff; e_phoff 1440 fs/binfmt_elf.c elf->e_phoff = sizeof(struct elfhdr); e_phoff 144 fs/binfmt_elf_fdpic.c loff_t pos = params->hdr.e_phoff; e_phoff 798 fs/binfmt_elf_fdpic.c stop = params->hdr.e_phoff; e_phoff 806 fs/binfmt_elf_fdpic.c if (phdr->p_offset > params->hdr.e_phoff || e_phoff 818 fs/binfmt_elf_fdpic.c params->hdr.e_phoff - phdr->p_offset; e_phoff 1303 fs/binfmt_elf_fdpic.c elf->e_phoff = sizeof(struct elfhdr); e_phoff 348 fs/proc/kcore.c .e_phoff = sizeof(struct elfhdr), e_phoff 210 include/uapi/linux/elf.h Elf32_Off e_phoff; e_phoff 227 include/uapi/linux/elf.h Elf64_Off e_phoff; /* Program header table file offset */ e_phoff 78 kernel/kexec_elf.c if (ehdr->e_phoff > 0 && ehdr->e_phnum > 0) { e_phoff 88 kernel/kexec_elf.c if (ehdr->e_phoff + phdr_size < ehdr->e_phoff) { e_phoff 91 kernel/kexec_elf.c } else if (ehdr->e_phoff + phdr_size > buf_len) { e_phoff 163 kernel/kexec_elf.c ehdr->e_phoff = elf64_to_cpu(ehdr, buf_ehdr->e_phoff); e_phoff 169 kernel/kexec_elf.c ehdr->e_phoff = elf32_to_cpu(ehdr, buf_ehdr->e_phoff); e_phoff 212 kernel/kexec_elf.c pbuf = buf + elf_info->ehdr->e_phoff + (idx * sizeof(*buf_phdr)); e_phoff 308 kernel/kexec_elf.c if (ehdr->e_phoff > 0 && ehdr->e_phnum > 0) { e_phoff 1282 kernel/kexec_file.c ehdr->e_phoff = sizeof(Elf64_Ehdr); e_phoff 517 scripts/mod/modpost.c hdr->e_phoff = TO_NATIVE(hdr->e_phoff); e_phoff 67 sound/pci/mixart/mixart_hwdep.c __be32 e_phoff; e_phoff 100 sound/pci/mixart/mixart_hwdep.c if( elf_header->e_phoff != 0 ) { e_phoff 104 sound/pci/mixart/mixart_hwdep.c u32 pos = be32_to_cpu(elf_header->e_phoff) + (u32)(i * be16_to_cpu(elf_header->e_phentsize)); e_phoff 1389 tools/perf/util/symbol-elf.c ehdr->e_phoff = sizeof(Elf32_Ehdr); e_phoff 1393 tools/perf/util/symbol-elf.c ehdr->e_phoff = sizeof(Elf64_Ehdr); e_phoff 121 tools/perf/util/symbol-minimal.c ehdr.e_phoff = bswap_32(ehdr.e_phoff); e_phoff 131 tools/perf/util/symbol-minimal.c fseek(fp, ehdr.e_phoff, SEEK_SET); e_phoff 172 tools/perf/util/symbol-minimal.c ehdr.e_phoff = bswap_64(ehdr.e_phoff); e_phoff 182 tools/perf/util/symbol-minimal.c fseek(fp, ehdr.e_phoff, SEEK_SET); e_phoff 140 tools/testing/selftests/kvm/lib/elf.c offset = hdr.e_phoff + (n1 * hdr.e_phentsize); e_phoff 210 tools/testing/selftests/powerpc/ptrace/core-pkey.c FAIL_IF(ehdr->e_phoff == 0 || ehdr->e_phnum == 0); e_phoff 219 tools/testing/selftests/powerpc/ptrace/core-pkey.c FAIL_IF(ehdr->e_phoff + phdr_size < ehdr->e_phoff); e_phoff 220 tools/testing/selftests/powerpc/ptrace/core-pkey.c FAIL_IF(ehdr->e_phoff + phdr_size > core_size); e_phoff 223 tools/testing/selftests/powerpc/ptrace/core-pkey.c for (phdr = p + ehdr->e_phoff; e_phoff 224 tools/testing/selftests/powerpc/ptrace/core-pkey.c (void *) phdr < p + ehdr->e_phoff + phdr_size; e_phoff 229 tools/testing/selftests/powerpc/ptrace/core-pkey.c FAIL_IF((void *) phdr >= p + ehdr->e_phoff + phdr_size); e_phoff 84 tools/testing/selftests/proc/proc-pid-vm.c uint64_t e_phoff; e_phoff 174 tools/testing/selftests/proc/proc-pid-vm.c h.e_phoff = sizeof(struct elf64_hdr); e_phoff 109 tools/testing/selftests/vDSO/parse_vdso.c ELF(Phdr) *pt = (ELF(Phdr)*)(vdso_info.load_addr + hdr->e_phoff);