Searched refs:gnt_ref (Results 1 – 3 of 3) sorted by relevance
/drivers/xen/xenbus/ |
D | xenbus_client.c | 462 int xenbus_map_ring_valloc(struct xenbus_device *dev, int gnt_ref, void **vaddr) in xenbus_map_ring_valloc() argument 464 return ring_ops->map(dev, gnt_ref, vaddr); in xenbus_map_ring_valloc() 469 int gnt_ref, void **vaddr) in xenbus_map_ring_valloc_pv() argument 473 .ref = gnt_ref, in xenbus_map_ring_valloc_pv() 501 gnt_ref, dev->otherend_id); in xenbus_map_ring_valloc_pv() 517 int gnt_ref, void **vaddr) in xenbus_map_ring_valloc_hvm() argument 535 err = xenbus_map_ring(dev, gnt_ref, &node->handle, addr); in xenbus_map_ring_valloc_hvm() 568 int xenbus_map_ring(struct xenbus_device *dev, int gnt_ref, in xenbus_map_ring() argument 573 gnttab_set_map_op(&op, (unsigned long)vaddr, GNTMAP_host_map, gnt_ref, in xenbus_map_ring() 581 gnt_ref, dev->otherend_id); in xenbus_map_ring()
|
/drivers/xen/xen-pciback/ |
D | xenbus.c | 101 static int xen_pcibk_do_attach(struct xen_pcibk_device *pdev, int gnt_ref, in xen_pcibk_do_attach() argument 109 gnt_ref, remote_evtchn); in xen_pcibk_do_attach() 111 err = xenbus_map_ring_valloc(pdev->xdev, gnt_ref, &vaddr); in xen_pcibk_do_attach() 139 int gnt_ref, remote_evtchn; in xen_pcibk_attach() local 157 "pci-op-ref", "%u", &gnt_ref, in xen_pcibk_attach() 175 err = xen_pcibk_do_attach(pdev, gnt_ref, remote_evtchn); in xen_pcibk_attach()
|
/drivers/pci/ |
D | xen-pcifront.c | 41 int gnt_ref; member 735 pdev->gnt_ref = INVALID_GRANT_REF; in alloc_pdev() 760 if (pdev->gnt_ref != INVALID_GRANT_REF) in free_pdev() 761 gnttab_end_foreign_access(pdev->gnt_ref, 0 /* r/w page */, in free_pdev() 780 pdev->gnt_ref = err; in pcifront_publish_info() 804 "pci-op-ref", "%u", pdev->gnt_ref); in pcifront_publish_info()
|