Lines Matching refs:handles
68 grant_handle_t handles[XENBUS_MAX_RING_GRANTS]; member
503 grant_handle_t *handles, in __xenbus_map_ring() argument
516 handles[i] = INVALID_GRANT_HANDLE; in __xenbus_map_ring()
528 handles[i] = info->map[i].handle; in __xenbus_map_ring()
535 if (handles[i] != INVALID_GRANT_HANDLE) { in __xenbus_map_ring()
538 GNTMAP_host_map, handles[i]); in __xenbus_map_ring()
568 static int xenbus_unmap_ring(struct xenbus_device *dev, grant_handle_t *handles, in xenbus_unmap_ring() argument
580 GNTMAP_host_map, handles[i]); in xenbus_unmap_ring()
590 handles[i], unmap[i].status); in xenbus_unmap_ring()
633 err = __xenbus_map_ring(dev, gnt_ref, nr_grefs, node->handles, in xenbus_map_ring_hvm()
660 xenbus_unmap_ring(dev, node->handles, nr_grefs, info->addrs); in xenbus_map_ring_hvm()
715 err = __xenbus_map_ring(dev, gnt_refs, nr_grefs, node->handles, in xenbus_map_ring_pv()
776 unmap[i].handle = node->handles[i]; in xenbus_unmap_ring_pv()
789 node->handles[i], unmap[i].status); in xenbus_unmap_ring_pv()
863 rv = xenbus_unmap_ring(dev, node->handles, node->nr_handles, in xenbus_unmap_ring_hvm()