Searched refs:elfhdr (Results 1 – 12 of 12) sorted by relevance
| /linux/arch/riscv/kernel/ |
| H A D | kexec_elf.c | 24 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 D | elf.h | 41 #define elfhdr elf32_hdr macro 53 #define elfhdr elf64_hdr macro
|
| H A D | kexec.h | 324 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 D | elf-fdpic.h | 29 struct elfhdr hdr; /* ref copy of ELF header */
|
| /linux/arch/alpha/boot/tools/ |
| H A D | objstrip.c | 31 # define elfhdr elf64_hdr macro 61 struct elfhdr *elf; in main() 149 elf = (struct elfhdr *) buf; in main()
|
| /linux/arch/loongarch/kernel/ |
| H A D | kexec_elf.c | 21 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 D | fadump.c | 762 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 D | elf.h | 243 struct elfhdr *__h = (hdr); \ 259 struct elfhdr *__h = (hdr); \
|
| /linux/fs/ |
| H A D | binfmt_elf_fdpic.c | 104 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 D | kexec_file.c | 23 struct elfhdr ehdr; in elf_load()
|
| /linux/arch/mips/include/asm/ |
| H A D | elf.h | 283 struct elfhdr *__h = (hdr); \ 311 struct elfhdr *__h = (hdr); \
|
| /linux/arch/powerpc/kexec/ |
| H A D | elf_64.c | 38 struct elfhdr ehdr; in elf64_load()
|