Lines Matching defs:dmabuf
143 struct dma_buf *dmabuf;
549 static void fastrpc_release(struct dma_buf *dmabuf)
551 struct fastrpc_buf *buffer = dmabuf->priv;
556 static int fastrpc_dma_buf_attach(struct dma_buf *dmabuf,
560 struct fastrpc_buf *buffer = dmabuf->priv;
586 static void fastrpc_dma_buf_detatch(struct dma_buf *dmabuf,
590 struct fastrpc_buf *buffer = dmabuf->priv;
599 static void *fastrpc_vmap(struct dma_buf *dmabuf)
601 struct fastrpc_buf *buf = dmabuf->priv;
606 static int fastrpc_mmap(struct dma_buf *dmabuf,
609 struct fastrpc_buf *buf = dmabuf->priv;
651 dev_err(sess->dev, "Failed to attach dmabuf\n");
1275 buf->dmabuf = dma_buf_export(&exp_info);
1276 if (IS_ERR(buf->dmabuf)) {
1277 err = PTR_ERR(buf->dmabuf);
1282 bp.fd = dma_buf_fd(buf->dmabuf, O_ACCMODE);
1284 dma_buf_put(buf->dmabuf);
1293 * might already be closed and dmabuf no longer valid when