Home
last modified time | relevance | path

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

/Linux-v5.10/arch/arm64/kernel/
Dmachine_kexec.c148 bool in_kexec_crash = (kimage == kexec_crash_image); in machine_kexec()
187 if ((kimage != kexec_crash_image) && (kimage->head & IND_DONE)) in machine_kexec()
268 kexec_segment_flush(kexec_crash_image); in arch_kexec_protect_crashkres()
270 for (i = 0; i < kexec_crash_image->nr_segments; i++) in arch_kexec_protect_crashkres()
272 __phys_to_virt(kexec_crash_image->segment[i].mem), in arch_kexec_protect_crashkres()
273 kexec_crash_image->segment[i].memsz >> PAGE_SHIFT, 0); in arch_kexec_protect_crashkres()
280 for (i = 0; i < kexec_crash_image->nr_segments; i++) in arch_kexec_unprotect_crashkres()
282 __phys_to_virt(kexec_crash_image->segment[i].mem), in arch_kexec_unprotect_crashkres()
283 kexec_crash_image->segment[i].memsz >> PAGE_SHIFT, 1); in arch_kexec_unprotect_crashkres()
293 if (kexec_crash_image) in crash_prepare_suspend()
[all …]
/Linux-v5.10/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()
170 if ((flags & KEXEC_ON_CRASH) && kexec_crash_image) in do_kexec_load()
Dkexec_core.c93 return !!kexec_crash_image; in kexec_crash_loaded()
936 struct kimage *kexec_crash_image; variable
955 if (kexec_crash_image) { in __crash_kexec()
961 machine_kexec(kexec_crash_image); in __crash_kexec()
1021 if (kexec_crash_image) { in crash_shrink_memory()
Dkexec_file.c371 dest_image = &kexec_crash_image; in SYSCALL_DEFINE5()
372 if (kexec_crash_image) in SYSCALL_DEFINE5()
385 kimage_free(xchg(&kexec_crash_image, NULL)); in SYSCALL_DEFINE5()
435 if ((flags & KEXEC_FILE_ON_CRASH) && kexec_crash_image) in SYSCALL_DEFINE5()
/Linux-v5.10/include/linux/
Dkexec.h320 extern struct kimage *kexec_crash_image;
/Linux-v5.10/arch/x86/kernel/
Dmachine_kexec_64.c573 control = PFN_PHYS(page_to_pfn(kexec_crash_image->control_code_page)); in kexec_mark_crashkres()
/Linux-v5.10/arch/x86/platform/uv/
Duv_nmi.c849 if (!kexec_crash_image) { in uv_nmi_kdump()
/Linux-v5.10/arch/mips/cavium-octeon/
Dsetup.c215 if (kimage_ptr != kexec_crash_image) { in octeon_generic_shutdown()