Searched refs:heap_fd (Results 1 – 1 of 1) sorted by relevance
146 int heap_fd = -1, dmabuf_fd = -1, importer_fd = -1; in test_alloc_and_import() local151 heap_fd = dmabuf_heap_open(heap_name); in test_alloc_and_import()152 if (heap_fd < 0) in test_alloc_and_import()156 ret = dmabuf_heap_alloc(heap_fd, ONE_MEG, 0, &dmabuf_fd); in test_alloc_and_import()215 if (heap_fd >= 0) in test_alloc_and_import()216 close(heap_fd); in test_alloc_and_import()223 int heap_fd = -1, dmabuf_fd[32]; in test_alloc_zeroed() local229 heap_fd = dmabuf_heap_open(heap_name); in test_alloc_zeroed()230 if (heap_fd < 0) in test_alloc_zeroed()235 ret = dmabuf_heap_alloc(heap_fd, size, 0, &dmabuf_fd[i]); in test_alloc_zeroed()[all …]