Home
last modified time | relevance | path

Searched refs:first_gap (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/mm/damon/
H A Dvaddr.c119 struct damon_addr_range first_gap = {0}, second_gap = {0}; in __damon_va_three_regions() local
138 if (gap > sz_range(&first_gap)) { in __damon_va_three_regions()
139 second_gap = first_gap; in __damon_va_three_regions()
140 first_gap.start = prev->vm_end; in __damon_va_three_regions()
141 first_gap.end = vma->vm_start; in __damon_va_three_regions()
150 if (!sz_range(&second_gap) || !sz_range(&first_gap)) in __damon_va_three_regions()
154 if (first_gap.start > second_gap.start) in __damon_va_three_regions()
155 swap(first_gap, second_gap); in __damon_va_three_regions()
159 regions[0].end = ALIGN(first_gap.start, DAMON_MIN_REGION); in __damon_va_three_regions()
160 regions[1].start = ALIGN(first_gap.end, DAMON_MIN_REGION); in __damon_va_three_regions()
/openbmc/qemu/block/
H A Dqcow2-refcount.c2388 bool first_gap = true; in alloc_clusters_imrt() local
2401 if (first_gap) { in alloc_clusters_imrt()
2405 first_gap = false; in alloc_clusters_imrt()