Lines Matching defs:exbuf
76 struct drm_virtgpu_execbuffer *exbuf = data;
85 int in_fence_fd = exbuf->fence_fd;
92 if ((exbuf->flags & ~VIRTGPU_EXECBUF_FLAGS))
95 exbuf->fence_fd = -1;
98 if (exbuf->flags & VIRTGPU_EXECBUF_FENCE_FD_IN) {
119 if (exbuf->flags & VIRTGPU_EXECBUF_FENCE_FD_OUT) {
125 if (exbuf->num_bo_handles) {
126 bo_handles = kvmalloc_array(exbuf->num_bo_handles,
133 user_bo_handles = u64_to_user_ptr(exbuf->bo_handles);
135 exbuf->num_bo_handles * sizeof(uint32_t))) {
141 exbuf->num_bo_handles);
150 buf = vmemdup_user(u64_to_user_ptr(exbuf->command), exbuf->size);
176 exbuf->fence_fd = out_fence_fd;
180 virtio_gpu_cmd_submit(vgdev, buf, exbuf->size,