Home
last modified time | relevance | path

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

/Linux-v4.19/arch/arm64/kernel/
Dmachine_kexec.c151 bool in_kexec_crash = (kimage == kexec_crash_image); in machine_kexec()
201 if ((kimage != kexec_crash_image) && (kimage->head & IND_DONE)) in machine_kexec()
274 kexec_segment_flush(kexec_crash_image); in arch_kexec_protect_crashkres()
276 for (i = 0; i < kexec_crash_image->nr_segments; i++) in arch_kexec_protect_crashkres()
278 __phys_to_virt(kexec_crash_image->segment[i].mem), in arch_kexec_protect_crashkres()
279 kexec_crash_image->segment[i].memsz >> PAGE_SHIFT, 0); in arch_kexec_protect_crashkres()
286 for (i = 0; i < kexec_crash_image->nr_segments; i++) in arch_kexec_unprotect_crashkres()
288 __phys_to_virt(kexec_crash_image->segment[i].mem), in arch_kexec_unprotect_crashkres()
289 kexec_crash_image->segment[i].memsz >> PAGE_SHIFT, 1); in arch_kexec_unprotect_crashkres()
299 if (kexec_crash_image) in crash_prepare_suspend()
[all …]
/Linux-v4.19/kernel/
Dkexec.c116 dest_image = &kexec_crash_image; in do_kexec_load()
117 if (kexec_crash_image) in do_kexec_load()
134 kimage_free(xchg(&kexec_crash_image, NULL)); in do_kexec_load()
168 if ((flags & KEXEC_ON_CRASH) && kexec_crash_image) in do_kexec_load()
Dkexec_core.c95 return !!kexec_crash_image; in kexec_crash_loaded()
923 struct kimage *kexec_crash_image; variable
942 if (kexec_crash_image) { in __crash_kexec()
948 machine_kexec(kexec_crash_image); in __crash_kexec()
1008 if (kexec_crash_image) { in crash_shrink_memory()
Dkexec_file.c342 dest_image = &kexec_crash_image; in SYSCALL_DEFINE5()
343 if (kexec_crash_image) in SYSCALL_DEFINE5()
356 kimage_free(xchg(&kexec_crash_image, NULL)); in SYSCALL_DEFINE5()
402 if ((flags & KEXEC_FILE_ON_CRASH) && kexec_crash_image) in SYSCALL_DEFINE5()
/Linux-v4.19/arch/s390/kernel/
Dmachine_kexec.c49 if (kexec_crash_image) in machine_kdump_pm_cb()
54 if (kexec_crash_image) in machine_kdump_pm_cb()
/Linux-v4.19/include/linux/
Dkexec.h280 extern struct kimage *kexec_crash_image;
/Linux-v4.19/arch/x86/kernel/
Dmachine_kexec_64.c542 control = PFN_PHYS(page_to_pfn(kexec_crash_image->control_code_page)); in kexec_mark_crashkres()
/Linux-v4.19/arch/x86/platform/uv/
Duv_nmi.c820 if (!kexec_crash_image) { in uv_nmi_kdump()
/Linux-v4.19/arch/mips/cavium-octeon/
Dsetup.c212 if (kimage_ptr != kexec_crash_image) { in octeon_generic_shutdown()