Lines Matching refs:mend
166 unsigned long mstart, mend; in sanity_check_segment_list() local
169 mend = mstart + image->segment[i].memsz; in sanity_check_segment_list()
170 if ((mstart & ~PAGE_MASK) || (mend & ~PAGE_MASK)) in sanity_check_segment_list()
172 if (mend >= KEXEC_DESTINATION_MEMORY_LIMIT) in sanity_check_segment_list()
183 unsigned long mstart, mend; in sanity_check_segment_list() local
187 mend = mstart + image->segment[i].memsz; in sanity_check_segment_list()
194 if ((mend > pstart) && (mstart < pend)) in sanity_check_segment_list()
223 unsigned long mstart, mend; in sanity_check_segment_list() local
226 mend = mstart + image->segment[i].memsz - 1; in sanity_check_segment_list()
229 (mend > crashk_res.end)) in sanity_check_segment_list()
271 unsigned long mstart, mend; in kimage_is_destination_range() local
274 mend = mstart + image->segment[i].memsz; in kimage_is_destination_range()
275 if ((end > mstart) && (start < mend)) in kimage_is_destination_range()
428 unsigned long mstart, mend; in kimage_alloc_crash_control_pages() local
431 mend = mstart + image->segment[i].memsz - 1; in kimage_alloc_crash_control_pages()
432 if ((hole_end >= mstart) && (hole_start <= mend)) { in kimage_alloc_crash_control_pages()
434 hole_start = (mend + (size - 1)) & ~(size - 1); in kimage_alloc_crash_control_pages()