Lines Matching refs:range
163 * Check whether a region is intersecting an address range
229 struct damon_addr_range *range;
231 range = &ranges[i];
232 /* Get the first/last regions intersecting with the range */
234 if (damon_intersect(r, range)) {
239 if (r->ar.start >= range->end)
243 /* no region intersects with this range */
245 ALIGN_DOWN(range->start,
247 ALIGN(range->end, DAMON_MIN_REGION));
252 /* resize intersecting regions to fit in this range */
253 first->ar.start = ALIGN_DOWN(range->start,
255 last->ar.end = ALIGN(range->end, DAMON_MIN_REGION);
257 /* fill possible holes in the range */
879 /* inside the range */
884 /* outside of the range */
889 /* start before the range and overlap */
895 /* start inside the range */