Lines Matching refs:handles
68 grant_handle_t handles[XENBUS_MAX_RING_GRANTS]; member
548 grant_handle_t *handles, in __xenbus_map_ring() argument
561 handles[i] = INVALID_GRANT_HANDLE; in __xenbus_map_ring()
573 handles[i] = info->map[i].handle; in __xenbus_map_ring()
580 if (handles[i] != INVALID_GRANT_HANDLE) { in __xenbus_map_ring()
583 GNTMAP_host_map, handles[i]); in __xenbus_map_ring()
612 static int xenbus_unmap_ring(struct xenbus_device *dev, grant_handle_t *handles, in xenbus_unmap_ring() argument
624 GNTMAP_host_map, handles[i]); in xenbus_unmap_ring()
633 handles[i], unmap[i].status); in xenbus_unmap_ring()
676 err = __xenbus_map_ring(dev, gnt_ref, nr_grefs, node->handles, in xenbus_map_ring_hvm()
703 xenbus_unmap_ring(dev, node->handles, nr_grefs, info->addrs); in xenbus_map_ring_hvm()
758 err = __xenbus_map_ring(dev, gnt_refs, nr_grefs, node->handles, in xenbus_map_ring_pv()
819 unmap[i].handle = node->handles[i]; in xenbus_unmap_ring_pv()
831 node->handles[i], unmap[i].status); in xenbus_unmap_ring_pv()
905 rv = xenbus_unmap_ring(dev, node->handles, node->nr_handles, in xenbus_unmap_ring_hvm()