Lines Matching refs:dma_buf
636 struct vmw_dma_buffer *dma_buf; in vmw_user_dmabuf_synccpu_ioctl() local
652 ret = vmw_user_dmabuf_lookup(tfile, arg->handle, &dma_buf, in vmw_user_dmabuf_synccpu_ioctl()
657 user_bo = container_of(dma_buf, struct vmw_user_dma_buffer, in vmw_user_dmabuf_synccpu_ioctl()
660 vmw_dmabuf_unreference(&dma_buf); in vmw_user_dmabuf_synccpu_ioctl()
694 struct vmw_dma_buffer *dma_buf; in vmw_dmabuf_alloc_ioctl() local
703 req->size, false, &handle, &dma_buf, in vmw_dmabuf_alloc_ioctl()
709 rep->map_handle = drm_vma_node_offset_addr(&dma_buf->base.vma_node); in vmw_dmabuf_alloc_ioctl()
713 vmw_dmabuf_unreference(&dma_buf); in vmw_dmabuf_alloc_ioctl()
766 struct vmw_dma_buffer *dma_buf, in vmw_user_dmabuf_reference() argument
771 if (dma_buf->base.destroy != vmw_user_dmabuf_destroy) in vmw_user_dmabuf_reference()
774 user_bo = container_of(dma_buf, struct vmw_user_dma_buffer, dma); in vmw_user_dmabuf_reference()
1008 struct vmw_dma_buffer *dma_buf; in vmw_dumb_create() local
1020 &dma_buf, NULL); in vmw_dumb_create()
1024 vmw_dmabuf_unreference(&dma_buf); in vmw_dumb_create()
1486 struct vmw_dma_buffer *dma_buf; in vmw_resource_move_notify() local
1495 dma_buf = container_of(bo, struct vmw_dma_buffer, base); in vmw_resource_move_notify()
1504 list_for_each_entry_safe(res, n, &dma_buf->res_list, mob_head) { in vmw_resource_move_notify()