Searched refs:mid (Results 1 – 4 of 4) sorted by relevance
1753 unsigned int mid = (right + left) / 2; in memblock_search() local1755 if (addr < type->regions[mid].base) in memblock_search()1756 right = mid; in memblock_search()1757 else if (addr >= (type->regions[mid].base + in memblock_search()1758 type->regions[mid].size)) in memblock_search()1759 left = mid + 1; in memblock_search()1761 return mid; in memblock_search()1789 int mid = memblock_search(type, PFN_PHYS(pfn)); in memblock_search_pfn_nid() local1791 if (mid == -1) in memblock_search_pfn_nid()1794 *start_pfn = PFN_DOWN(type->regions[mid].base); in memblock_search_pfn_nid()[all …]
119 s->wmarks.high, s->wmarks.mid, s->wmarks.low, in sprint_schemes()211 &wmarks.interval, &wmarks.high, &wmarks.mid, in str_to_schemes()221 if (wmarks.high < wmarks.mid || wmarks.high < wmarks.low || in str_to_schemes()222 wmarks.mid < wmarks.low) in str_to_schemes()
114 scheme->wmarks.mid = wmarks->mid; in damon_new_scheme()966 if ((scheme->wmarks.high >= metric && metric >= scheme->wmarks.mid) && in damos_wmark_wait_us()
259 .mid = wmarks_mid, in damon_reclaim_new_scheme()