Lines Matching refs:grants
90 struct ioctl_gntdev_grant_ref *grants; member
125 kfree(map->grants); in gntdev_free_map()
142 add->grants = kcalloc(count, sizeof(add->grants[0]), GFP_KERNEL); in gntdev_alloc_map()
148 if (NULL == add->grants || in gntdev_alloc_map()
257 map->grants[pgnr].ref, in find_grant_ptes()
258 map->grants[pgnr].domid); in find_grant_ptes()
285 map->grants[i].ref, in map_grant_pages()
286 map->grants[i].domid); in map_grant_pages()
304 map->grants[i].ref, in map_grant_pages()
305 map->grants[i].domid); in map_grant_pages()
610 if (copy_from_user(map->grants, &u->refs, in gntdev_ioctl_map_grant_ref()
611 sizeof(map->grants[0]) * op.count) != 0) { in gntdev_ioctl_map_grant_ref()