Lines Matching refs:segment
51 kimage->segment[i].mem, in _kexec_image_info()
52 kimage->segment[i].mem + kimage->segment[i].memsz, in _kexec_image_info()
53 kimage->segment[i].memsz, in _kexec_image_info()
54 kimage->segment[i].memsz / PAGE_SIZE); in _kexec_image_info()
154 kimage->segment[i].mem, in kexec_segment_flush()
155 kimage->segment[i].mem + kimage->segment[i].memsz, in kexec_segment_flush()
156 kimage->segment[i].memsz, in kexec_segment_flush()
157 kimage->segment[i].memsz / PAGE_SIZE); in kexec_segment_flush()
160 (unsigned long)phys_to_virt(kimage->segment[i].mem), in kexec_segment_flush()
161 (unsigned long)phys_to_virt(kimage->segment[i].mem) + in kexec_segment_flush()
162 kimage->segment[i].memsz); in kexec_segment_flush()
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()
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()
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()