Searched refs:gntdev_dmabuf_attach (Results 1 – 1 of 1) sorted by relevance
222 struct gntdev_dmabuf_attachment *gntdev_dmabuf_attach; in dmabuf_exp_ops_attach() local224 gntdev_dmabuf_attach = kzalloc(sizeof(*gntdev_dmabuf_attach), in dmabuf_exp_ops_attach()226 if (!gntdev_dmabuf_attach) in dmabuf_exp_ops_attach()229 gntdev_dmabuf_attach->dir = DMA_NONE; in dmabuf_exp_ops_attach()230 attach->priv = gntdev_dmabuf_attach; in dmabuf_exp_ops_attach()237 struct gntdev_dmabuf_attachment *gntdev_dmabuf_attach = attach->priv; in dmabuf_exp_ops_detach() local239 if (gntdev_dmabuf_attach) { in dmabuf_exp_ops_detach()240 struct sg_table *sgt = gntdev_dmabuf_attach->sgt; in dmabuf_exp_ops_detach()243 if (gntdev_dmabuf_attach->dir != DMA_NONE) in dmabuf_exp_ops_detach()245 gntdev_dmabuf_attach->dir, in dmabuf_exp_ops_detach()[all …]