Lines Matching refs:dma_buf
35 struct dma_buf *dmabuf;
225 static int dmabuf_exp_ops_attach(struct dma_buf *dma_buf, in dmabuf_exp_ops_attach() argument
240 static void dmabuf_exp_ops_detach(struct dma_buf *dma_buf, in dmabuf_exp_ops_detach() argument
332 static void dmabuf_exp_ops_release(struct dma_buf *dma_buf) in dmabuf_exp_ops_release() argument
334 struct gntdev_dmabuf *gntdev_dmabuf = dma_buf->priv; in dmabuf_exp_ops_release()
582 struct dma_buf *dma_buf; in dmabuf_imp_to_refs() local
588 dma_buf = dma_buf_get(fd); in dmabuf_imp_to_refs()
589 if (IS_ERR(dma_buf)) in dmabuf_imp_to_refs()
590 return ERR_CAST(dma_buf); in dmabuf_imp_to_refs()
601 attach = dma_buf_attach(dma_buf, dev); in dmabuf_imp_to_refs()
669 dma_buf_detach(dma_buf, attach); in dmabuf_imp_to_refs()
673 dma_buf_put(dma_buf); in dmabuf_imp_to_refs()
703 struct dma_buf *dma_buf; in dmabuf_imp_release() local
719 dma_buf = attach->dmabuf; in dmabuf_imp_release()
721 dma_buf_put(dma_buf); in dmabuf_imp_release()