Home
last modified time | relevance | path

Searched refs:kexec_crash_image (Results 1 – 11 of 11) sorted by relevance

/linux/arch/arm64/kernel/
H A Dmachine_kexec.c167 bool in_kexec_crash = (kimage == kexec_crash_image); in machine_kexec()
265 if (kexec_crash_image) in crash_prepare_suspend()
271 if (kexec_crash_image) in crash_post_resume()
307 if (!kexec_crash_image) in crash_is_nosave()
311 for (i = 0; i < kexec_crash_image->nr_segments; i++) in crash_is_nosave()
312 if (addr >= kexec_crash_image->segment[i].mem && in crash_is_nosave()
313 addr < (kexec_crash_image->segment[i].mem + in crash_is_nosave()
314 kexec_crash_image->segment[i].memsz)) in crash_is_nosave()
/linux/kernel/
H A Dcrash_core.c96 return !!kexec_crash_image; in kexec_crash_loaded()
116 if (kexec_crash_image) { in __crash_kexec()
122 machine_kexec(kexec_crash_image); in __crash_kexec()
372 if (kexec_crash_image) { in crash_shrink_memory()
513 if (kexec_crash_image) { in crash_check_hotplug_support()
514 rc = kexec_crash_image->hotplug_support; in crash_check_hotplug_support()
558 if (!kexec_crash_image) in crash_handle_hotplug_event()
561 image = kexec_crash_image; in crash_handle_hotplug_event()
H A Dkexec.c108 dest_image = &kexec_crash_image; in do_kexec_load()
109 if (kexec_crash_image) in do_kexec_load()
127 kimage_free(xchg(&kexec_crash_image, NULL)); in do_kexec_load()
171 if ((flags & KEXEC_ON_CRASH) && kexec_crash_image) in do_kexec_load()
H A Dkexec_file.c356 dest_image = &kexec_crash_image; in SYSCALL_DEFINE5()
357 if (kexec_crash_image) in SYSCALL_DEFINE5()
372 kimage_free(xchg(&kexec_crash_image, NULL)); in SYSCALL_DEFINE5()
431 if ((flags & KEXEC_FILE_ON_CRASH) && kexec_crash_image) in SYSCALL_DEFINE5()
H A Dkexec_core.c887 struct kimage *kexec_crash_image; variable
/linux/arch/powerpc/kexec/
H A Dcrash.c477 xchg(&kexec_crash_image, NULL); in update_crash_elfcorehdr()
483 xchg(&kexec_crash_image, image); in update_crash_elfcorehdr()
537 xchg(&kexec_crash_image, NULL); in update_crash_fdt()
544 xchg(&kexec_crash_image, image); in update_crash_fdt()
/linux/arch/x86/kernel/
H A Dcrash.c509 xchg(&kexec_crash_image, NULL); in arch_crash_handle_hotplug_event()
511 xchg(&kexec_crash_image, image); in arch_crash_handle_hotplug_event()
H A Dmachine_kexec_64.c575 control = PFN_PHYS(page_to_pfn(kexec_crash_image->control_code_page)); in kexec_mark_crashkres()
/linux/arch/x86/platform/uv/
H A Duv_nmi.c843 if (!kexec_crash_image) { in uv_nmi_kdump()
/linux/arch/mips/cavium-octeon/
H A Dsetup.c215 if (kimage_ptr != kexec_crash_image) { in octeon_generic_shutdown()
/linux/arch/powerpc/kernel/
H A Dsmp.c636 if (kexec_crash_image) { in crash_smp_send_stop()