Lines Matching refs:imp
49 } imp;
533 kfree(gntdev_dmabuf->u.imp.refs);
546 gntdev_dmabuf->u.imp.refs = kcalloc(count,
547 sizeof(gntdev_dmabuf->u.imp.refs[0]),
549 if (!gntdev_dmabuf->u.imp.refs)
555 gntdev_dmabuf->u.imp.refs[i] = INVALID_GRANT_REF;
596 gntdev_dmabuf->u.imp.attach = attach;
620 gntdev_dmabuf->u.imp.sgt = sgt;
644 gntdev_dmabuf->u.imp.refs,
659 dmabuf_imp_end_foreign_access(gntdev_dmabuf->u.imp.refs, count);
705 dmabuf_imp_end_foreign_access(gntdev_dmabuf->u.imp.refs,
708 attach = gntdev_dmabuf->u.imp.attach;
710 if (gntdev_dmabuf->u.imp.sgt)
711 dma_buf_unmap_attachment_unlocked(attach, gntdev_dmabuf->u.imp.sgt,
803 if (copy_to_user(u->refs, gntdev_dmabuf->u.imp.refs,