Lines Matching refs:mend
170 unsigned long mstart, mend; in sanity_check_segment_list() local
173 mend = mstart + image->segment[i].memsz; in sanity_check_segment_list()
174 if (mstart > mend) in sanity_check_segment_list()
176 if ((mstart & ~PAGE_MASK) || (mend & ~PAGE_MASK)) in sanity_check_segment_list()
178 if (mend >= KEXEC_DESTINATION_MEMORY_LIMIT) in sanity_check_segment_list()
188 unsigned long mstart, mend; in sanity_check_segment_list() local
192 mend = mstart + image->segment[i].memsz; in sanity_check_segment_list()
199 if ((mend > pstart) && (mstart < pend)) in sanity_check_segment_list()
241 unsigned long mstart, mend; in sanity_check_segment_list() local
244 mend = mstart + image->segment[i].memsz - 1; in sanity_check_segment_list()
247 (mend > phys_to_boot_phys(crashk_res.end))) in sanity_check_segment_list()
289 unsigned long mstart, mend; in kimage_is_destination_range() local
292 mend = mstart + image->segment[i].memsz; in kimage_is_destination_range()
293 if ((end > mstart) && (start < mend)) in kimage_is_destination_range()
457 unsigned long mstart, mend; in kimage_alloc_crash_control_pages() local
460 mend = mstart + image->segment[i].memsz - 1; in kimage_alloc_crash_control_pages()
461 if ((hole_end >= mstart) && (hole_start <= mend)) { in kimage_alloc_crash_control_pages()
463 hole_start = (mend + (size - 1)) & ~(size - 1); in kimage_alloc_crash_control_pages()