Lines Matching refs:grants
120 kvfree(map->grants); in gntdev_free_map()
139 add->grants = kvmalloc_array(count, sizeof(add->grants[0]), in gntdev_alloc_map()
148 if (NULL == add->grants || in gntdev_alloc_map()
198 add->grants[i].domid = DOMID_INVALID; in gntdev_alloc_map()
199 add->grants[i].ref = INVALID_GRANT_REF; in gntdev_alloc_map()
313 map->grants[pgnr].ref, in find_grant_ptes()
314 map->grants[pgnr].domid); in find_grant_ptes()
333 map->grants[i].ref, in gntdev_map_grant_pages()
334 map->grants[i].domid); in gntdev_map_grant_pages()
359 map->grants[i].ref, in gntdev_map_grant_pages()
360 map->grants[i].domid); in gntdev_map_grant_pages()
649 if (copy_from_user(map->grants, &u->refs, in gntdev_ioctl_map_grant_ref()
650 sizeof(map->grants[0]) * op.count) != 0) { in gntdev_ioctl_map_grant_ref()