Home
last modified time | relevance | path

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

/linux/arch/arm64/kernel/
H A Dmachine_kexec.c167 bool in_kexec_crash = (kimage == kexec_crash_image); in machine_kexec()
234 if (kexec_crash_image) in crash_prepare_suspend()
240 if (kexec_crash_image) in crash_post_resume()
276 if (!kexec_crash_image) in crash_is_nosave()
280 for (i = 0; i < kexec_crash_image->nr_segments; i++) in crash_is_nosave()
281 if (addr >= kexec_crash_image->segment[i].mem && in crash_is_nosave()
282 addr < (kexec_crash_image->segment[i].mem + in crash_is_nosave()
283 kexec_crash_image->segment[i].memsz)) in crash_is_nosave()
/linux/kernel/
H A Dcrash_core.c102 return !!kexec_crash_image; in kexec_crash_loaded()
130 if (kexec_crash_image) { in __crash_kexec()
137 machine_kexec(kexec_crash_image); in __crash_kexec()
387 if (kexec_crash_image) { in crash_shrink_memory()
528 if (kexec_crash_image) { in crash_check_hotplug_support()
529 rc = kexec_crash_image->hotplug_support; in crash_check_hotplug_support()
573 if (!kexec_crash_image) in crash_handle_hotplug_event()
576 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 Dcrash_dump_dm_crypt.c94 kexec_crash_image->dm_crypt_keys_addr >> PAGE_SHIFT)); in get_keys_from_kdump_reserved_memory()
274 if (!kexec_crash_image || !kexec_crash_image->dm_crypt_keys_addr) { in config_keys_reuse_store()
H A Dkexec_file.c387 dest_image = &kexec_crash_image; in SYSCALL_DEFINE5()
388 if (kexec_crash_image) in SYSCALL_DEFINE5()
403 kimage_free(xchg(&kexec_crash_image, NULL)); in SYSCALL_DEFINE5()
462 if ((flags & KEXEC_FILE_ON_CRASH) && kexec_crash_image) in SYSCALL_DEFINE5()
H A Dkexec_core.c1035 struct kimage *kexec_crash_image; variable
/linux/arch/x86/kernel/
H A Dmachine_kexec_64.c627 control = PFN_PHYS(page_to_pfn(kexec_crash_image->control_code_page)); in kexec_mark_crashkres()
639 if (kexec_crash_image->dm_crypt_keys_addr) { in kexec_mark_dm_crypt_keys()
640 start_paddr = kexec_crash_image->dm_crypt_keys_addr; in kexec_mark_dm_crypt_keys()
641 end_paddr = start_paddr + kexec_crash_image->dm_crypt_keys_sz - 1; in kexec_mark_dm_crypt_keys()
H A Dcrash.c549 xchg(&kexec_crash_image, NULL); in arch_crash_handle_hotplug_event()
551 xchg(&kexec_crash_image, image); in arch_crash_handle_hotplug_event()
/linux/include/linux/
H A Dkexec.h445 extern struct kimage *kexec_crash_image;
/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()