Lines Matching refs:grant_map

75 struct grant_map {  struct
90 static int unmap_grant_pages(struct grant_map *map, int offset, int pages); argument
98 struct grant_map *map; in gntdev_print_maps()
108 static void gntdev_free_map(struct grant_map *map) in gntdev_free_map()
123 static struct grant_map *gntdev_alloc_map(struct gntdev_priv *priv, int count) in gntdev_alloc_map()
125 struct grant_map *add; in gntdev_alloc_map()
128 add = kzalloc(sizeof(struct grant_map), GFP_KERNEL); in gntdev_alloc_map()
164 static void gntdev_add_map(struct gntdev_priv *priv, struct grant_map *add) in gntdev_add_map()
166 struct grant_map *map; in gntdev_add_map()
181 static struct grant_map *gntdev_find_map_index(struct gntdev_priv *priv, in gntdev_find_map_index()
184 struct grant_map *map; in gntdev_find_map_index()
196 static void gntdev_put_map(struct grant_map *map) in gntdev_put_map()
221 struct grant_map *map = data; in find_grant_ptes()
237 static int map_grant_pages(struct grant_map *map) in map_grant_pages()
298 static int __unmap_grant_pages(struct grant_map *map, int offset, int pages) in __unmap_grant_pages()
336 static int unmap_grant_pages(struct grant_map *map, int offset, int pages) in unmap_grant_pages()
370 struct grant_map *map = vma->vm_private_data; in gntdev_vma_open()
378 struct grant_map *map = vma->vm_private_data; in gntdev_vma_close()
398 struct grant_map *map; in mn_invl_range_start()
435 struct grant_map *map; in mn_release()
496 struct grant_map *map; in gntdev_release()
501 map = list_entry(priv->maps.next, struct grant_map, next); in gntdev_release()
516 struct grant_map *map; in gntdev_ioctl_map_grant_ref()
557 struct grant_map *map; in gntdev_ioctl_unmap_grant_ref()
581 struct grant_map *map; in gntdev_ioctl_get_offset_for_vaddr()
606 struct grant_map *map; in gntdev_ioctl_notify()
701 struct grant_map *map; in gntdev_mmap()