Lines Matching refs:dma_buf
36 struct dma_buf *dmabuf;
226 static int dmabuf_exp_ops_attach(struct dma_buf *dma_buf, in dmabuf_exp_ops_attach() argument
241 static void dmabuf_exp_ops_detach(struct dma_buf *dma_buf, in dmabuf_exp_ops_detach() argument
333 static void dmabuf_exp_ops_release(struct dma_buf *dma_buf) in dmabuf_exp_ops_release() argument
335 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
583 dma_buf = dma_buf_get(fd); in dmabuf_imp_to_refs()
584 if (IS_ERR(dma_buf)) in dmabuf_imp_to_refs()
585 return ERR_CAST(dma_buf); in dmabuf_imp_to_refs()
596 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()