• Home
  • Raw
  • Download

Lines Matching refs:dbuf

32 	struct dma_buf			*dbuf;  member
210 static int vb2_vmalloc_dmabuf_ops_attach(struct dma_buf *dbuf, in vb2_vmalloc_dmabuf_ops_attach() argument
214 struct vb2_vmalloc_buf *buf = dbuf->priv; in vb2_vmalloc_dmabuf_ops_attach()
249 static void vb2_vmalloc_dmabuf_ops_detach(struct dma_buf *dbuf, in vb2_vmalloc_dmabuf_ops_detach() argument
302 static void vb2_vmalloc_dmabuf_ops_release(struct dma_buf *dbuf) in vb2_vmalloc_dmabuf_ops_release() argument
305 vb2_vmalloc_put(dbuf->priv); in vb2_vmalloc_dmabuf_ops_release()
308 static int vb2_vmalloc_dmabuf_ops_vmap(struct dma_buf *dbuf, in vb2_vmalloc_dmabuf_ops_vmap() argument
311 struct vb2_vmalloc_buf *buf = dbuf->priv; in vb2_vmalloc_dmabuf_ops_vmap()
318 static int vb2_vmalloc_dmabuf_ops_mmap(struct dma_buf *dbuf, in vb2_vmalloc_dmabuf_ops_mmap() argument
321 return vb2_vmalloc_mmap(dbuf->priv, vma); in vb2_vmalloc_dmabuf_ops_mmap()
339 struct dma_buf *dbuf; in vb2_vmalloc_get_dmabuf() local
350 dbuf = dma_buf_export(&exp_info); in vb2_vmalloc_get_dmabuf()
351 if (IS_ERR(dbuf)) in vb2_vmalloc_get_dmabuf()
357 return dbuf; in vb2_vmalloc_get_dmabuf()
372 ret = dma_buf_vmap_unlocked(buf->dbuf, &map); in vb2_vmalloc_map_dmabuf()
385 dma_buf_vunmap_unlocked(buf->dbuf, &map); in vb2_vmalloc_unmap_dmabuf()
395 dma_buf_vunmap_unlocked(buf->dbuf, &map); in vb2_vmalloc_detach_dmabuf()
402 struct dma_buf *dbuf, in vb2_vmalloc_attach_dmabuf() argument
407 if (dbuf->size < size) in vb2_vmalloc_attach_dmabuf()
414 buf->dbuf = dbuf; in vb2_vmalloc_attach_dmabuf()