Searched refs:gntdev_dmabuf_attach (Results 1 – 1 of 1) sorted by relevance
225 gntdev_dmabuf_attach = kzalloc(sizeof(*gntdev_dmabuf_attach), in dmabuf_exp_ops_attach()227 if (!gntdev_dmabuf_attach) in dmabuf_exp_ops_attach()230 gntdev_dmabuf_attach->dir = DMA_NONE; in dmabuf_exp_ops_attach()231 attach->priv = gntdev_dmabuf_attach; in dmabuf_exp_ops_attach()240 if (gntdev_dmabuf_attach) { in dmabuf_exp_ops_detach()246 gntdev_dmabuf_attach->dir, in dmabuf_exp_ops_detach()252 kfree(gntdev_dmabuf_attach); in dmabuf_exp_ops_detach()272 if (gntdev_dmabuf_attach->dir == dir) in dmabuf_exp_ops_map_dma_buf()273 return gntdev_dmabuf_attach->sgt; in dmabuf_exp_ops_map_dma_buf()291 gntdev_dmabuf_attach->sgt = sgt; in dmabuf_exp_ops_map_dma_buf()[all …]