Lines Matching refs:mend
181 unsigned long mstart, mend; in sanity_check_segment_list() local
184 mend = mstart + image->segment[i].memsz; in sanity_check_segment_list()
185 if ((mstart & ~PAGE_MASK) || (mend & ~PAGE_MASK)) in sanity_check_segment_list()
187 if (mend >= KEXEC_DESTINATION_MEMORY_LIMIT) in sanity_check_segment_list()
198 unsigned long mstart, mend; in sanity_check_segment_list() local
202 mend = mstart + image->segment[i].memsz; in sanity_check_segment_list()
208 if ((mend > pstart) && (mstart < pend)) in sanity_check_segment_list()
237 unsigned long mstart, mend; in sanity_check_segment_list() local
240 mend = mstart + image->segment[i].memsz - 1; in sanity_check_segment_list()
243 (mend > crashk_res.end)) in sanity_check_segment_list()
629 unsigned long mstart, mend; in kimage_is_destination_range() local
632 mend = mstart + image->segment[i].memsz; in kimage_is_destination_range()
633 if ((end > mstart) && (start < mend)) in kimage_is_destination_range()
785 unsigned long mstart, mend; in kimage_alloc_crash_control_pages() local
788 mend = mstart + image->segment[i].memsz - 1; in kimage_alloc_crash_control_pages()
789 if ((hole_end >= mstart) && (hole_start <= mend)) { in kimage_alloc_crash_control_pages()
791 hole_start = (mend + (size - 1)) & ~(size - 1); in kimage_alloc_crash_control_pages()