Lines Matching refs:image
77 static void __do_machine_kdump(void *image) in __do_machine_kdump() argument
80 int (*start_kdump)(int) = (void *)((struct kimage *) image)->start; in __do_machine_kdump()
91 static int kdump_csum_valid(struct kimage *image) in kdump_csum_valid() argument
94 int (*start_kdump)(int) = (void *)image->start; in kdump_csum_valid()
152 int machine_kexec_prepare(struct kimage *image) in machine_kexec_prepare() argument
160 if (image->type == KEXEC_TYPE_CRASH) in machine_kexec_prepare()
164 if (image->type != KEXEC_TYPE_DEFAULT) in machine_kexec_prepare()
168 reboot_code_buffer = (void *) page_to_phys(image->control_code_page); in machine_kexec_prepare()
175 void machine_kexec_cleanup(struct kimage *image) in machine_kexec_cleanup() argument
196 struct kimage *image = data; in __do_machine_kexec() local
198 data_mover = (relocate_kernel_t) page_to_phys(image->control_code_page); in __do_machine_kexec()
201 (*data_mover)(&image->head, image->start); in __do_machine_kexec()
209 struct kimage *image = data; in __machine_kexec() local
214 if (image->type == KEXEC_TYPE_CRASH) { in __machine_kexec()
227 void machine_kexec(struct kimage *image) in machine_kexec() argument
229 if (image->type == KEXEC_TYPE_CRASH && !kdump_csum_valid(image)) in machine_kexec()
233 smp_call_ipl_cpu(__machine_kexec, image); in machine_kexec()