Home
last modified time | relevance | path

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

/linux-6.1.9/arch/arm64/kernel/
Dmachine_kexec.c180 bool in_kexec_crash = (kimage == kexec_crash_image); in machine_kexec()
275 for (i = 0; i < kexec_crash_image->nr_segments; i++) in arch_kexec_protect_crashkres()
277 __phys_to_virt(kexec_crash_image->segment[i].mem), in arch_kexec_protect_crashkres()
278 kexec_crash_image->segment[i].memsz >> PAGE_SHIFT, 0); in arch_kexec_protect_crashkres()
285 for (i = 0; i < kexec_crash_image->nr_segments; i++) in arch_kexec_unprotect_crashkres()
287 __phys_to_virt(kexec_crash_image->segment[i].mem), in arch_kexec_unprotect_crashkres()
288 kexec_crash_image->segment[i].memsz >> PAGE_SHIFT, 1); in arch_kexec_unprotect_crashkres()
298 if (kexec_crash_image) in crash_prepare_suspend()
304 if (kexec_crash_image) in crash_post_resume()
340 if (!kexec_crash_image) in crash_is_nosave()
[all …]
/linux-6.1.9/kernel/
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()
160 if ((flags & KEXEC_ON_CRASH) && kexec_crash_image) in do_kexec_load()
Dkexec_core.c94 return !!kexec_crash_image; in kexec_crash_loaded()
930 struct kimage *kexec_crash_image; variable
971 if (kexec_crash_image) { in __crash_kexec()
977 machine_kexec(kexec_crash_image); in __crash_kexec()
1031 if (kexec_crash_image) { in crash_shrink_memory()
Dkexec_file.c347 dest_image = &kexec_crash_image; in SYSCALL_DEFINE5()
348 if (kexec_crash_image) in SYSCALL_DEFINE5()
361 kimage_free(xchg(&kexec_crash_image, NULL)); in SYSCALL_DEFINE5()
411 if ((flags & KEXEC_FILE_ON_CRASH) && kexec_crash_image) in SYSCALL_DEFINE5()
/linux-6.1.9/include/linux/
Dkexec.h408 extern struct kimage *kexec_crash_image;
/linux-6.1.9/arch/x86/kernel/
Dmachine_kexec_64.c553 control = PFN_PHYS(page_to_pfn(kexec_crash_image->control_code_page)); in kexec_mark_crashkres()
/linux-6.1.9/arch/x86/platform/uv/
Duv_nmi.c844 if (!kexec_crash_image) { in uv_nmi_kdump()
/linux-6.1.9/arch/mips/cavium-octeon/
Dsetup.c215 if (kimage_ptr != kexec_crash_image) { in octeon_generic_shutdown()
/linux-6.1.9/arch/powerpc/kernel/
Dsmp.c641 if (kexec_crash_image) { in crash_smp_send_stop()