Lines Matching refs:grants
83 struct ioctl_gntdev_grant_ref *grants; member
116 kfree(map->grants); in gntdev_free_map()
132 add->grants = kcalloc(count, sizeof(add->grants[0]), GFP_KERNEL); in gntdev_alloc_map()
137 if (NULL == add->grants || in gntdev_alloc_map()
230 map->grants[pgnr].ref, in find_grant_ptes()
231 map->grants[pgnr].domid); in find_grant_ptes()
249 map->grants[i].ref, in map_grant_pages()
250 map->grants[i].domid); in map_grant_pages()
275 map->grants[i].ref, in map_grant_pages()
276 map->grants[i].domid); in map_grant_pages()
536 if (copy_from_user(map->grants, &u->refs, in gntdev_ioctl_map_grant_ref()
537 sizeof(map->grants[0]) * op.count) != 0) { in gntdev_ioctl_map_grant_ref()