Lines Matching refs:r2_size

77 	phys_addr_t r2_size = SZ_16;  in alloc_top_down_disjoint_check()  local
89 total_size = r1.size + r2_size; in alloc_top_down_disjoint_check()
94 allocated_ptr = run_memblock_alloc(r2_size, alignment); in alloc_top_down_disjoint_check()
97 assert_mem_content(allocated_ptr, r2_size, alloc_test_flags); in alloc_top_down_disjoint_check()
102 ASSERT_EQ(rgn2->size, r2_size); in alloc_top_down_disjoint_check()
131 phys_addr_t r2_size = SZ_512; in alloc_top_down_before_check() local
132 phys_addr_t total_size = r1_size + r2_size; in alloc_top_down_before_check()
139 allocated_ptr = run_memblock_alloc(r2_size, SMP_CACHE_BYTES); in alloc_top_down_before_check()
142 assert_mem_content(allocated_ptr, r2_size, alloc_test_flags); in alloc_top_down_before_check()
171 phys_addr_t r2_size = SZ_512; in alloc_top_down_after_check() local
183 total_size = r1.size + r2_size; in alloc_top_down_after_check()
187 allocated_ptr = run_memblock_alloc(r2_size, SMP_CACHE_BYTES); in alloc_top_down_after_check()
190 assert_mem_content(allocated_ptr, r2_size, alloc_test_flags); in alloc_top_down_after_check()
193 ASSERT_EQ(rgn->base, r1.base - r2_size); in alloc_top_down_after_check()
554 phys_addr_t r2_size = SZ_16; in alloc_bottom_up_disjoint_check() local
566 total_size = r1.size + r2_size; in alloc_bottom_up_disjoint_check()
571 allocated_ptr = run_memblock_alloc(r2_size, alignment); in alloc_bottom_up_disjoint_check()
574 assert_mem_content(allocated_ptr, r2_size, alloc_test_flags); in alloc_bottom_up_disjoint_check()
579 ASSERT_EQ(rgn2->size, r2_size); in alloc_bottom_up_disjoint_check()
605 phys_addr_t r2_size = SZ_128; in alloc_bottom_up_before_check() local
606 phys_addr_t total_size = r1_size + r2_size; in alloc_bottom_up_before_check()
611 memblock_reserve(memblock_start_of_DRAM() + r1_size, r2_size); in alloc_bottom_up_before_check()
644 phys_addr_t r2_size = SZ_512; in alloc_bottom_up_after_check() local
656 total_size = r1.size + r2_size; in alloc_bottom_up_after_check()
660 allocated_ptr = run_memblock_alloc(r2_size, SMP_CACHE_BYTES); in alloc_bottom_up_after_check()
663 assert_mem_content(allocated_ptr, r2_size, alloc_test_flags); in alloc_bottom_up_after_check()