Lines Matching refs:image
42 static void __do_machine_kdump(void *image) in __do_machine_kdump() argument
62 start_kdump = (void *)((struct kimage *) image)->start; in __do_machine_kdump()
73 static noinline void __machine_kdump(void *image) in __machine_kdump() argument
109 store_status(__do_machine_kdump, image); in __machine_kdump()
114 struct kimage *image = (struct kimage *) addr; in do_start_kdump() local
115 int (*start_kdump)(int) = (void *)image->start; in do_start_kdump()
129 static bool kdump_csum_valid(struct kimage *image) in kdump_csum_valid() argument
136 unsigned long, (unsigned long)image); in kdump_csum_valid()
199 int machine_kexec_prepare(struct kimage *image) in machine_kexec_prepare() argument
203 if (image->type == KEXEC_TYPE_CRASH) in machine_kexec_prepare()
207 if (image->type != KEXEC_TYPE_DEFAULT) in machine_kexec_prepare()
211 reboot_code_buffer = (void *) page_to_phys(image->control_code_page); in machine_kexec_prepare()
218 void machine_kexec_cleanup(struct kimage *image) in machine_kexec_cleanup() argument
248 struct kimage *image = data; in __do_machine_kexec() local
251 data_mover = (relocate_kernel_t) page_to_phys(image->control_code_page); in __do_machine_kexec()
255 (*data_mover)(&image->head, image->start); in __do_machine_kexec()
280 void machine_kexec(struct kimage *image) in machine_kexec() argument
282 if (image->type == KEXEC_TYPE_CRASH && !kdump_csum_valid(image)) in machine_kexec()
286 smp_call_ipl_cpu(__machine_kexec, image); in machine_kexec()