Lines Matching defs:dmabuf
196 struct dma_buf *dmabuf;
674 static void fastrpc_release(struct dma_buf *dmabuf)
676 struct fastrpc_buf *buffer = dmabuf->priv;
681 static int fastrpc_dma_buf_attach(struct dma_buf *dmabuf,
685 struct fastrpc_buf *buffer = dmabuf->priv;
711 static void fastrpc_dma_buf_detatch(struct dma_buf *dmabuf,
715 struct fastrpc_buf *buffer = dmabuf->priv;
724 static int fastrpc_vmap(struct dma_buf *dmabuf, struct iosys_map *map)
726 struct fastrpc_buf *buf = dmabuf->priv;
733 static int fastrpc_mmap(struct dma_buf *dmabuf,
736 struct fastrpc_buf *buf = dmabuf->priv;
739 dma_resv_assert_held(dmabuf->resv);
783 dev_err(sess->dev, "Failed to attach dmabuf\n");
1616 buf->dmabuf = dma_buf_export(&exp_info);
1617 if (IS_ERR(buf->dmabuf)) {
1618 err = PTR_ERR(buf->dmabuf);
1623 bp.fd = dma_buf_fd(buf->dmabuf, O_ACCMODE);
1625 dma_buf_put(buf->dmabuf);
1634 * might already be closed and dmabuf no longer valid when