Home
last modified time | relevance | path

Searched refs:kimage (Results 1 – 25 of 38) sorted by relevance

12

/arch/arm64/kernel/
Dmachine_kexec.c36 const struct kimage *kimage) in _kexec_image_info() argument
42 pr_debug(" type: %d\n", kimage->type); in _kexec_image_info()
43 pr_debug(" start: %lx\n", kimage->start); in _kexec_image_info()
44 pr_debug(" head: %lx\n", kimage->head); in _kexec_image_info()
45 pr_debug(" nr_segments: %lu\n", kimage->nr_segments); in _kexec_image_info()
46 pr_debug(" kern_reloc: %pa\n", &kimage->arch.kern_reloc); in _kexec_image_info()
48 for (i = 0; i < kimage->nr_segments; i++) { in _kexec_image_info()
51 kimage->segment[i].mem, in _kexec_image_info()
52 kimage->segment[i].mem + kimage->segment[i].memsz, in _kexec_image_info()
53 kimage->segment[i].memsz, in _kexec_image_info()
[all …]
/arch/parisc/kernel/
Dkexec.c20 static void kexec_show_segment_info(const struct kimage *kimage, in kexec_show_segment_info() argument
25 kimage->segment[n].mem, in kexec_show_segment_info()
26 kimage->segment[n].mem + kimage->segment[n].memsz, in kexec_show_segment_info()
27 (unsigned long)kimage->segment[n].memsz, in kexec_show_segment_info()
28 (unsigned long)kimage->segment[n].memsz / PAGE_SIZE); in kexec_show_segment_info()
31 static void kexec_image_info(const struct kimage *kimage) in kexec_image_info() argument
36 pr_debug(" type: %d\n", kimage->type); in kexec_image_info()
37 pr_debug(" start: %lx\n", kimage->start); in kexec_image_info()
38 pr_debug(" head: %lx\n", kimage->head); in kexec_image_info()
39 pr_debug(" nr_segments: %lu\n", kimage->nr_segments); in kexec_image_info()
[all …]
/arch/mips/kernel/
Dmachine_kexec.c33 static void kexec_image_info(const struct kimage *kimage) in kexec_image_info() argument
38 pr_debug(" type: %d\n", kimage->type); in kexec_image_info()
39 pr_debug(" start: %lx\n", kimage->start); in kexec_image_info()
40 pr_debug(" head: %lx\n", kimage->head); in kexec_image_info()
41 pr_debug(" nr_segments: %lu\n", kimage->nr_segments); in kexec_image_info()
43 for (i = 0; i < kimage->nr_segments; i++) { in kexec_image_info()
46 kimage->segment[i].mem, in kexec_image_info()
47 kimage->segment[i].mem + kimage->segment[i].memsz, in kexec_image_info()
48 (unsigned long)kimage->segment[i].memsz, in kexec_image_info()
49 (unsigned long)kimage->segment[i].memsz / PAGE_SIZE); in kexec_image_info()
[all …]
/arch/powerpc/include/asm/
Dkexec.h79 struct kimage;
81 extern void default_machine_kexec(struct kimage *image);
82 extern int default_machine_kexec_prepare(struct kimage *image);
113 char *setup_kdump_cmdline(struct kimage *image, char *cmdline,
115 int setup_purgatory(struct kimage *image, const void *slave_code,
122 int load_crashdump_segments_ppc64(struct kimage *image,
124 int setup_purgatory_ppc64(struct kimage *image, const void *slave_code,
127 unsigned int kexec_extra_fdt_size_ppc64(struct kimage *image);
128 int setup_new_fdt_ppc64(const struct kimage *image, void *fdt,
Dmachdep.h25 struct kimage;
195 int (*machine_kexec_prepare)(struct kimage *image);
201 void (*machine_kexec)(struct kimage *image);
/arch/m68k/kernel/
Dmachine_kexec.c17 int machine_kexec_prepare(struct kimage *kimage) in machine_kexec_prepare() argument
22 void machine_kexec_cleanup(struct kimage *kimage) in machine_kexec_cleanup() argument
38 void machine_kexec(struct kimage *image) in machine_kexec()
/arch/s390/kernel/
Dmachine_kexec.c62 start_kdump = (void *)((struct kimage *) image)->start; in __do_machine_kdump()
114 struct kimage *image = (struct kimage *) addr; in do_start_kdump()
129 static bool kdump_csum_valid(struct kimage *image) in kdump_csum_valid()
199 int machine_kexec_prepare(struct kimage *image) in machine_kexec_prepare()
218 void machine_kexec_cleanup(struct kimage *image) in machine_kexec_cleanup()
248 struct kimage *image = data; in __do_machine_kexec()
270 if (((struct kimage *) data)->type == KEXEC_TYPE_CRASH) in __machine_kexec()
280 void machine_kexec(struct kimage *image) in machine_kexec()
Dmachine_kexec_file.c82 static int kexec_file_update_purgatory(struct kimage *image, in kexec_file_update_purgatory()
125 static int kexec_file_add_purgatory(struct kimage *image, in kexec_file_add_purgatory()
146 static int kexec_file_add_initrd(struct kimage *image, in kexec_file_add_initrd()
174 static int kexec_file_add_ipl_report(struct kimage *image, in kexec_file_add_ipl_report()
232 void *kexec_file_add_components(struct kimage *image, in kexec_file_add_components()
233 int (*add_kernel)(struct kimage *image, in kexec_file_add_components()
337 int arch_kexec_kernel_image_probe(struct kimage *image, void *buf, in arch_kexec_kernel_image_probe()
351 int arch_kimage_file_post_load_cleanup(struct kimage *image) in arch_kimage_file_post_load_cleanup()
Dkexec_image.c16 static int kexec_file_add_kernel_image(struct kimage *image, in kexec_file_add_kernel_image()
43 static void *s390_image_load(struct kimage *image, in s390_image_load()
/arch/x86/include/asm/
Dcrash.h5 struct kimage;
7 int crash_load_segments(struct kimage *image);
8 int crash_setup_memmap_entries(struct kimage *image,
/arch/ia64/kernel/
Dmachine_kexec.c35 struct kimage *ia64_kimage;
57 int machine_kexec_prepare(struct kimage *image) in machine_kexec_prepare()
74 void machine_kexec_cleanup(struct kimage *image) in machine_kexec_cleanup()
84 struct kimage *image = arg; in ia64_machine_kexec()
137 void machine_kexec(struct kimage *image) in machine_kexec()
/arch/arm64/include/asm/
Dkexec.h104 struct kimage;
106 extern int arch_kimage_file_post_load_cleanup(struct kimage *image);
107 extern int load_other_segments(struct kimage *image,
/arch/s390/include/asm/
Dkexec.h55 struct kimage;
73 void *kexec_file_add_components(struct kimage *image,
74 int (*add_kernel)(struct kimage *image,
/arch/x86/kernel/
Dmachine_kexec_32.c43 static void machine_kexec_free_page_tables(struct kimage *image) in machine_kexec_free_page_tables()
59 static int machine_kexec_alloc_page_tables(struct kimage *image) in machine_kexec_alloc_page_tables()
100 static void machine_kexec_prepare_page_tables(struct kimage *image) in machine_kexec_prepare_page_tables()
135 int machine_kexec_prepare(struct kimage *image) in machine_kexec_prepare()
151 void machine_kexec_cleanup(struct kimage *image) in machine_kexec_cleanup()
161 void machine_kexec(struct kimage *image) in machine_kexec()
Dmachine_kexec_64.c111 static void free_transition_pgtable(struct kimage *image) in free_transition_pgtable()
123 static int init_transition_pgtable(struct kimage *image, pgd_t *pgd) in init_transition_pgtable()
180 struct kimage *image = (struct kimage *)data; in alloc_pgt_page()
193 static int init_pgtable(struct kimage *image, unsigned long start_pgtable) in init_pgtable()
271 int machine_kexec_prepare(struct kimage *image) in machine_kexec_prepare()
287 void machine_kexec_cleanup(struct kimage *image) in machine_kexec_cleanup()
296 void machine_kexec(struct kimage *image) in machine_kexec()
374 void *arch_kexec_kernel_image_load(struct kimage *image) in arch_kexec_kernel_image_load()
512 int arch_kimage_file_post_load_cleanup(struct kimage *image) in arch_kimage_file_post_load_cleanup()
Dcrash.c233 static int prepare_elf_headers(struct kimage *image, void **addr, in prepare_elf_headers()
287 static int memmap_exclude_ranges(struct kimage *image, struct crash_mem *cmem, in memmap_exclude_ranges()
304 int crash_setup_memmap_entries(struct kimage *image, struct boot_params *params) in crash_setup_memmap_entries()
371 int crash_load_segments(struct kimage *image) in crash_load_segments()
/arch/mips/include/asm/
Dkexec.h35 struct kimage;
37 extern int (*_machine_kexec_prepare)(struct kimage *);
/arch/sh/kernel/
Dmachine_kexec.c41 int machine_kexec_prepare(struct kimage *image) in machine_kexec_prepare()
46 void machine_kexec_cleanup(struct kimage *image) in machine_kexec_cleanup()
50 static void kexec_info(struct kimage *image) in kexec_info()
69 void machine_kexec(struct kimage *image) in machine_kexec()
/arch/riscv/kernel/
Dmachine_kexec.c25 kexec_image_info(const struct kimage *image) in kexec_image_info()
55 machine_kexec_prepare(struct kimage *image) in machine_kexec_prepare()
118 machine_kexec_cleanup(struct kimage *image) in machine_kexec_cleanup()
222 machine_kexec(struct kimage *image) in machine_kexec()
/arch/powerpc/kexec/
Dcore_32.c29 void default_machine_kexec(struct kimage *image) in default_machine_kexec()
66 int default_machine_kexec_prepare(struct kimage *image) in default_machine_kexec_prepare()
Dfile_load.c36 char *setup_kdump_cmdline(struct kimage *image, char *cmdline, in setup_kdump_cmdline()
71 int setup_purgatory(struct kimage *image, const void *slave_code, in setup_purgatory()
Dcore.c56 int machine_kexec_prepare(struct kimage *image) in machine_kexec_prepare()
64 void machine_kexec_cleanup(struct kimage *image) in machine_kexec_cleanup()
96 void machine_kexec(struct kimage *image) in machine_kexec()
Dcore_64.c35 int default_machine_kexec_prepare(struct kimage *image) in default_machine_kexec_prepare()
112 notrace void kexec_copy_flush(struct kimage *image) in kexec_copy_flush()
303 void default_machine_kexec(struct kimage *image) in default_machine_kexec()
Dfile_load_64.c719 static int load_backup_segment(struct kimage *image, struct kexec_buf *kbuf) in load_backup_segment()
763 static void update_backup_region_phdr(struct kimage *image, Elf64_Ehdr *ehdr) in update_backup_region_phdr()
787 static int load_elfcorehdr_segment(struct kimage *image, struct kexec_buf *kbuf) in load_elfcorehdr_segment()
835 int load_crashdump_segments_ppc64(struct kimage *image, in load_crashdump_segments_ppc64()
872 int setup_purgatory_ppc64(struct kimage *image, const void *slave_code, in setup_purgatory_ppc64()
936 unsigned int kexec_extra_fdt_size_ppc64(struct kimage *image) in kexec_extra_fdt_size_ppc64()
1052 int setup_new_fdt_ppc64(const struct kimage *image, void *fdt, in setup_new_fdt_ppc64()
1193 int arch_kexec_kernel_image_probe(struct kimage *image, void *buf, in arch_kexec_kernel_image_probe()
1215 int arch_kimage_file_post_load_cleanup(struct kimage *image) in arch_kimage_file_post_load_cleanup()
/arch/arm/kernel/
Dmachine_kexec.c33 int machine_kexec_prepare(struct kimage *image) in machine_kexec_prepare()
72 void machine_kexec_cleanup(struct kimage *image) in machine_kexec_cleanup()
162 void machine_kexec(struct kimage *image) in machine_kexec()

12