Lines Matching refs:kexec_crash_image
180 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()
344 for (i = 0; i < kexec_crash_image->nr_segments; i++) in crash_is_nosave()
345 if (addr >= kexec_crash_image->segment[i].mem && in crash_is_nosave()
346 addr < (kexec_crash_image->segment[i].mem + in crash_is_nosave()
347 kexec_crash_image->segment[i].memsz)) in crash_is_nosave()