Lines Matching refs:imp
55 } imp;
539 kfree(gntdev_dmabuf->u.imp.refs);
552 gntdev_dmabuf->u.imp.refs = kcalloc(count,
553 sizeof(gntdev_dmabuf->u.imp.refs[0]),
555 if (!gntdev_dmabuf->u.imp.refs)
561 gntdev_dmabuf->u.imp.refs[i] = GRANT_INVALID_REF;
602 gntdev_dmabuf->u.imp.attach = attach;
626 gntdev_dmabuf->u.imp.sgt = sgt;
650 gntdev_dmabuf->u.imp.refs,
665 dmabuf_imp_end_foreign_access(gntdev_dmabuf->u.imp.refs, count);
711 dmabuf_imp_end_foreign_access(gntdev_dmabuf->u.imp.refs,
714 attach = gntdev_dmabuf->u.imp.attach;
716 if (gntdev_dmabuf->u.imp.sgt)
717 dma_buf_unmap_attachment(attach, gntdev_dmabuf->u.imp.sgt,
809 if (copy_to_user(u->refs, gntdev_dmabuf->u.imp.refs,