Lines Matching refs:map_ops
121 kvfree(map->map_ops); in gntdev_free_map()
140 add->map_ops = kvcalloc(count, sizeof(add->map_ops[0]), GFP_KERNEL); in gntdev_alloc_map()
149 NULL == add->map_ops || in gntdev_alloc_map()
192 add->map_ops[i].handle = -1; in gntdev_alloc_map()
302 gnttab_set_map_op(&map->map_ops[pgnr], pte_maddr, flags, in find_grant_ptes()
317 if (map->map_ops[0].handle != -1) in gntdev_map_grant_pages()
322 gnttab_set_map_op(&map->map_ops[i], addr, map->flags, in gntdev_map_grant_pages()
357 err = gnttab_map_refs(map->map_ops, use_ptemod ? map->kmap_ops : NULL, in gntdev_map_grant_pages()
361 if (map->map_ops[i].status == GNTST_okay) { in gntdev_map_grant_pages()
362 map->unmap_ops[i].handle = map->map_ops[i].handle; in gntdev_map_grant_pages()
368 map->unmap_ops[i].dev_bus_addr = map->map_ops[i].dev_bus_addr; in gntdev_map_grant_pages()