Lines Matching refs:mend
169 unsigned long mstart, mend; in sanity_check_segment_list() local
172 mend = mstart + image->segment[i].memsz; in sanity_check_segment_list()
173 if (mstart > mend) in sanity_check_segment_list()
175 if ((mstart & ~PAGE_MASK) || (mend & ~PAGE_MASK)) in sanity_check_segment_list()
177 if (mend >= KEXEC_DESTINATION_MEMORY_LIMIT) in sanity_check_segment_list()
187 unsigned long mstart, mend; in sanity_check_segment_list() local
191 mend = mstart + image->segment[i].memsz; in sanity_check_segment_list()
198 if ((mend > pstart) && (mstart < pend)) in sanity_check_segment_list()
240 unsigned long mstart, mend; in sanity_check_segment_list() local
243 mend = mstart + image->segment[i].memsz - 1; in sanity_check_segment_list()
246 (mend > phys_to_boot_phys(crashk_res.end))) in sanity_check_segment_list()
288 unsigned long mstart, mend; in kimage_is_destination_range() local
291 mend = mstart + image->segment[i].memsz; in kimage_is_destination_range()
292 if ((end > mstart) && (start < mend)) in kimage_is_destination_range()
456 unsigned long mstart, mend; in kimage_alloc_crash_control_pages() local
459 mend = mstart + image->segment[i].memsz - 1; in kimage_alloc_crash_control_pages()
460 if ((hole_end >= mstart) && (hole_start <= mend)) { in kimage_alloc_crash_control_pages()
462 hole_start = (mend + (size - 1)) & ~(size - 1); in kimage_alloc_crash_control_pages()