Home
last modified time | relevance | path

Searched refs:xendev (Results 1 – 5 of 5) sorted by relevance

/linux/drivers/xen/xenbus/
H A Dxenbus_probe.c150 int xenbus_read_otherend_details(struct xenbus_device *xendev, in xenbus_read_otherend_details() argument
153 int err = xenbus_gather(XBT_NIL, xendev->nodename, in xenbus_read_otherend_details()
154 id_node, "%i", &xendev->otherend_id, in xenbus_read_otherend_details()
155 path_node, NULL, &xendev->otherend, in xenbus_read_otherend_details()
158 xenbus_dev_fatal(xendev, err, in xenbus_read_otherend_details()
160 xendev->nodename); in xenbus_read_otherend_details()
163 if (strlen(xendev->otherend) == 0 || in xenbus_read_otherend_details()
164 !xenbus_exists(XBT_NIL, xendev->otherend, "")) { in xenbus_read_otherend_details()
165 xenbus_dev_fatal(xendev, -ENOENT, in xenbus_read_otherend_details()
168 xendev->nodename); in xenbus_read_otherend_details()
[all …]
H A Dxenbus_probe_frontend.c192 static int read_backend_details(struct xenbus_device *xendev) in read_backend_details() argument
194 return xenbus_read_otherend_details(xendev, "backend-id", "backend"); in read_backend_details()
199 struct xenbus_device *xendev = to_xenbus_device(dev); in is_device_connecting() local
219 return (xendev->state < XenbusStateConnected || in is_device_connecting()
220 (xendev->state == XenbusStateConnected && in is_device_connecting()
221 xendrv->is_ready && !xendrv->is_ready(xendev))); in is_device_connecting()
245 struct xenbus_device *xendev = to_xenbus_device(dev); in print_device_status() local
254 pr_info("Device with no driver: %s\n", xendev->nodename); in print_device_status()
255 } else if (xendev->state < XenbusStateConnected) { in print_device_status()
257 if (xendev->otherend) in print_device_status()
[all …]
H A Dxenbus_probe_backend.c225 static int read_frontend_details(struct xenbus_device *xendev) in read_frontend_details() argument
227 return xenbus_read_otherend_details(xendev, "frontend-id", "frontend"); in read_frontend_details()
H A Dxenbus.h129 int xenbus_read_otherend_details(struct xenbus_device *xendev,
/linux/drivers/net/xen-netback/
H A Dinterface.c621 struct xenbus_device *xendev = xenvif_to_xenbus_device(vif); in xenvif_connect_ctrl() local
627 err = xenbus_map_ring_valloc(xendev, &ring_ref, 1, &addr); in xenvif_connect_ctrl()
641 err = bind_interdomain_evtchn_to_irq_lateeoi(xendev, evtchn); in xenvif_connect_ctrl()
664 xenbus_unmap_ring_vfree(xendev, vif->ctrl.sring); in xenvif_connect_ctrl()