Lines Matching refs:dma_buf
638 struct vmw_dma_buffer *dma_buf; in vmw_user_dmabuf_synccpu_ioctl() local
654 ret = vmw_user_dmabuf_lookup(tfile, arg->handle, &dma_buf, in vmw_user_dmabuf_synccpu_ioctl()
659 user_bo = container_of(dma_buf, struct vmw_user_dma_buffer, in vmw_user_dmabuf_synccpu_ioctl()
662 vmw_dmabuf_unreference(&dma_buf); in vmw_user_dmabuf_synccpu_ioctl()
696 struct vmw_dma_buffer *dma_buf; in vmw_dmabuf_alloc_ioctl() local
705 req->size, false, &handle, &dma_buf, in vmw_dmabuf_alloc_ioctl()
711 rep->map_handle = drm_vma_node_offset_addr(&dma_buf->base.vma_node); in vmw_dmabuf_alloc_ioctl()
715 vmw_dmabuf_unreference(&dma_buf); in vmw_dmabuf_alloc_ioctl()
768 struct vmw_dma_buffer *dma_buf, in vmw_user_dmabuf_reference() argument
773 if (dma_buf->base.destroy != vmw_user_dmabuf_destroy) in vmw_user_dmabuf_reference()
776 user_bo = container_of(dma_buf, struct vmw_user_dma_buffer, dma); in vmw_user_dmabuf_reference()
1010 struct vmw_dma_buffer *dma_buf; in vmw_dumb_create() local
1022 &dma_buf, NULL); in vmw_dumb_create()
1026 vmw_dmabuf_unreference(&dma_buf); in vmw_dumb_create()
1478 struct vmw_dma_buffer *dma_buf; in vmw_resource_move_notify() local
1487 dma_buf = container_of(bo, struct vmw_dma_buffer, base); in vmw_resource_move_notify()
1496 list_for_each_entry_safe(res, n, &dma_buf->res_list, mob_head) { in vmw_resource_move_notify()