Home
last modified time | relevance | path

Searched refs:heap_fd (Results 1 – 1 of 1) sorted by relevance

/Linux-v5.10/tools/testing/selftests/dmabuf-heaps/
Ddmabuf-heap.c149 int heap_fd = -1, dmabuf_fd = -1, importer_fd = -1; in test_alloc_and_import() local
156 heap_fd = dmabuf_heap_open(heap_name); in test_alloc_and_import()
157 if (heap_fd < 0) in test_alloc_and_import()
161 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()
288 int heap_fd = -1, dmabuf_fd = -1; in test_alloc_compat() local
291 heap_fd = dmabuf_heap_open(heap_name); in test_alloc_compat()
292 if (heap_fd < 0) in test_alloc_compat()
296 ret = dmabuf_heap_alloc_older(heap_fd, ONE_MEG, 0, &dmabuf_fd); in test_alloc_compat()
[all …]