Lines Matching refs:kexec_crash_image
173 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()
295 if (kexec_crash_image) in crash_post_resume()
326 if (!kexec_crash_image) in crash_is_nosave()
330 for (i = 0; i < kexec_crash_image->nr_segments; i++) in crash_is_nosave()
331 if (addr >= kexec_crash_image->segment[i].mem && in crash_is_nosave()
332 addr < (kexec_crash_image->segment[i].mem + in crash_is_nosave()
333 kexec_crash_image->segment[i].memsz)) in crash_is_nosave()