Home
last modified time | relevance | path

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

/linux-6.1.9/tools/testing/memblock/tests/
Dalloc_nid_api.c1684 struct memblock_region *min_node = &memblock.memory.regions[2]; in alloc_try_nid_top_down_numa_no_overlap_low_check() local
1694 min_addr = min_node->base; in alloc_try_nid_top_down_numa_no_overlap_low_check()
1740 struct memblock_region *min_node = &memblock.memory.regions[2]; in alloc_try_nid_top_down_numa_no_overlap_high_check() local
1750 min_addr = min_node->base; in alloc_try_nid_top_down_numa_no_overlap_high_check()
2232 struct memblock_region *min_node = &memblock.memory.regions[2]; in alloc_try_nid_bottom_up_numa_no_overlap_low_check() local
2242 min_addr = min_node->base; in alloc_try_nid_bottom_up_numa_no_overlap_low_check()
2253 ASSERT_LE(region_end(new_rgn), region_end(min_node)); in alloc_try_nid_bottom_up_numa_no_overlap_low_check()
2288 struct memblock_region *min_node = &memblock.memory.regions[2]; in alloc_try_nid_bottom_up_numa_no_overlap_high_check() local
2298 min_addr = min_node->base; in alloc_try_nid_bottom_up_numa_no_overlap_high_check()
2309 ASSERT_LE(region_end(new_rgn), region_end(min_node)); in alloc_try_nid_bottom_up_numa_no_overlap_high_check()
/linux-6.1.9/mm/
Dmempolicy.c143 int min_dist = INT_MAX, dist, n, min_node; in numa_map_to_online_node() local
148 min_node = node; in numa_map_to_online_node()
153 min_node = n; in numa_map_to_online_node()
157 return min_node; in numa_map_to_online_node()