Lines Matching refs:block
137 void *block; in ZTEST() local
158 block = shared_multi_heap_alloc(SMH_REG_ATTR_CACHEABLE, 0x40); in ZTEST()
159 reg_map = get_region_map(block); in ZTEST()
168 block = shared_multi_heap_alloc(SMH_REG_ATTR_CACHEABLE, 0x80); in ZTEST()
169 reg_map = get_region_map(block); in ZTEST()
178 block = shared_multi_heap_alloc(SMH_REG_ATTR_CACHEABLE, 0x1200); in ZTEST()
179 reg_map = get_region_map(block); in ZTEST()
188 block = shared_multi_heap_alloc(SMH_REG_ATTR_NON_CACHEABLE, 0x100); in ZTEST()
189 reg_map = get_region_map(block); in ZTEST()
198 block = shared_multi_heap_alloc(SMH_REG_ATTR_NON_CACHEABLE, 0x100); in ZTEST()
199 reg_map = get_region_map(block); in ZTEST()
205 block = shared_multi_heap_alloc(SMH_REG_ATTR_NON_CACHEABLE, 0x10000); in ZTEST()
206 zassert_is_null(block, "allocated buffer too big for the region"); in ZTEST()
209 block = shared_multi_heap_alloc(SMH_REG_ATTR_NON_CACHEABLE, 0); in ZTEST()
210 zassert_is_null(block, "0 size accepted as valid"); in ZTEST()
213 block = shared_multi_heap_alloc(MAX_SHARED_MULTI_HEAP_ATTR, 0x100); in ZTEST()
214 zassert_is_null(block, "wrong attribute accepted as valid"); in ZTEST()