Home
last modified time | relevance | path

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

/linux/arch/riscv/kernel/
H A Dkexec_elf.c24 static int riscv_kexec_elf_load(struct kimage *image, struct elfhdr *ehdr, in riscv_kexec_elf_load()
64 struct elfhdr *ehdr, struct kexec_elf_info *elf_info, in elf_find_pbase()
117 struct elfhdr ehdr; in elf_kexec_load()
/linux/include/linux/
H A Delf.h41 #define elfhdr elf32_hdr macro
53 #define elfhdr elf64_hdr macro
H A Dkexec.h324 const struct elfhdr *ehdr;
328 int kexec_build_elf_info(const char *buf, size_t len, struct elfhdr *ehdr,
331 int kexec_elf_load(struct kimage *image, struct elfhdr *ehdr,
H A Delf-fdpic.h29 struct elfhdr hdr; /* ref copy of ELF header */
/linux/arch/alpha/boot/tools/
H A Dobjstrip.c31 # define elfhdr elf64_hdr macro
61 struct elfhdr *elf; in main()
149 elf = (struct elfhdr *) buf; in main()
/linux/arch/loongarch/kernel/
H A Dkexec_elf.c21 struct elfhdr *ehdr, struct kexec_elf_info *elf_info, in _elf_kexec_load()
61 struct elfhdr ehdr; in elf_kexec_load()
/linux/arch/powerpc/kernel/
H A Dfadump.c762 bufp += sizeof(struct elfhdr); in fadump_update_elfcore_header()
926 struct elfhdr *elf; in fadump_init_elfcore_header()
928 elf = (struct elfhdr *) bufp; in fadump_init_elfcore_header()
929 bufp += sizeof(struct elfhdr); in fadump_init_elfcore_header()
940 elf->e_phoff = sizeof(struct elfhdr); in fadump_init_elfcore_header()
950 elf->e_ehsize = sizeof(struct elfhdr); in fadump_init_elfcore_header()
1006 struct elfhdr *elf; in fadump_populate_elfcorehdr()
1013 elf = (struct elfhdr *)bufp; in fadump_populate_elfcorehdr()
1014 bufp += sizeof(struct elfhdr); in fadump_populate_elfcorehdr()
1657 elfcorehdr_size = sizeof(struct elfhdr) + (elf_phdr_cnt * sizeof(struct elf_phdr)); in fadump_setup_elfcorehdr_buf()
/linux/arch/loongarch/include/asm/
H A Delf.h243 struct elfhdr *__h = (hdr); \
259 struct elfhdr *__h = (hdr); \
/linux/fs/
H A Dbinfmt_elf_fdpic.c104 static int is_elf(struct elfhdr *hdr, struct file *file) in is_elf()
125 static int is_constdisp(struct elfhdr *hdr) in is_constdisp()
205 exec_params.hdr = *(struct elfhdr *) bprm->buf; in load_elf_fdpic_binary()
285 interp_params.hdr = *((struct elfhdr *) bprm->buf); in load_elf_fdpic_binary()
1240 static inline void fill_elf_fdpic_header(struct elfhdr *elf, int segs) in fill_elf_fdpic_header()
1253 elf->e_phoff = sizeof(struct elfhdr); in fill_elf_fdpic_header()
1256 elf->e_ehsize = sizeof(struct elfhdr); in fill_elf_fdpic_header()
1428 static void fill_extnum_info(struct elfhdr *elf, struct elf_shdr *shdr4extnum, in fill_extnum_info()
1474 struct elfhdr *elf = NULL; in elf_fdpic_core_dump()
/linux/arch/parisc/kernel/
H A Dkexec_file.c23 struct elfhdr ehdr; in elf_load()
/linux/arch/mips/include/asm/
H A Delf.h283 struct elfhdr *__h = (hdr); \
311 struct elfhdr *__h = (hdr); \
/linux/arch/powerpc/kexec/
H A Delf_64.c38 struct elfhdr ehdr; in elf64_load()