Lines Matching refs:unmap_ops
122 kvfree(map->unmap_ops); in gntdev_free_map()
143 add->unmap_ops = kvmalloc_array(count, sizeof(add->unmap_ops[0]), in gntdev_alloc_map()
150 NULL == add->unmap_ops || in gntdev_alloc_map()
201 add->unmap_ops[i].handle = INVALID_GRANT_HANDLE; in gntdev_alloc_map()
312 gnttab_set_unmap_op(&map->unmap_ops[pgnr], pte_maddr, flags, in find_grant_ptes()
332 gnttab_set_unmap_op(&map->unmap_ops[i], addr, in gntdev_map_grant_pages()
369 map->unmap_ops[i].handle = map->map_ops[i].handle; in gntdev_map_grant_pages()
376 map->unmap_ops[i].dev_bus_addr = map->map_ops[i].dev_bus_addr; in gntdev_map_grant_pages()
396 unsigned int offset = data->unmap_ops - map->unmap_ops; in __unmap_grant_pages_done()
399 WARN_ON(map->unmap_ops[offset + i].status != GNTST_okay && in __unmap_grant_pages_done()
400 map->unmap_ops[offset + i].handle != INVALID_GRANT_HANDLE); in __unmap_grant_pages_done()
402 map->unmap_ops[offset+i].handle, in __unmap_grant_pages_done()
403 map->unmap_ops[offset+i].status); in __unmap_grant_pages_done()
404 map->unmap_ops[offset+i].handle = INVALID_GRANT_HANDLE; in __unmap_grant_pages_done()
439 map->unmap_data.unmap_ops = map->unmap_ops + offset; in __unmap_grant_pages()