Lines Matching refs:mend
129 unsigned long mstart, mend; in sanity_check_segment_list() local
132 mend = mstart + image->segment[i].memsz; in sanity_check_segment_list()
133 if (mstart > mend) in sanity_check_segment_list()
135 if ((mstart & ~PAGE_MASK) || (mend & ~PAGE_MASK)) in sanity_check_segment_list()
137 if (mend >= KEXEC_DESTINATION_MEMORY_LIMIT) in sanity_check_segment_list()
147 unsigned long mstart, mend; in sanity_check_segment_list() local
151 mend = mstart + image->segment[i].memsz; in sanity_check_segment_list()
158 if ((mend > pstart) && (mstart < pend)) in sanity_check_segment_list()
201 unsigned long mstart, mend; in sanity_check_segment_list() local
204 mend = mstart + image->segment[i].memsz - 1; in sanity_check_segment_list()
207 (mend > phys_to_boot_phys(crashk_res.end))) in sanity_check_segment_list()
256 unsigned long mstart, mend; in kimage_is_destination_range() local
259 mend = mstart + image->segment[i].memsz - 1; in kimage_is_destination_range()
260 if ((end >= mstart) && (start <= mend)) in kimage_is_destination_range()
425 unsigned long mstart, mend; in kimage_alloc_crash_control_pages() local
428 mend = mstart + image->segment[i].memsz - 1; in kimage_alloc_crash_control_pages()
429 if ((hole_end >= mstart) && (hole_start <= mend)) { in kimage_alloc_crash_control_pages()
431 hole_start = ALIGN(mend, size); in kimage_alloc_crash_control_pages()