Home
last modified time | relevance | path

Searched refs:rgn1 (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/tools/testing/memblock/tests/
Dbasic_api.c119 struct memblock_region *rgn1, *rgn2; in memblock_add_disjoint_check() local
121 rgn1 = &memblock.memory.regions[0]; in memblock_add_disjoint_check()
139 ASSERT_EQ(rgn1->base, r1.base); in memblock_add_disjoint_check()
140 ASSERT_EQ(rgn1->size, r1.size); in memblock_add_disjoint_check()
490 struct memblock_region *rgn1, *rgn2; in memblock_reserve_disjoint_check() local
492 rgn1 = &memblock.reserved.regions[0]; in memblock_reserve_disjoint_check()
510 ASSERT_EQ(rgn1->base, r1.base); in memblock_reserve_disjoint_check()
511 ASSERT_EQ(rgn1->size, r1.size); in memblock_reserve_disjoint_check()
1048 struct memblock_region *rgn1, *rgn2; in memblock_remove_within_check() local
1051 rgn1 = &memblock.memory.regions[0]; in memblock_remove_within_check()
[all …]
Dalloc_api.c73 struct memblock_region *rgn1 = &memblock.reserved.regions[1]; in alloc_top_down_disjoint_check() local
99 ASSERT_EQ(rgn1->size, r1.size); in alloc_top_down_disjoint_check()
100 ASSERT_EQ(rgn1->base, r1.base); in alloc_top_down_disjoint_check()
550 struct memblock_region *rgn1 = &memblock.reserved.regions[0]; in alloc_bottom_up_disjoint_check() local
576 ASSERT_EQ(rgn1->size, r1.size); in alloc_bottom_up_disjoint_check()
577 ASSERT_EQ(rgn1->base, r1.base); in alloc_bottom_up_disjoint_check()
Dalloc_nid_api.c405 struct memblock_region *rgn1 = &memblock.reserved.regions[1]; in alloc_try_nid_top_down_reserved_with_space_check() local
438 ASSERT_EQ(rgn1->size, r1.size + r3_size); in alloc_try_nid_top_down_reserved_with_space_check()
439 ASSERT_EQ(rgn1->base, max_addr - r3_size); in alloc_try_nid_top_down_reserved_with_space_check()
532 struct memblock_region *rgn1 = &memblock.reserved.regions[1]; in alloc_try_nid_top_down_reserved_no_space_check() local
565 ASSERT_EQ(rgn1->size, r1.size); in alloc_try_nid_top_down_reserved_no_space_check()
566 ASSERT_EQ(rgn1->base, r1.base); in alloc_try_nid_top_down_reserved_no_space_check()
878 struct memblock_region *rgn1 = &memblock.reserved.regions[1]; in alloc_try_nid_bottom_up_reserved_with_space_check() local
911 ASSERT_EQ(rgn1->size, r1.size); in alloc_try_nid_bottom_up_reserved_with_space_check()
912 ASSERT_EQ(rgn1->base, max_addr); in alloc_try_nid_bottom_up_reserved_with_space_check()
947 struct memblock_region *rgn1 = &memblock.reserved.regions[2]; in alloc_try_nid_bottom_up_reserved_no_space_check() local
[all …]