Home
last modified time | relevance | path

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

/Linux-v5.4/arch/arm64/kernel/
Dmachine_kexec.c148 bool in_kexec_crash = (kimage == kexec_crash_image); in machine_kexec()
198 if ((kimage != kexec_crash_image) && (kimage->head & IND_DONE)) in machine_kexec()
279 kexec_segment_flush(kexec_crash_image); in arch_kexec_protect_crashkres()
281 for (i = 0; i < kexec_crash_image->nr_segments; i++) in arch_kexec_protect_crashkres()
283 __phys_to_virt(kexec_crash_image->segment[i].mem), in arch_kexec_protect_crashkres()
284 kexec_crash_image->segment[i].memsz >> PAGE_SHIFT, 0); in arch_kexec_protect_crashkres()
291 for (i = 0; i < kexec_crash_image->nr_segments; i++) in arch_kexec_unprotect_crashkres()
293 __phys_to_virt(kexec_crash_image->segment[i].mem), in arch_kexec_unprotect_crashkres()
294 kexec_crash_image->segment[i].memsz >> PAGE_SHIFT, 1); in arch_kexec_unprotect_crashkres()
304 if (kexec_crash_image) in crash_prepare_suspend()
[all …]
/Linux-v5.4/kernel/
Dkexec.c114 dest_image = &kexec_crash_image; in do_kexec_load()
115 if (kexec_crash_image) in do_kexec_load()
132 kimage_free(xchg(&kexec_crash_image, NULL)); in do_kexec_load()
166 if ((flags & KEXEC_ON_CRASH) && kexec_crash_image) in do_kexec_load()
Dkexec_core.c93 return !!kexec_crash_image; in kexec_crash_loaded()
930 struct kimage *kexec_crash_image; variable
949 if (kexec_crash_image) { in __crash_kexec()
955 machine_kexec(kexec_crash_image); in __crash_kexec()
1015 if (kexec_crash_image) { in crash_shrink_memory()
Dkexec_file.c392 dest_image = &kexec_crash_image; in SYSCALL_DEFINE5()
393 if (kexec_crash_image) in SYSCALL_DEFINE5()
406 kimage_free(xchg(&kexec_crash_image, NULL)); in SYSCALL_DEFINE5()
452 if ((flags & KEXEC_FILE_ON_CRASH) && kexec_crash_image) in SYSCALL_DEFINE5()
/Linux-v5.4/arch/s390/kernel/
Dmachine_kexec.c50 if (kexec_crash_image) in machine_kdump_pm_cb()
55 if (kexec_crash_image) in machine_kdump_pm_cb()
/Linux-v5.4/include/linux/
Dkexec.h313 extern struct kimage *kexec_crash_image;
/Linux-v5.4/arch/x86/kernel/
Dmachine_kexec_64.c640 control = PFN_PHYS(page_to_pfn(kexec_crash_image->control_code_page)); in kexec_mark_crashkres()
/Linux-v5.4/arch/x86/platform/uv/
Duv_nmi.c807 if (!kexec_crash_image) { in uv_nmi_kdump()
/Linux-v5.4/arch/mips/cavium-octeon/
Dsetup.c214 if (kimage_ptr != kexec_crash_image) { in octeon_generic_shutdown()