Lines Matching refs:memblock
20 struct memblock_region *rgn = &memblock.reserved.regions[0]; in alloc_from_simple_generic_check()
38 ASSERT_EQ(memblock.reserved.cnt, 1); in alloc_from_simple_generic_check()
39 ASSERT_EQ(memblock.reserved.total_size, size); in alloc_from_simple_generic_check()
63 struct memblock_region *rgn = &memblock.reserved.regions[0]; in alloc_from_misaligned_generic_check()
82 ASSERT_EQ(memblock.reserved.cnt, 1); in alloc_from_misaligned_generic_check()
83 ASSERT_EQ(memblock.reserved.total_size, size); in alloc_from_misaligned_generic_check()
110 struct memblock_region *rgn = &memblock.reserved.regions[0]; in alloc_from_top_down_high_addr_check()
127 ASSERT_EQ(memblock.reserved.cnt, 1); in alloc_from_top_down_high_addr_check()
128 ASSERT_EQ(memblock.reserved.total_size, size); 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()
174 ASSERT_EQ(memblock.reserved.cnt, 1); in alloc_from_top_down_no_space_above_check()
175 ASSERT_EQ(memblock.reserved.total_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()
210 ASSERT_EQ(memblock.reserved.cnt, 1); in alloc_from_top_down_min_addr_cap_check()
211 ASSERT_EQ(memblock.reserved.total_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()
253 ASSERT_EQ(memblock.reserved.cnt, 1); in alloc_from_bottom_up_high_addr_check()
254 ASSERT_EQ(memblock.reserved.total_size, size); 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()
299 ASSERT_EQ(memblock.reserved.cnt, 2); in alloc_from_bottom_up_no_space_above_check()
300 ASSERT_EQ(memblock.reserved.total_size, r1_size + r2_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()
332 ASSERT_EQ(memblock.reserved.cnt, 1); in alloc_from_bottom_up_min_addr_cap_check()
333 ASSERT_EQ(memblock.reserved.total_size, r1_size); in alloc_from_bottom_up_min_addr_cap_check()