Lines Matching refs:unmap_ops
120 kvfree(map->unmap_ops); in gntdev_free_map()
138 add->unmap_ops = kvcalloc(count, sizeof(add->unmap_ops[0]), GFP_KERNEL); in gntdev_alloc_map()
145 NULL == add->unmap_ops || in gntdev_alloc_map()
187 add->unmap_ops[i].handle = -1; in gntdev_alloc_map()
276 gnttab_set_unmap_op(&map->unmap_ops[pgnr], pte_maddr, flags, in find_grant_ptes()
303 gnttab_set_unmap_op(&map->unmap_ops[i], addr, in gntdev_map_grant_pages()
340 map->unmap_ops[i].handle = map->map_ops[i].handle; in gntdev_map_grant_pages()
345 map->unmap_ops[i].dev_bus_addr = map->map_ops[i].dev_bus_addr; in gntdev_map_grant_pages()
373 unmap_data.unmap_ops = map->unmap_ops + offset; in __unmap_grant_pages()
383 if (map->unmap_ops[offset+i].status) in __unmap_grant_pages()
386 map->unmap_ops[offset+i].handle, in __unmap_grant_pages()
387 map->unmap_ops[offset+i].status); in __unmap_grant_pages()
388 map->unmap_ops[offset+i].handle = -1; in __unmap_grant_pages()
404 while (pages && map->unmap_ops[offset].handle == -1) { in unmap_grant_pages()
410 if (map->unmap_ops[offset+range].handle == -1) in unmap_grant_pages()