Lines Matching refs:rgn

20 	struct memblock_region *rgn = &memblock.reserved.regions[0];  in alloc_from_simple_generic_check()  local
35 ASSERT_EQ(rgn->size, size); in alloc_from_simple_generic_check()
36 ASSERT_EQ(rgn->base, min_addr); in alloc_from_simple_generic_check()
63 struct memblock_region *rgn = &memblock.reserved.regions[0]; in alloc_from_misaligned_generic_check() local
79 ASSERT_EQ(rgn->size, size); in alloc_from_misaligned_generic_check()
80 ASSERT_EQ(rgn->base, memblock_end_of_DRAM() - SMP_CACHE_BYTES); in alloc_from_misaligned_generic_check()
110 struct memblock_region *rgn = &memblock.reserved.regions[0]; in alloc_from_top_down_high_addr_check() local
124 ASSERT_EQ(rgn->size, size); in alloc_from_top_down_high_addr_check()
125 ASSERT_EQ(rgn->base, memblock_end_of_DRAM() - SMP_CACHE_BYTES); in alloc_from_top_down_high_addr_check()
153 struct memblock_region *rgn = &memblock.reserved.regions[0]; in alloc_from_top_down_no_space_above_check() local
171 ASSERT_EQ(rgn->base, min_addr - r1_size); in alloc_from_top_down_no_space_above_check()
172 ASSERT_EQ(rgn->size, total_size); in alloc_from_top_down_no_space_above_check()
190 struct memblock_region *rgn = &memblock.reserved.regions[0]; in alloc_from_top_down_min_addr_cap_check() local
207 ASSERT_EQ(rgn->base, start_addr); in alloc_from_top_down_min_addr_cap_check()
208 ASSERT_EQ(rgn->size, MEM_SIZE); in alloc_from_top_down_min_addr_cap_check()
236 struct memblock_region *rgn = &memblock.reserved.regions[0]; in alloc_from_bottom_up_high_addr_check() local
250 ASSERT_EQ(rgn->size, size); in alloc_from_bottom_up_high_addr_check()
251 ASSERT_EQ(rgn->base, memblock_start_of_DRAM()); in alloc_from_bottom_up_high_addr_check()
278 struct memblock_region *rgn = &memblock.reserved.regions[0]; in alloc_from_bottom_up_no_space_above_check() local
296 ASSERT_EQ(rgn->base, memblock_start_of_DRAM()); in alloc_from_bottom_up_no_space_above_check()
297 ASSERT_EQ(rgn->size, r1_size); in alloc_from_bottom_up_no_space_above_check()
314 struct memblock_region *rgn = &memblock.reserved.regions[0]; in alloc_from_bottom_up_min_addr_cap_check() local
329 ASSERT_EQ(rgn->base, start_addr); in alloc_from_bottom_up_min_addr_cap_check()
330 ASSERT_EQ(rgn->size, r1_size); in alloc_from_bottom_up_min_addr_cap_check()