Home
last modified time | relevance | path

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

/Linux-v5.15/arch/arm64/kernel/
Dmachine_kexec.c173 bool in_kexec_crash = (kimage == kexec_crash_image); in machine_kexec()
187 if ((kimage != kexec_crash_image) && (kimage->head & IND_DONE)) in machine_kexec()
264 kexec_segment_flush(kexec_crash_image); in arch_kexec_protect_crashkres()
266 for (i = 0; i < kexec_crash_image->nr_segments; i++) in arch_kexec_protect_crashkres()
268 __phys_to_virt(kexec_crash_image->segment[i].mem), in arch_kexec_protect_crashkres()
269 kexec_crash_image->segment[i].memsz >> PAGE_SHIFT, 0); in arch_kexec_protect_crashkres()
276 for (i = 0; i < kexec_crash_image->nr_segments; i++) in arch_kexec_unprotect_crashkres()
278 __phys_to_virt(kexec_crash_image->segment[i].mem), in arch_kexec_unprotect_crashkres()
279 kexec_crash_image->segment[i].memsz >> PAGE_SHIFT, 1); in arch_kexec_unprotect_crashkres()
289 if (kexec_crash_image) in crash_prepare_suspend()
[all …]
/Linux-v5.15/kernel/
Dkexec.c106 dest_image = &kexec_crash_image; in do_kexec_load()
107 if (kexec_crash_image) in do_kexec_load()
125 kimage_free(xchg(&kexec_crash_image, NULL)); in do_kexec_load()
163 if ((flags & KEXEC_ON_CRASH) && kexec_crash_image) in do_kexec_load()
Dkexec_core.c94 return !!kexec_crash_image; in kexec_crash_loaded()
937 struct kimage *kexec_crash_image; variable
956 if (kexec_crash_image) { in __crash_kexec()
962 machine_kexec(kexec_crash_image); in __crash_kexec()
1021 if (kexec_crash_image) { in crash_shrink_memory()
Dkexec_file.c376 dest_image = &kexec_crash_image; in SYSCALL_DEFINE5()
377 if (kexec_crash_image) in SYSCALL_DEFINE5()
390 kimage_free(xchg(&kexec_crash_image, NULL)); in SYSCALL_DEFINE5()
440 if ((flags & KEXEC_FILE_ON_CRASH) && kexec_crash_image) in SYSCALL_DEFINE5()
/Linux-v5.15/include/linux/
Dkexec.h335 extern struct kimage *kexec_crash_image;
/Linux-v5.15/arch/x86/kernel/
Dmachine_kexec_64.c544 control = PFN_PHYS(page_to_pfn(kexec_crash_image->control_code_page)); in kexec_mark_crashkres()
/Linux-v5.15/arch/x86/platform/uv/
Duv_nmi.c843 if (!kexec_crash_image) { in uv_nmi_kdump()
/Linux-v5.15/arch/mips/cavium-octeon/
Dsetup.c215 if (kimage_ptr != kexec_crash_image) { in octeon_generic_shutdown()