Home
last modified time | relevance | path

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

/openbmc/linux/arch/arm64/kernel/
H A Dmachine_kexec.c181 bool in_kexec_crash = (kimage == kexec_crash_image); in machine_kexec()
279 if (kexec_crash_image) in crash_prepare_suspend()
285 if (kexec_crash_image) in crash_post_resume()
321 if (!kexec_crash_image) in crash_is_nosave()
325 for (i = 0; i < kexec_crash_image->nr_segments; i++) in crash_is_nosave()
326 if (addr >= kexec_crash_image->segment[i].mem && in crash_is_nosave()
327 addr < (kexec_crash_image->segment[i].mem + in crash_is_nosave()
328 kexec_crash_image->segment[i].memsz)) in crash_is_nosave()
/openbmc/linux/kernel/
H A Dkexec.c103 dest_image = &kexec_crash_image; in do_kexec_load()
104 if (kexec_crash_image) in do_kexec_load()
122 kimage_free(xchg(&kexec_crash_image, NULL)); in do_kexec_load()
165 if ((flags & KEXEC_ON_CRASH) && kexec_crash_image) in do_kexec_load()
H A Dcrash_core.c768 if (kexec_crash_image) { in crash_check_update_elfcorehdr()
769 if (kexec_crash_image->file_mode) in crash_check_update_elfcorehdr()
772 rc = kexec_crash_image->update_elfcorehdr; in crash_check_update_elfcorehdr()
808 if (!kexec_crash_image) in crash_handle_hotplug_event()
811 image = kexec_crash_image; in crash_handle_hotplug_event()
H A Dkexec_core.c92 return !!kexec_crash_image; in kexec_crash_loaded()
944 struct kimage *kexec_crash_image; variable
1061 if (kexec_crash_image) { in __crash_kexec()
1067 machine_kexec(kexec_crash_image); in __crash_kexec()
1152 if (kexec_crash_image) { in crash_shrink_memory()
H A Dkexec_file.c348 dest_image = &kexec_crash_image; in SYSCALL_DEFINE5()
349 if (kexec_crash_image) in SYSCALL_DEFINE5()
364 kimage_free(xchg(&kexec_crash_image, NULL)); in SYSCALL_DEFINE5()
414 if ((flags & KEXEC_FILE_ON_CRASH) && kexec_crash_image) in SYSCALL_DEFINE5()
/openbmc/linux/arch/x86/kernel/
H A Dcrash.c485 xchg(&kexec_crash_image, NULL); in arch_crash_handle_hotplug_event()
487 xchg(&kexec_crash_image, image); in arch_crash_handle_hotplug_event()
H A Dmachine_kexec_64.c549 control = PFN_PHYS(page_to_pfn(kexec_crash_image->control_code_page)); in kexec_mark_crashkres()
/openbmc/linux/include/linux/
H A Dkexec.h393 extern struct kimage *kexec_crash_image;
/openbmc/linux/arch/x86/platform/uv/
H A Duv_nmi.c840 if (!kexec_crash_image) { in uv_nmi_kdump()
/openbmc/linux/arch/mips/cavium-octeon/
H A Dsetup.c215 if (kimage_ptr != kexec_crash_image) { in octeon_generic_shutdown()
/openbmc/linux/arch/powerpc/kernel/
H A Dsmp.c644 if (kexec_crash_image) { in crash_smp_send_stop()