Searched refs:first_gap (Results 1 – 1 of 1) sorted by relevance
131 struct damon_addr_range gap = {0}, first_gap = {0}, second_gap = {0}; in __damon_va_three_regions() local154 if (sz_range(&second_gap) > sz_range(&first_gap)) in __damon_va_three_regions()155 swap_ranges(&second_gap, &first_gap); in __damon_va_three_regions()161 if (!sz_range(&second_gap) || !sz_range(&first_gap)) in __damon_va_three_regions()165 if (first_gap.start > second_gap.start) in __damon_va_three_regions()166 swap_ranges(&first_gap, &second_gap); in __damon_va_three_regions()170 regions[0].end = ALIGN(first_gap.start, DAMON_MIN_REGION); in __damon_va_three_regions()171 regions[1].start = ALIGN(first_gap.end, DAMON_MIN_REGION); in __damon_va_three_regions()