Lines Matching refs:reserved
26 struct memblock_region *rgn = &memblock.reserved.regions[0]; in alloc_top_down_simple_check()
44 ASSERT_EQ(memblock.reserved.cnt, 1); in alloc_top_down_simple_check()
45 ASSERT_EQ(memblock.reserved.total_size, size); in alloc_top_down_simple_check()
73 struct memblock_region *rgn1 = &memblock.reserved.regions[1]; in alloc_top_down_disjoint_check()
74 struct memblock_region *rgn2 = &memblock.reserved.regions[0]; in alloc_top_down_disjoint_check()
105 ASSERT_EQ(memblock.reserved.cnt, 2); in alloc_top_down_disjoint_check()
106 ASSERT_EQ(memblock.reserved.total_size, total_size); in alloc_top_down_disjoint_check()
125 struct memblock_region *rgn = &memblock.reserved.regions[0]; in alloc_top_down_before_check()
147 ASSERT_EQ(memblock.reserved.cnt, 1); in alloc_top_down_before_check()
148 ASSERT_EQ(memblock.reserved.total_size, total_size); in alloc_top_down_before_check()
168 struct memblock_region *rgn = &memblock.reserved.regions[0]; in alloc_top_down_after_check()
195 ASSERT_EQ(memblock.reserved.cnt, 1); in alloc_top_down_after_check()
196 ASSERT_EQ(memblock.reserved.total_size, total_size); in alloc_top_down_after_check()
217 struct memblock_region *rgn = &memblock.reserved.regions[0]; in alloc_top_down_second_fit_check()
245 ASSERT_EQ(memblock.reserved.cnt, 2); in alloc_top_down_second_fit_check()
246 ASSERT_EQ(memblock.reserved.total_size, total_size); in alloc_top_down_second_fit_check()
266 struct memblock_region *rgn = &memblock.reserved.regions[0]; in alloc_in_between_generic_check()
299 ASSERT_EQ(memblock.reserved.cnt, 1); in alloc_in_between_generic_check()
300 ASSERT_EQ(memblock.reserved.total_size, total_size); in alloc_in_between_generic_check()
416 struct memblock_region *rgn = &memblock.reserved.regions[0]; in alloc_limited_space_generic_check()
435 ASSERT_EQ(memblock.reserved.cnt, 1); in alloc_limited_space_generic_check()
436 ASSERT_EQ(memblock.reserved.total_size, MEM_SIZE); in alloc_limited_space_generic_check()
450 struct memblock_region *rgn = &memblock.reserved.regions[0]; in alloc_no_memory_generic_check()
462 ASSERT_EQ(memblock.reserved.total_size, 0); in alloc_no_memory_generic_check()
484 struct memblock_region *rgn = &memblock.reserved.regions[0]; in alloc_too_large_generic_check()
495 ASSERT_EQ(memblock.reserved.total_size, 0); in alloc_too_large_generic_check()
509 struct memblock_region *rgn = &memblock.reserved.regions[0]; in alloc_bottom_up_simple_check()
523 ASSERT_EQ(memblock.reserved.cnt, 1); in alloc_bottom_up_simple_check()
524 ASSERT_EQ(memblock.reserved.total_size, SZ_2); in alloc_bottom_up_simple_check()
550 struct memblock_region *rgn1 = &memblock.reserved.regions[0]; in alloc_bottom_up_disjoint_check()
551 struct memblock_region *rgn2 = &memblock.reserved.regions[1]; in alloc_bottom_up_disjoint_check()
582 ASSERT_EQ(memblock.reserved.cnt, 2); in alloc_bottom_up_disjoint_check()
583 ASSERT_EQ(memblock.reserved.total_size, total_size); in alloc_bottom_up_disjoint_check()
602 struct memblock_region *rgn = &memblock.reserved.regions[0]; in alloc_bottom_up_before_check()
621 ASSERT_EQ(memblock.reserved.cnt, 1); in alloc_bottom_up_before_check()
622 ASSERT_EQ(memblock.reserved.total_size, total_size); in alloc_bottom_up_before_check()
641 struct memblock_region *rgn = &memblock.reserved.regions[0]; in alloc_bottom_up_after_check()
668 ASSERT_EQ(memblock.reserved.cnt, 1); in alloc_bottom_up_after_check()
669 ASSERT_EQ(memblock.reserved.total_size, total_size); in alloc_bottom_up_after_check()
691 struct memblock_region *rgn = &memblock.reserved.regions[1]; in alloc_bottom_up_second_fit_check()
719 ASSERT_EQ(memblock.reserved.cnt, 2); in alloc_bottom_up_second_fit_check()
720 ASSERT_EQ(memblock.reserved.total_size, total_size); in alloc_bottom_up_second_fit_check()