Searched refs:importer_fd (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/tools/testing/selftests/dmabuf-heaps/ |
H A D | dmabuf-heap.c | 149 int heap_fd = -1, dmabuf_fd = -1, importer_fd = -1; in test_alloc_and_import() local 186 importer_fd = open_vgem(); in test_alloc_and_import() 187 if (importer_fd < 0) { in test_alloc_and_import() 188 ret = importer_fd; in test_alloc_and_import() 193 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()
|
/kernel/linux/linux-6.6/tools/testing/selftests/dmabuf-heaps/ |
H A D | dmabuf-heap.c | 145 int heap_fd = -1, dmabuf_fd = -1, importer_fd = -1; in test_alloc_and_import() local 179 importer_fd = open_vgem(); in test_alloc_and_import() 180 if (importer_fd < 0) { in test_alloc_and_import() 181 ret = importer_fd; in test_alloc_and_import() 184 ret = import_vgem_fd(importer_fd, dmabuf_fd, &handle); in test_alloc_and_import() 204 close_handle(importer_fd, handle); in test_alloc_and_import() 210 if (importer_fd >= 0) in test_alloc_and_import() 211 close(importer_fd); in test_alloc_and_import()
|
Completed in 2 milliseconds