Lines Matching refs:r3_size
220 phys_addr_t r3_size = SZ_1K; in alloc_top_down_second_fit_check() local
232 total_size = r1.size + r2.size + r3_size; in alloc_top_down_second_fit_check()
237 allocated_ptr = run_memblock_alloc(r3_size, SMP_CACHE_BYTES); in alloc_top_down_second_fit_check()
240 assert_mem_content(allocated_ptr, r3_size, alloc_test_flags); in alloc_top_down_second_fit_check()
242 ASSERT_EQ(rgn->size, r2.size + r3_size); in alloc_top_down_second_fit_check()
243 ASSERT_EQ(rgn->base, r2.base - r3_size); in alloc_top_down_second_fit_check()
270 phys_addr_t r3_size = SZ_64; in alloc_in_between_generic_check() local
274 phys_addr_t rgn_size = (MEM_SIZE - (2 * gap_size + r3_size)) / 2; in alloc_in_between_generic_check()
286 total_size = r1.size + r2.size + r3_size; in alloc_in_between_generic_check()
291 allocated_ptr = run_memblock_alloc(r3_size, SMP_CACHE_BYTES); in alloc_in_between_generic_check()
294 assert_mem_content(allocated_ptr, r3_size, alloc_test_flags); in alloc_in_between_generic_check()
297 ASSERT_EQ(rgn->base, r1.base - r2.size - r3_size); in alloc_in_between_generic_check()
694 phys_addr_t r3_size = SZ_1K; in alloc_bottom_up_second_fit_check() local
706 total_size = r1.size + r2.size + r3_size; in alloc_bottom_up_second_fit_check()
711 allocated_ptr = run_memblock_alloc(r3_size, SMP_CACHE_BYTES); in alloc_bottom_up_second_fit_check()
714 assert_mem_content(allocated_ptr, r3_size, alloc_test_flags); in alloc_bottom_up_second_fit_check()
716 ASSERT_EQ(rgn->size, r2.size + r3_size); in alloc_bottom_up_second_fit_check()