Lines Matching refs:total_size

45 	ASSERT_EQ(memblock.reserved.total_size, size);  in alloc_top_down_simple_check()
80 phys_addr_t total_size; in alloc_top_down_disjoint_check() local
89 total_size = r1.size + r2_size; in alloc_top_down_disjoint_check()
106 ASSERT_EQ(memblock.reserved.total_size, total_size); in alloc_top_down_disjoint_check()
132 phys_addr_t total_size = r1_size + r2_size; in alloc_top_down_before_check() local
137 memblock_reserve(memblock_end_of_DRAM() - total_size, r1_size); in alloc_top_down_before_check()
144 ASSERT_EQ(rgn->size, total_size); in alloc_top_down_before_check()
145 ASSERT_EQ(rgn->base, memblock_end_of_DRAM() - total_size); in alloc_top_down_before_check()
148 ASSERT_EQ(memblock.reserved.total_size, total_size); in alloc_top_down_before_check()
172 phys_addr_t total_size; in alloc_top_down_after_check() local
183 total_size = r1.size + r2_size; in alloc_top_down_after_check()
192 ASSERT_EQ(rgn->size, total_size); in alloc_top_down_after_check()
196 ASSERT_EQ(memblock.reserved.total_size, total_size); in alloc_top_down_after_check()
221 phys_addr_t total_size; in alloc_top_down_second_fit_check() local
232 total_size = r1.size + r2.size + r3_size; in alloc_top_down_second_fit_check()
246 ASSERT_EQ(memblock.reserved.total_size, total_size); in alloc_top_down_second_fit_check()
275 phys_addr_t total_size; in alloc_in_between_generic_check() local
286 total_size = r1.size + r2.size + r3_size; in alloc_in_between_generic_check()
296 ASSERT_EQ(rgn->size, total_size); in alloc_in_between_generic_check()
300 ASSERT_EQ(memblock.reserved.total_size, total_size); in alloc_in_between_generic_check()
436 ASSERT_EQ(memblock.reserved.total_size, MEM_SIZE); in alloc_limited_space_generic_check()
462 ASSERT_EQ(memblock.reserved.total_size, 0); in alloc_no_memory_generic_check()
495 ASSERT_EQ(memblock.reserved.total_size, 0); in alloc_too_large_generic_check()
524 ASSERT_EQ(memblock.reserved.total_size, SZ_2); in alloc_bottom_up_simple_check()
557 phys_addr_t total_size; in alloc_bottom_up_disjoint_check() local
566 total_size = r1.size + r2_size; in alloc_bottom_up_disjoint_check()
583 ASSERT_EQ(memblock.reserved.total_size, total_size); in alloc_bottom_up_disjoint_check()
606 phys_addr_t total_size = r1_size + r2_size; in alloc_bottom_up_before_check() local
618 ASSERT_EQ(rgn->size, total_size); in alloc_bottom_up_before_check()
622 ASSERT_EQ(memblock.reserved.total_size, total_size); in alloc_bottom_up_before_check()
645 phys_addr_t total_size; in alloc_bottom_up_after_check() local
656 total_size = r1.size + r2_size; in alloc_bottom_up_after_check()
665 ASSERT_EQ(rgn->size, total_size); in alloc_bottom_up_after_check()
669 ASSERT_EQ(memblock.reserved.total_size, total_size); in alloc_bottom_up_after_check()
695 phys_addr_t total_size; in alloc_bottom_up_second_fit_check() local
706 total_size = r1.size + r2.size + r3_size; in alloc_bottom_up_second_fit_check()
720 ASSERT_EQ(memblock.reserved.total_size, total_size); in alloc_bottom_up_second_fit_check()