elf_phdr 62 arch/alpha/boot/tools/objstrip.c struct elf_phdr *elf_phdr; /* program header */ elf_phdr 171 arch/alpha/boot/tools/objstrip.c if (read(fd, buf, sizeof(*elf_phdr)) != sizeof(*elf_phdr)) { elf_phdr 176 arch/alpha/boot/tools/objstrip.c elf_phdr = (struct elf_phdr *) buf; elf_phdr 177 arch/alpha/boot/tools/objstrip.c offset = elf_phdr->p_offset; elf_phdr 178 arch/alpha/boot/tools/objstrip.c mem_size = elf_phdr->p_memsz; elf_phdr 179 arch/alpha/boot/tools/objstrip.c fil_size = elf_phdr->p_filesz; elf_phdr 182 arch/alpha/boot/tools/objstrip.c if (elf_phdr->p_vaddr < e_entry) { elf_phdr 183 arch/alpha/boot/tools/objstrip.c unsigned long delta = e_entry - elf_phdr->p_vaddr; elf_phdr 187 arch/alpha/boot/tools/objstrip.c elf_phdr->p_vaddr += delta; elf_phdr 192 arch/alpha/boot/tools/objstrip.c prog_name, (long) elf_phdr->p_vaddr, elf_phdr 193 arch/alpha/boot/tools/objstrip.c elf_phdr->p_vaddr + fil_size, offset); elf_phdr 17 arch/ia64/kernel/elfcore.c const struct elf_phdr *const gate_phdrs = elf_phdr 18 arch/ia64/kernel/elfcore.c (const struct elf_phdr *) (GATE_ADDR + GATE_EHDR->e_phoff); elf_phdr 23 arch/ia64/kernel/elfcore.c struct elf_phdr phdr = gate_phdrs[i]; elf_phdr 46 arch/ia64/kernel/elfcore.c const struct elf_phdr *const gate_phdrs = elf_phdr 47 arch/ia64/kernel/elfcore.c (const struct elf_phdr *) (GATE_ADDR + GATE_EHDR->e_phoff); elf_phdr 65 arch/ia64/kernel/elfcore.c const struct elf_phdr *const gate_phdrs = elf_phdr 66 arch/ia64/kernel/elfcore.c (const struct elf_phdr *) (GATE_ADDR + GATE_EHDR->e_phoff); elf_phdr 698 arch/mips/kernel/vpe.c struct elf_phdr *phdr = (struct elf_phdr *) elf_phdr 338 arch/powerpc/kernel/fadump.c size += sizeof(struct elf_phdr); /* place holder for cpu notes */ elf_phdr 340 arch/powerpc/kernel/fadump.c size += sizeof(struct elf_phdr) * (memblock_num_regions(memory) + 2); elf_phdr 658 arch/powerpc/kernel/fadump.c struct elf_phdr *phdr; elf_phdr 664 arch/powerpc/kernel/fadump.c phdr = (struct elf_phdr *)bufp; elf_phdr 863 arch/powerpc/kernel/fadump.c elf->e_phentsize = sizeof(struct elf_phdr); elf_phdr 955 arch/powerpc/kernel/fadump.c struct elf_phdr *phdr; elf_phdr 970 arch/powerpc/kernel/fadump.c phdr = (struct elf_phdr *)bufp; elf_phdr 971 arch/powerpc/kernel/fadump.c bufp += sizeof(struct elf_phdr); elf_phdr 985 arch/powerpc/kernel/fadump.c phdr = (struct elf_phdr *)bufp; elf_phdr 986 arch/powerpc/kernel/fadump.c bufp += sizeof(struct elf_phdr); elf_phdr 1011 arch/powerpc/kernel/fadump.c phdr = (struct elf_phdr *)bufp; elf_phdr 1012 arch/powerpc/kernel/fadump.c bufp += sizeof(struct elf_phdr); elf_phdr 20 arch/x86/um/elfcore.c const struct elf_phdr *const phdrp = elf_phdr 21 arch/x86/um/elfcore.c (const struct elf_phdr *) (vsyscall_ehdr + ehdrp->e_phoff); elf_phdr 26 arch/x86/um/elfcore.c struct elf_phdr phdr = phdrp[i]; elf_phdr 47 arch/x86/um/elfcore.c const struct elf_phdr *const phdrp = elf_phdr 48 arch/x86/um/elfcore.c (const struct elf_phdr *) (vsyscall_ehdr + ehdrp->e_phoff); elf_phdr 68 arch/x86/um/elfcore.c const struct elf_phdr *const phdrp = elf_phdr 69 arch/x86/um/elfcore.c (const struct elf_phdr *) (vsyscall_ehdr + ehdrp->e_phoff); elf_phdr 250 fs/binfmt_elf.c NEW_AUX_ENT(AT_PHENT, sizeof(struct elf_phdr)); elf_phdr 349 fs/binfmt_elf.c const struct elf_phdr *eppnt, int prot, int type, elf_phdr 389 fs/binfmt_elf.c static unsigned long total_mapping_size(const struct elf_phdr *cmds, int nr) elf_phdr 416 fs/binfmt_elf.c static struct elf_phdr *load_elf_phdrs(const struct elfhdr *elf_ex, elf_phdr 419 fs/binfmt_elf.c struct elf_phdr *elf_phdata = NULL; elf_phdr 428 fs/binfmt_elf.c if (elf_ex->e_phentsize != sizeof(struct elf_phdr)) elf_phdr 433 fs/binfmt_elf.c size = sizeof(struct elf_phdr) * elf_ex->e_phnum; elf_phdr 495 fs/binfmt_elf.c struct elf_phdr *phdr, elf_phdr 548 fs/binfmt_elf.c unsigned long no_base, struct elf_phdr *interp_elf_phdata) elf_phdr 550 fs/binfmt_elf.c struct elf_phdr *eppnt; elf_phdr 679 fs/binfmt_elf.c struct elf_phdr *elf_ppnt, *elf_phdata, *interp_elf_phdata = NULL; elf_phdr 1177 fs/binfmt_elf.c struct elf_phdr *elf_phdata; elf_phdr 1178 fs/binfmt_elf.c struct elf_phdr *eppnt; elf_phdr 1201 fs/binfmt_elf.c j = sizeof(struct elf_phdr) * elf_ex.e_phnum; elf_phdr 1443 fs/binfmt_elf.c elf->e_phentsize = sizeof(struct elf_phdr); elf_phdr 1447 fs/binfmt_elf.c static void fill_elf_note_phdr(struct elf_phdr *phdr, int sz, loff_t offset) elf_phdr 2194 fs/binfmt_elf.c struct elf_phdr *phdr4note = NULL; elf_phdr 2248 fs/binfmt_elf.c offset += segs * sizeof(struct elf_phdr); /* Program headers */ elf_phdr 2304 fs/binfmt_elf.c struct elf_phdr phdr; elf_phdr 146 fs/binfmt_elf_fdpic.c if (params->hdr.e_phentsize != sizeof(struct elf_phdr)) elf_phdr 148 fs/binfmt_elf_fdpic.c if (params->hdr.e_phnum > 65536U / sizeof(struct elf_phdr)) elf_phdr 151 fs/binfmt_elf_fdpic.c size = params->hdr.e_phnum * sizeof(struct elf_phdr); elf_phdr 186 fs/binfmt_elf_fdpic.c struct elf_phdr *phdr; elf_phdr 647 fs/binfmt_elf_fdpic.c NEW_AUX_ENT(AT_PHENT, sizeof(struct elf_phdr)); elf_phdr 799 fs/binfmt_elf_fdpic.c stop += params->hdr.e_phnum * sizeof (struct elf_phdr); elf_phdr 1307 fs/binfmt_elf_fdpic.c elf->e_phentsize = sizeof(struct elf_phdr); elf_phdr 1315 fs/binfmt_elf_fdpic.c static inline void fill_elf_note_phdr(struct elf_phdr *phdr, int sz, loff_t offset) elf_phdr 1570 fs/binfmt_elf_fdpic.c struct elf_phdr *phdr4note = NULL; elf_phdr 1685 fs/binfmt_elf_fdpic.c offset += segs * sizeof(struct elf_phdr); /* Program headers */ elf_phdr 1728 fs/binfmt_elf_fdpic.c struct elf_phdr phdr; elf_phdr 107 fs/proc/kcore.c *phdrs_len = *nphdr * sizeof(struct elf_phdr); elf_phdr 351 fs/proc/kcore.c .e_phentsize = sizeof(struct elf_phdr), elf_phdr 368 fs/proc/kcore.c struct elf_phdr *phdrs, *phdr; elf_phdr 18 include/linux/elf-fdpic.h struct elf_phdr *phdrs; /* ref copy of PT_PHDR table */ elf_phdr 230 include/linux/kexec.h const struct elf_phdr *proghdrs; elf_phdr 65 kernel/kexec_elf.c if (ehdr->e_phnum > 0 && ehdr->e_phentsize != sizeof(struct elf_phdr)) { elf_phdr 85 kernel/kexec_elf.c phdr_size = sizeof(struct elf_phdr) * ehdr->e_phnum; elf_phdr 185 kernel/kexec_elf.c static bool elf_is_phdr_sane(const struct elf_phdr *phdr, size_t buf_len) elf_phdr 207 kernel/kexec_elf.c struct elf_phdr *phdr = (struct elf_phdr *) &elf_info->proghdrs[idx]; elf_phdr 210 kernel/kexec_elf.c struct elf_phdr *buf_phdr; elf_phdr 213 kernel/kexec_elf.c buf_phdr = (struct elf_phdr *) pbuf; elf_phdr 261 kernel/kexec_elf.c phdr_size = sizeof(struct elf_phdr) * ehdr->e_phnum; elf_phdr 401 kernel/kexec_elf.c const struct elf_phdr *phdr;