Searched refs:new_rgn (Results 1 – 2 of 2) sorted by relevance
/linux/tools/testing/memblock/tests/ |
H A D | alloc_exact_nid_api.c | 30 struct memblock_region *new_rgn = &memblock.reserved.regions[0]; in alloc_exact_nid_top_down_numa_simple_check() local 52 ASSERT_EQ(new_rgn->size, size); in alloc_exact_nid_top_down_numa_simple_check() 53 ASSERT_EQ(new_rgn->base, region_end(req_node) - size); in alloc_exact_nid_top_down_numa_simple_check() 54 ASSERT_LE(req_node->base, new_rgn->base); in alloc_exact_nid_top_down_numa_simple_check() 82 struct memblock_region *new_rgn = &memblock.reserved.regions[1]; in alloc_exact_nid_top_down_numa_part_reserved_check() local 108 ASSERT_EQ(new_rgn->size, size); in alloc_exact_nid_top_down_numa_part_reserved_check() 109 ASSERT_EQ(new_rgn->base, region_end(req_node) - size); in alloc_exact_nid_top_down_numa_part_reserved_check() 110 ASSERT_LE(req_node->base, new_rgn->base); in alloc_exact_nid_top_down_numa_part_reserved_check() 143 struct memblock_region *new_rgn = &memblock.reserved.regions[0]; in alloc_exact_nid_top_down_numa_split_range_low_check() local 165 ASSERT_EQ(new_rgn->size, size); in alloc_exact_nid_top_down_numa_split_range_low_check() [all …]
|
H A D | alloc_nid_api.c | 1246 struct memblock_region *new_rgn = &memblock.reserved.regions[0]; in alloc_nid_top_down_numa_simple_check() local 1267 ASSERT_EQ(new_rgn->size, size); in alloc_nid_top_down_numa_simple_check() 1268 ASSERT_EQ(new_rgn->base, region_end(req_node) - size); in alloc_nid_top_down_numa_simple_check() 1269 ASSERT_LE(req_node->base, new_rgn->base); in alloc_nid_top_down_numa_simple_check() 1298 struct memblock_region *new_rgn = &memblock.reserved.regions[0]; in alloc_nid_top_down_numa_small_node_check() local 1319 ASSERT_EQ(new_rgn->size, size); in alloc_nid_top_down_numa_small_node_check() 1320 ASSERT_EQ(new_rgn->base, region_end(exp_node) - size); in alloc_nid_top_down_numa_small_node_check() 1321 ASSERT_LE(exp_node->base, new_rgn->base); in alloc_nid_top_down_numa_small_node_check() 1351 struct memblock_region *new_rgn = &memblock.reserved.regions[1]; in alloc_nid_top_down_numa_node_reserved_check() local 1373 ASSERT_EQ(new_rgn->size, size); in alloc_nid_top_down_numa_node_reserved_check() [all …]
|