elfhdr             61 arch/alpha/boot/tools/objstrip.c     struct elfhdr *elf;
elfhdr            149 arch/alpha/boot/tools/objstrip.c     elf = (struct elfhdr *) buf;
elfhdr            210 arch/ia64/include/asm/elf.h #define GATE_EHDR	((const struct elfhdr *) GATE_ADDR)
elfhdr            285 arch/mips/include/asm/elf.h 	struct elfhdr *__h = (hdr);					\
elfhdr            308 arch/mips/include/asm/elf.h 	struct elfhdr *__h = (hdr);					\
elfhdr            324 arch/mips/include/asm/elf.h 	struct elfhdr *__h = (hdr);					\
elfhdr             23 arch/parisc/kernel/kexec_file.c 	struct elfhdr ehdr;
elfhdr            337 arch/powerpc/kernel/fadump.c 	size += sizeof(struct elfhdr); /* ELF core header.*/
elfhdr            657 arch/powerpc/kernel/fadump.c 	struct elfhdr *elf;
elfhdr            660 arch/powerpc/kernel/fadump.c 	elf = (struct elfhdr *)bufp;
elfhdr            661 arch/powerpc/kernel/fadump.c 	bufp += sizeof(struct elfhdr);
elfhdr            841 arch/powerpc/kernel/fadump.c 	struct elfhdr *elf;
elfhdr            843 arch/powerpc/kernel/fadump.c 	elf = (struct elfhdr *) bufp;
elfhdr            844 arch/powerpc/kernel/fadump.c 	bufp += sizeof(struct elfhdr);
elfhdr            855 arch/powerpc/kernel/fadump.c 	elf->e_phoff = sizeof(struct elfhdr);
elfhdr            862 arch/powerpc/kernel/fadump.c 	elf->e_ehsize = sizeof(struct elfhdr);
elfhdr            956 arch/powerpc/kernel/fadump.c 	struct elfhdr *elf;
elfhdr            960 arch/powerpc/kernel/fadump.c 	elf = (struct elfhdr *)bufp;
elfhdr            961 arch/powerpc/kernel/fadump.c 	bufp += sizeof(struct elfhdr);
elfhdr             37 arch/powerpc/kernel/kexec_elf_64.c 	struct elfhdr ehdr;
elfhdr           1077 arch/powerpc/kernel/prom_init.c 	Elf32_Ehdr	elfhdr;
elfhdr           1110 arch/powerpc/kernel/prom_init.c 	.elfhdr = {
elfhdr             12 arch/x86/um/elfcore.c 	return vsyscall_ehdr ? (((struct elfhdr *)vsyscall_ehdr)->e_phnum) : 0;
elfhdr             18 arch/x86/um/elfcore.c 		const struct elfhdr *const ehdrp =
elfhdr             19 arch/x86/um/elfcore.c 			(struct elfhdr *) vsyscall_ehdr;
elfhdr             45 arch/x86/um/elfcore.c 		const struct elfhdr *const ehdrp =
elfhdr             46 arch/x86/um/elfcore.c 			(struct elfhdr *) vsyscall_ehdr;
elfhdr             66 arch/x86/um/elfcore.c 		const struct elfhdr *const ehdrp =
elfhdr             67 arch/x86/um/elfcore.c 			(struct elfhdr *)vsyscall_ehdr;
elfhdr            164 fs/binfmt_elf.c create_elf_tables(struct linux_binprm *bprm, struct elfhdr *exec,
elfhdr            416 fs/binfmt_elf.c static struct elf_phdr *load_elf_phdrs(const struct elfhdr *elf_ex,
elfhdr            494 fs/binfmt_elf.c static inline int arch_elf_pt_proc(struct elfhdr *ehdr,
elfhdr            518 fs/binfmt_elf.c static inline int arch_check_elf(struct elfhdr *ehdr, bool has_interp,
elfhdr            519 fs/binfmt_elf.c 				 struct elfhdr *interp_ehdr,
elfhdr            546 fs/binfmt_elf.c static unsigned long load_elf_interp(struct elfhdr *interp_elf_ex,
elfhdr            689 fs/binfmt_elf.c 		struct elfhdr elf_ex;
elfhdr            690 fs/binfmt_elf.c 		struct elfhdr interp_elf_ex;
elfhdr            702 fs/binfmt_elf.c 	loc->elf_ex = *((struct elfhdr *)bprm->buf);
elfhdr           1181 fs/binfmt_elf.c 	struct elfhdr elf_ex;
elfhdr           1426 fs/binfmt_elf.c static void fill_elf_header(struct elfhdr *elf, int segs,
elfhdr           1440 fs/binfmt_elf.c 	elf->e_phoff = sizeof(struct elfhdr);
elfhdr           1442 fs/binfmt_elf.c 	elf->e_ehsize = sizeof(struct elfhdr);
elfhdr           1760 fs/binfmt_elf.c static int fill_note_info(struct elfhdr *elf, int phdrs,
elfhdr           2009 fs/binfmt_elf.c static int fill_note_info(struct elfhdr *elf, int phdrs,
elfhdr           2161 fs/binfmt_elf.c static void fill_extnum_info(struct elfhdr *elf, struct elf_shdr *shdr4extnum,
elfhdr           2191 fs/binfmt_elf.c 	struct elfhdr *elf = NULL;
elfhdr            104 fs/binfmt_elf_fdpic.c static int is_elf(struct elfhdr *hdr, struct file *file)
elfhdr            125 fs/binfmt_elf_fdpic.c static int is_constdisp(struct elfhdr *hdr)
elfhdr            205 fs/binfmt_elf_fdpic.c 	exec_params.hdr = *(struct elfhdr *) bprm->buf;
elfhdr            285 fs/binfmt_elf_fdpic.c 			interp_params.hdr = *((struct elfhdr *) bprm->buf);
elfhdr           1290 fs/binfmt_elf_fdpic.c static inline void fill_elf_fdpic_header(struct elfhdr *elf, int segs)
elfhdr           1303 fs/binfmt_elf_fdpic.c 	elf->e_phoff = sizeof(struct elfhdr);
elfhdr           1306 fs/binfmt_elf_fdpic.c 	elf->e_ehsize = sizeof(struct elfhdr);
elfhdr           1474 fs/binfmt_elf_fdpic.c static void fill_extnum_info(struct elfhdr *elf, struct elf_shdr *shdr4extnum,
elfhdr           1556 fs/binfmt_elf_fdpic.c 	struct elfhdr *elf = NULL;
elfhdr             32 fs/binfmt_em86.c 	struct elfhdr	elf_ex;
elfhdr             35 fs/binfmt_em86.c 	elf_ex = *((struct elfhdr *)bprm->buf);
elfhdr            115 fs/proc/kcore.c 	*data_offset = PAGE_ALIGN(sizeof(struct elfhdr) + *phdrs_len +
elfhdr            329 fs/proc/kcore.c 	phdrs_offset = sizeof(struct elfhdr);
elfhdr            333 fs/proc/kcore.c 	if (buflen && *fpos < sizeof(struct elfhdr)) {
elfhdr            334 fs/proc/kcore.c 		struct elfhdr ehdr = {
elfhdr            348 fs/proc/kcore.c 			.e_phoff = sizeof(struct elfhdr),
elfhdr            350 fs/proc/kcore.c 			.e_ehsize = sizeof(struct elfhdr),
elfhdr            355 fs/proc/kcore.c 		tsz = min_t(size_t, buflen, sizeof(struct elfhdr) - *fpos);
elfhdr             17 include/linux/elf-fdpic.h 	struct elfhdr			hdr;		/* ref copy of ELF header */
elfhdr            229 include/linux/kexec.h 	const struct elfhdr *ehdr;
elfhdr            233 include/linux/kexec.h int kexec_build_elf_info(const char *buf, size_t len, struct elfhdr *ehdr,
elfhdr            236 include/linux/kexec.h int kexec_elf_load(struct kimage *image, struct elfhdr *ehdr,
elfhdr             24 kernel/kexec_elf.c static inline bool elf_is_elf_file(const struct elfhdr *ehdr)
elfhdr             29 kernel/kexec_elf.c static uint64_t elf64_to_cpu(const struct elfhdr *ehdr, uint64_t value)
elfhdr             39 kernel/kexec_elf.c static uint32_t elf32_to_cpu(const struct elfhdr *ehdr, uint32_t value)
elfhdr             49 kernel/kexec_elf.c static uint16_t elf16_to_cpu(const struct elfhdr *ehdr, uint16_t value)
elfhdr             63 kernel/kexec_elf.c static bool elf_is_ehdr_sane(const struct elfhdr *ehdr, size_t buf_len)
elfhdr            119 kernel/kexec_elf.c static int elf_read_ehdr(const char *buf, size_t len, struct elfhdr *ehdr)
elfhdr            121 kernel/kexec_elf.c 	struct elfhdr *buf_ehdr;
elfhdr            144 kernel/kexec_elf.c 	buf_ehdr = (struct elfhdr *) buf;
elfhdr            208 kernel/kexec_elf.c 	const struct elfhdr *ehdr = elf_info->ehdr;
elfhdr            255 kernel/kexec_elf.c 	const struct elfhdr *ehdr = elf_info->ehdr;
elfhdr            297 kernel/kexec_elf.c 				struct elfhdr *ehdr,
elfhdr            327 kernel/kexec_elf.c int kexec_build_elf_info(const char *buf, size_t len, struct elfhdr *ehdr,
elfhdr            367 kernel/kexec_elf.c 	struct elfhdr ehdr;
elfhdr            388 kernel/kexec_elf.c int kexec_elf_load(struct kimage *image, struct elfhdr *ehdr,