Lines Matching refs:mend
168 unsigned long mstart, mend; in sanity_check_segment_list() local
171 mend = mstart + image->segment[i].memsz; in sanity_check_segment_list()
172 if (mstart > mend) in sanity_check_segment_list()
174 if ((mstart & ~PAGE_MASK) || (mend & ~PAGE_MASK)) in sanity_check_segment_list()
176 if (mend >= KEXEC_DESTINATION_MEMORY_LIMIT) in sanity_check_segment_list()
186 unsigned long mstart, mend; in sanity_check_segment_list() local
190 mend = mstart + image->segment[i].memsz; in sanity_check_segment_list()
197 if ((mend > pstart) && (mstart < pend)) in sanity_check_segment_list()
239 unsigned long mstart, mend; in sanity_check_segment_list() local
242 mend = mstart + image->segment[i].memsz - 1; in sanity_check_segment_list()
245 (mend > phys_to_boot_phys(crashk_res.end))) in sanity_check_segment_list()
293 unsigned long mstart, mend; in kimage_is_destination_range() local
296 mend = mstart + image->segment[i].memsz; in kimage_is_destination_range()
297 if ((end > mstart) && (start < mend)) in kimage_is_destination_range()
461 unsigned long mstart, mend; in kimage_alloc_crash_control_pages() local
464 mend = mstart + image->segment[i].memsz - 1; in kimage_alloc_crash_control_pages()
465 if ((hole_end >= mstart) && (hole_start <= mend)) { in kimage_alloc_crash_control_pages()
467 hole_start = (mend + (size - 1)) & ~(size - 1); in kimage_alloc_crash_control_pages()