Home
last modified time | relevance | path

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

/Linux-v5.4/tools/testing/selftests/android/ion/
Dionmap_test.c63 struct drm_prime_handle import_handle = { 0 }; in import_vgem_fd() local
66 import_handle.fd = dma_buf_fd; in import_vgem_fd()
67 import_handle.flags = 0; in import_vgem_fd()
68 import_handle.handle = 0; in import_vgem_fd()
70 ret = ioctl(vgem_fd, DRM_IOCTL_PRIME_FD_TO_HANDLE, &import_handle); in import_vgem_fd()
72 *handle = import_handle.handle; in import_vgem_fd()