Searched refs:mid (Results 1 – 1 of 1) sorted by relevance
1717 unsigned int mid = (right + left) / 2; in memblock_search() local1719 if (addr < type->regions[mid].base) in memblock_search()1720 right = mid; in memblock_search()1721 else if (addr >= (type->regions[mid].base + in memblock_search()1722 type->regions[mid].size)) in memblock_search()1723 left = mid + 1; in memblock_search()1725 return mid; in memblock_search()1754 int mid = memblock_search(type, PFN_PHYS(pfn)); in memblock_search_pfn_nid() local1756 if (mid == -1) in memblock_search_pfn_nid()1759 *start_pfn = PFN_DOWN(type->regions[mid].base); in memblock_search_pfn_nid()[all …]