Searched refs:heap_name (Results 1 – 2 of 2) sorted by relevance
147 static int test_alloc_and_import(char *heap_name) in test_alloc_and_import() argument154 printf("Testing heap: %s\n", heap_name); in test_alloc_and_import()156 heap_fd = dmabuf_heap_open(heap_name); in test_alloc_and_import()286 static int test_alloc_compat(char *heap_name) in test_alloc_compat() argument291 heap_fd = dmabuf_heap_open(heap_name); in test_alloc_compat()321 static int test_alloc_errors(char *heap_name) in test_alloc_errors() argument326 heap_fd = dmabuf_heap_open(heap_name); in test_alloc_errors()
318 const char *heap_name = NULL; in allocator_ion_open() local324 heap_name = "ION_HEAP_TYPE_DMA"; in allocator_ion_open()329 heap_name = "ION_HEAP_TYPE_SYSTEM"; in allocator_ion_open()334 heap_name = "ION_HEAP_TYPE_CARVEOUT"; in allocator_ion_open()340 heap_name = "ION_HEAP_TYPE_DMA"; in allocator_ion_open()343 mpp_log("using ion heap %s\n", heap_name); in allocator_ion_open()