Home
last modified time | relevance | path

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

/linux-6.1.9/tools/testing/selftests/dmabuf-heaps/
Ddmabuf-heap.c146 int heap_fd = -1, dmabuf_fd = -1, importer_fd = -1; in test_alloc_and_import() local
180 importer_fd = open_vgem(); in test_alloc_and_import()
181 if (importer_fd < 0) { in test_alloc_and_import()
182 ret = importer_fd; in test_alloc_and_import()
185 ret = import_vgem_fd(importer_fd, dmabuf_fd, &handle); in test_alloc_and_import()
205 close_handle(importer_fd, handle); in test_alloc_and_import()
211 if (importer_fd >= 0) in test_alloc_and_import()
212 close(importer_fd); in test_alloc_and_import()