Home
last modified time | relevance | path

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

/linux-6.12.1/tools/testing/selftests/dmabuf-heaps/
Ddmabuf-heap.c147 int heap_fd = -1, dmabuf_fd = -1, importer_fd = -1; in test_alloc_and_import() local
152 heap_fd = dmabuf_heap_open(heap_name); in test_alloc_and_import()
155 ret = dmabuf_heap_alloc(heap_fd, ONE_MEG, 0, &dmabuf_fd); in test_alloc_and_import()
205 close(heap_fd); in test_alloc_and_import()
210 int heap_fd = -1, dmabuf_fd[32]; in test_alloc_zeroed() local
216 heap_fd = dmabuf_heap_open(heap_name); in test_alloc_zeroed()
220 ret = dmabuf_heap_alloc(heap_fd, size, 0, &dmabuf_fd[i]); in test_alloc_zeroed()
245 ret = dmabuf_heap_alloc(heap_fd, size, 0, &dmabuf_fd[i]); in test_alloc_zeroed()
280 close(heap_fd); in test_alloc_zeroed()
351 int ret, heap_fd = -1, dmabuf_fd = -1; in test_alloc_compat() local
[all …]