Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/xen/xenbus/
Dxenbus_probe.c146 int xenbus_read_otherend_details(struct xenbus_device *xendev, in xenbus_read_otherend_details() argument
149 int err = xenbus_gather(XBT_NIL, xendev->nodename, in xenbus_read_otherend_details()
150 id_node, "%i", &xendev->otherend_id, in xenbus_read_otherend_details()
151 path_node, NULL, &xendev->otherend, in xenbus_read_otherend_details()
154 xenbus_dev_fatal(xendev, err, in xenbus_read_otherend_details()
156 xendev->nodename); in xenbus_read_otherend_details()
159 if (strlen(xendev->otherend) == 0 || in xenbus_read_otherend_details()
160 !xenbus_exists(XBT_NIL, xendev->otherend, "")) { in xenbus_read_otherend_details()
161 xenbus_dev_fatal(xendev, -ENOENT, in xenbus_read_otherend_details()
164 xendev->nodename); in xenbus_read_otherend_details()
[all …]
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 …]
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()
Dxenbus.h129 int xenbus_read_otherend_details(struct xenbus_device *xendev,
/Linux-v6.6/drivers/net/xen-netback/
Dinterface.c618 struct xenbus_device *xendev = xenvif_to_xenbus_device(vif); in xenvif_connect_ctrl() local
624 err = xenbus_map_ring_valloc(xendev, &ring_ref, 1, &addr); in xenvif_connect_ctrl()
638 err = bind_interdomain_evtchn_to_irq_lateeoi(xendev, evtchn); in xenvif_connect_ctrl()
661 xenbus_unmap_ring_vfree(xendev, vif->ctrl.sring); in xenvif_connect_ctrl()