Home
last modified time | relevance | path

Searched refs:elfhdr (Results 1 – 16 of 16) sorted by relevance

/linux-4.4.14/arch/x86/um/
Delfcore.c11 return vsyscall_ehdr ? (((struct elfhdr *)vsyscall_ehdr)->e_phnum) : 0; in elf_core_extra_phdrs()
17 const struct elfhdr *const ehdrp = in elf_core_write_extra_phdrs()
18 (struct elfhdr *) vsyscall_ehdr; in elf_core_write_extra_phdrs()
44 const struct elfhdr *const ehdrp = in elf_core_write_extra_data()
45 (struct elfhdr *) vsyscall_ehdr; in elf_core_write_extra_data()
65 const struct elfhdr *const ehdrp = in elf_core_extra_data_size()
66 (struct elfhdr *)vsyscall_ehdr; in elf_core_extra_data_size()
/linux-4.4.14/include/linux/
Delf.h26 #define elfhdr elf32_hdr macro
36 #define elfhdr elf64_hdr macro
Delf-fdpic.h21 struct elfhdr hdr; /* ref copy of ELF header */
/linux-4.4.14/arch/powerpc/kernel/
Dfadump.c247 size += sizeof(struct elfhdr); /* ELF core header.*/ in get_fadump_area_size()
529 struct elfhdr *elf; in fadump_update_elfcore_header()
532 elf = (struct elfhdr *)bufp; in fadump_update_elfcore_header()
533 bufp += sizeof(struct elfhdr); in fadump_update_elfcore_header()
765 struct elfhdr *elf; in fadump_init_elfcore_header()
767 elf = (struct elfhdr *) bufp; in fadump_init_elfcore_header()
768 bufp += sizeof(struct elfhdr); in fadump_init_elfcore_header()
779 elf->e_phoff = sizeof(struct elfhdr); in fadump_init_elfcore_header()
782 elf->e_ehsize = sizeof(struct elfhdr); in fadump_init_elfcore_header()
838 struct elfhdr *elf; in fadump_create_elfcore_headers()
[all …]
Dprom_init.c741 Elf32_Ehdr elfhdr; member
774 .elfhdr = {
/linux-4.4.14/fs/
Dbinfmt_em86.c30 struct elfhdr elf_ex; in load_em86()
33 elf_ex = *((struct elfhdr *)bprm->buf); in load_em86()
Dcompat_binfmt_elf.c29 #undef elfhdr
34 #define elfhdr elf32_hdr macro
Dbinfmt_elf.c151 create_elf_tables(struct linux_binprm *bprm, struct elfhdr *exec, in create_elf_tables()
400 static struct elf_phdr *load_elf_phdrs(struct elfhdr *elf_ex, in load_elf_phdrs()
481 static inline int arch_elf_pt_proc(struct elfhdr *ehdr, in arch_elf_pt_proc()
504 static inline int arch_check_elf(struct elfhdr *ehdr, bool has_interp, in arch_check_elf()
518 static unsigned long load_elf_interp(struct elfhdr *interp_elf_ex, in load_elf_interp()
682 struct elfhdr elf_ex; in load_elf_binary()
683 struct elfhdr interp_elf_ex; in load_elf_binary()
694 loc->elf_ex = *((struct elfhdr *)bprm->buf); in load_elf_binary()
1114 struct elfhdr elf_ex; in load_elf_library()
1353 static void fill_elf_header(struct elfhdr *elf, int segs, in fill_elf_header()
[all …]
Dbinfmt_elf_fdpic.c107 static int is_elf(struct elfhdr *hdr, struct file *file) in is_elf()
128 static int is_constdisp(struct elfhdr *hdr) in is_constdisp()
207 exec_params.hdr = *(struct elfhdr *) bprm->buf; in load_elf_fdpic_binary()
287 interp_params.hdr = *((struct elfhdr *) bprm->buf); in load_elf_fdpic_binary()
1314 static inline void fill_elf_fdpic_header(struct elfhdr *elf, int segs) in fill_elf_fdpic_header()
1327 elf->e_phoff = sizeof(struct elfhdr); in fill_elf_fdpic_header()
1330 elf->e_ehsize = sizeof(struct elfhdr); in fill_elf_fdpic_header()
1498 static void fill_extnum_info(struct elfhdr *elf, struct elf_shdr *shdr4extnum, in fill_extnum_info()
1578 struct elfhdr *elf = NULL; in elf_fdpic_core_dump()
/linux-4.4.14/fs/proc/
Dkcore.c89 *elf_buflen = sizeof(struct elfhdr) + in get_kcore_size()
324 struct elfhdr *elf; in elf_kcore_store_hdr()
330 elf = (struct elfhdr *) bufp; in elf_kcore_store_hdr()
331 bufp += sizeof(struct elfhdr); in elf_kcore_store_hdr()
332 offset += sizeof(struct elfhdr); in elf_kcore_store_hdr()
343 elf->e_phoff = sizeof(struct elfhdr); in elf_kcore_store_hdr()
346 elf->e_ehsize = sizeof(struct elfhdr); in elf_kcore_store_hdr()
/linux-4.4.14/arch/alpha/boot/tools/
Dobjstrip.c30 # define elfhdr elf64_hdr macro
60 struct elfhdr *elf; in main()
148 elf = (struct elfhdr *) buf; in main()
/linux-4.4.14/arch/ia64/hp/sim/boot/
Dbootloader.c63 struct elfhdr *elf; in start_bootloader()
113 elf = (struct elfhdr *) mem; in start_bootloader()
/linux-4.4.14/arch/mips/include/asm/
Delf.h228 struct elfhdr *__h = (hdr); \
259 struct elfhdr *__h = (hdr); \
/linux-4.4.14/arch/mips/kernel/
Dbinfmt_elfn32.c36 struct elfhdr *__h = (hdr); \
Dbinfmt_elfo32.c48 struct elfhdr *__h = (hdr); \
/linux-4.4.14/arch/ia64/include/asm/
Delf.h209 #define GATE_EHDR ((const struct elfhdr *) GATE_ADDR)