Lines Matching refs:exbuf
61 struct drm_virtgpu_execbuffer *exbuf = data;
70 int in_fence_fd = exbuf->fence_fd;
77 if ((exbuf->flags & ~VIRTGPU_EXECBUF_FLAGS))
80 exbuf->fence_fd = -1;
82 if (exbuf->flags & VIRTGPU_EXECBUF_FENCE_FD_IN) {
103 if (exbuf->flags & VIRTGPU_EXECBUF_FENCE_FD_OUT) {
109 if (exbuf->num_bo_handles) {
110 bo_handles = kvmalloc_array(exbuf->num_bo_handles,
117 user_bo_handles = u64_to_user_ptr(exbuf->bo_handles);
119 exbuf->num_bo_handles * sizeof(uint32_t))) {
125 exbuf->num_bo_handles);
140 buf = vmemdup_user(u64_to_user_ptr(exbuf->command), exbuf->size);
160 exbuf->fence_fd = out_fence_fd;
164 virtio_gpu_cmd_submit(vgdev, buf, exbuf->size,