Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/dmabuf-heaps/
H A Ddmabuf-heap.c147 int heap_fd = -1, dmabuf_fd = -1, importer_fd = -1; in test_alloc_and_import() local
181 importer_fd = open_vgem(); in test_alloc_and_import()
182 if (importer_fd < 0) { in test_alloc_and_import()
183 ret = importer_fd; in test_alloc_and_import()
186 ret = import_vgem_fd(importer_fd, dmabuf_fd, &handle); in test_alloc_and_import()
206 close_handle(importer_fd, handle); in test_alloc_and_import()
212 if (importer_fd >= 0) in test_alloc_and_import()
213 close(importer_fd); in test_alloc_and_import()