Home
last modified time | relevance | path

Searched refs:mid (Results 1 – 4 of 4) sorted by relevance

/mm/
Dmemblock.c1730 unsigned int mid = (right + left) / 2; in memblock_search() local
1732 if (addr < type->regions[mid].base) in memblock_search()
1733 right = mid; in memblock_search()
1734 else if (addr >= (type->regions[mid].base + in memblock_search()
1735 type->regions[mid].size)) in memblock_search()
1736 left = mid + 1; in memblock_search()
1738 return mid; in memblock_search()
1766 int mid = memblock_search(type, PFN_PHYS(pfn)); in memblock_search_pfn_nid() local
1768 if (mid == -1) in memblock_search_pfn_nid()
1771 *start_pfn = PFN_DOWN(type->regions[mid].base); in memblock_search_pfn_nid()
[all …]
/mm/damon/
Ddbgfs.c119 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()
Dcore.c114 scheme->wmarks.mid = wmarks->mid; in damon_new_scheme()
958 if ((scheme->wmarks.high >= metric && metric >= scheme->wmarks.mid) && in damos_wmark_wait_us()
Dreclaim.c259 .mid = wmarks_mid, in damon_reclaim_new_scheme()