Lines Matching refs:allocated_ptr

21 	void *allocated_ptr = NULL;  in alloc_from_simple_generic_check()  local
30 allocated_ptr = memblock_alloc_from(size, SMP_CACHE_BYTES, min_addr); in alloc_from_simple_generic_check()
32 ASSERT_NE(allocated_ptr, NULL); in alloc_from_simple_generic_check()
33 ASSERT_MEM_EQ(allocated_ptr, 0, size); in alloc_from_simple_generic_check()
64 void *allocated_ptr = NULL; in alloc_from_misaligned_generic_check() local
74 allocated_ptr = memblock_alloc_from(size, SMP_CACHE_BYTES, min_addr); in alloc_from_misaligned_generic_check()
76 ASSERT_NE(allocated_ptr, NULL); in alloc_from_misaligned_generic_check()
77 ASSERT_MEM_EQ(allocated_ptr, 0, size); in alloc_from_misaligned_generic_check()
111 void *allocated_ptr = NULL; in alloc_from_top_down_high_addr_check() local
121 allocated_ptr = memblock_alloc_from(size, SMP_CACHE_BYTES, min_addr); in alloc_from_top_down_high_addr_check()
123 ASSERT_NE(allocated_ptr, NULL); in alloc_from_top_down_high_addr_check()
154 void *allocated_ptr = NULL; in alloc_from_top_down_no_space_above_check() local
168 allocated_ptr = memblock_alloc_from(r1_size, SMP_CACHE_BYTES, min_addr); in alloc_from_top_down_no_space_above_check()
170 ASSERT_NE(allocated_ptr, NULL); in alloc_from_top_down_no_space_above_check()
191 void *allocated_ptr = NULL; in alloc_from_top_down_min_addr_cap_check() local
204 allocated_ptr = memblock_alloc_from(r1_size, SMP_CACHE_BYTES, min_addr); in alloc_from_top_down_min_addr_cap_check()
206 ASSERT_NE(allocated_ptr, NULL); in alloc_from_top_down_min_addr_cap_check()
237 void *allocated_ptr = NULL; in alloc_from_bottom_up_high_addr_check() local
247 allocated_ptr = memblock_alloc_from(size, SMP_CACHE_BYTES, min_addr); in alloc_from_bottom_up_high_addr_check()
249 ASSERT_NE(allocated_ptr, NULL); in alloc_from_bottom_up_high_addr_check()
279 void *allocated_ptr = NULL; in alloc_from_bottom_up_no_space_above_check() local
293 allocated_ptr = memblock_alloc_from(r1_size, SMP_CACHE_BYTES, min_addr); in alloc_from_bottom_up_no_space_above_check()
295 ASSERT_NE(allocated_ptr, NULL); in alloc_from_bottom_up_no_space_above_check()
315 void *allocated_ptr = NULL; in alloc_from_bottom_up_min_addr_cap_check() local
326 allocated_ptr = memblock_alloc_from(r1_size, SMP_CACHE_BYTES, min_addr); in alloc_from_bottom_up_min_addr_cap_check()
328 ASSERT_NE(allocated_ptr, NULL); in alloc_from_bottom_up_min_addr_cap_check()