Lines Matching refs:kexec_crash_image
148 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()
299 if (kexec_crash_image) in crash_post_resume()
330 if (!kexec_crash_image) in crash_is_nosave()
334 for (i = 0; i < kexec_crash_image->nr_segments; i++) in crash_is_nosave()
335 if (addr >= kexec_crash_image->segment[i].mem && in crash_is_nosave()
336 addr < (kexec_crash_image->segment[i].mem + in crash_is_nosave()
337 kexec_crash_image->segment[i].memsz)) in crash_is_nosave()