Lines Matching refs:mend
132 unsigned long mstart, mend; in sanity_check_segment_list() local
135 mend = mstart + image->segment[i].memsz; in sanity_check_segment_list()
136 if (mstart > mend) in sanity_check_segment_list()
138 if ((mstart & ~PAGE_MASK) || (mend & ~PAGE_MASK)) in sanity_check_segment_list()
140 if (mend >= KEXEC_DESTINATION_MEMORY_LIMIT) in sanity_check_segment_list()
150 unsigned long mstart, mend; in sanity_check_segment_list() local
154 mend = mstart + image->segment[i].memsz; in sanity_check_segment_list()
161 if ((mend > pstart) && (mstart < pend)) in sanity_check_segment_list()
204 unsigned long mstart, mend; in sanity_check_segment_list() local
207 mend = mstart + image->segment[i].memsz - 1; in sanity_check_segment_list()
210 (mend > phys_to_boot_phys(crashk_res.end))) in sanity_check_segment_list()
268 unsigned long mstart, mend; in kimage_is_destination_range() local
271 mend = mstart + image->segment[i].memsz - 1; in kimage_is_destination_range()
272 if ((end >= mstart) && (start <= mend)) in kimage_is_destination_range()
437 unsigned long mstart, mend; in kimage_alloc_crash_control_pages() local
440 mend = mstart + image->segment[i].memsz - 1; in kimage_alloc_crash_control_pages()
441 if ((hole_end >= mstart) && (hole_start <= mend)) { in kimage_alloc_crash_control_pages()
443 hole_start = ALIGN(mend, size); in kimage_alloc_crash_control_pages()