Searched refs:kexec_crash_image (Results 1 – 8 of 8) sorted by relevance
173 bool in_kexec_crash = (kimage == kexec_crash_image); in machine_kexec()187 if ((kimage != kexec_crash_image) && (kimage->head & IND_DONE)) in machine_kexec()264 kexec_segment_flush(kexec_crash_image); in arch_kexec_protect_crashkres()266 for (i = 0; i < kexec_crash_image->nr_segments; i++) in arch_kexec_protect_crashkres()268 __phys_to_virt(kexec_crash_image->segment[i].mem), in arch_kexec_protect_crashkres()269 kexec_crash_image->segment[i].memsz >> PAGE_SHIFT, 0); in arch_kexec_protect_crashkres()276 for (i = 0; i < kexec_crash_image->nr_segments; i++) in arch_kexec_unprotect_crashkres()278 __phys_to_virt(kexec_crash_image->segment[i].mem), in arch_kexec_unprotect_crashkres()279 kexec_crash_image->segment[i].memsz >> PAGE_SHIFT, 1); in arch_kexec_unprotect_crashkres()289 if (kexec_crash_image) in crash_prepare_suspend()[all …]
106 dest_image = &kexec_crash_image; in do_kexec_load()107 if (kexec_crash_image) in do_kexec_load()125 kimage_free(xchg(&kexec_crash_image, NULL)); in do_kexec_load()163 if ((flags & KEXEC_ON_CRASH) && kexec_crash_image) in do_kexec_load()
94 return !!kexec_crash_image; in kexec_crash_loaded()937 struct kimage *kexec_crash_image; variable956 if (kexec_crash_image) { in __crash_kexec()962 machine_kexec(kexec_crash_image); in __crash_kexec()1021 if (kexec_crash_image) { in crash_shrink_memory()
376 dest_image = &kexec_crash_image; in SYSCALL_DEFINE5()377 if (kexec_crash_image) in SYSCALL_DEFINE5()390 kimage_free(xchg(&kexec_crash_image, NULL)); in SYSCALL_DEFINE5()440 if ((flags & KEXEC_FILE_ON_CRASH) && kexec_crash_image) in SYSCALL_DEFINE5()
335 extern struct kimage *kexec_crash_image;
544 control = PFN_PHYS(page_to_pfn(kexec_crash_image->control_code_page)); in kexec_mark_crashkres()
843 if (!kexec_crash_image) { in uv_nmi_kdump()
215 if (kimage_ptr != kexec_crash_image) { in octeon_generic_shutdown()