Lines Matching refs:dma_buf
29 struct dma_buf *dmabuf;
219 static int dmabuf_exp_ops_attach(struct dma_buf *dma_buf, in dmabuf_exp_ops_attach() argument
234 static void dmabuf_exp_ops_detach(struct dma_buf *dma_buf, in dmabuf_exp_ops_detach() argument
326 static void dmabuf_exp_ops_release(struct dma_buf *dma_buf) in dmabuf_exp_ops_release() argument
328 struct gntdev_dmabuf *gntdev_dmabuf = dma_buf->priv; in dmabuf_exp_ops_release()
576 struct dma_buf *dma_buf; in dmabuf_imp_to_refs() local
582 dma_buf = dma_buf_get(fd); in dmabuf_imp_to_refs()
583 if (IS_ERR(dma_buf)) in dmabuf_imp_to_refs()
584 return ERR_CAST(dma_buf); in dmabuf_imp_to_refs()
595 attach = dma_buf_attach(dma_buf, dev); in dmabuf_imp_to_refs()
663 dma_buf_detach(dma_buf, attach); in dmabuf_imp_to_refs()
667 dma_buf_put(dma_buf); in dmabuf_imp_to_refs()
697 struct dma_buf *dma_buf; in dmabuf_imp_release() local
713 dma_buf = attach->dmabuf; in dmabuf_imp_release()
715 dma_buf_put(dma_buf); in dmabuf_imp_release()