Home
last modified time | relevance | path

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

/drivers/xen/xenbus/
Dxenbus_probe.c145 int xenbus_read_otherend_details(struct xenbus_device *xendev, in xenbus_read_otherend_details() argument
148 int err = xenbus_gather(XBT_NIL, xendev->nodename, in xenbus_read_otherend_details()
149 id_node, "%i", &xendev->otherend_id, in xenbus_read_otherend_details()
150 path_node, NULL, &xendev->otherend, in xenbus_read_otherend_details()
153 xenbus_dev_fatal(xendev, err, in xenbus_read_otherend_details()
155 xendev->nodename); in xenbus_read_otherend_details()
158 if (strlen(xendev->otherend) == 0 || in xenbus_read_otherend_details()
159 !xenbus_exists(XBT_NIL, xendev->otherend, "")) { in xenbus_read_otherend_details()
160 xenbus_dev_fatal(xendev, -ENOENT, in xenbus_read_otherend_details()
163 xendev->nodename); in xenbus_read_otherend_details()
[all …]
Dxenbus_probe_frontend.c171 static int read_backend_details(struct xenbus_device *xendev) in read_backend_details() argument
173 return xenbus_read_otherend_details(xendev, "backend-id", "backend"); in read_backend_details()
178 struct xenbus_device *xendev = to_xenbus_device(dev); in is_device_connecting() local
199 if ((strncmp(xendev->nodename, "device/vkbd", 11) == 0)) in is_device_connecting()
202 if ((strncmp(xendev->nodename, "device/vfb", 10) == 0)) in is_device_connecting()
206 return (xendev->state < XenbusStateConnected || in is_device_connecting()
207 (xendev->state == XenbusStateConnected && in is_device_connecting()
208 xendrv->is_ready && !xendrv->is_ready(xendev))); in is_device_connecting()
232 struct xenbus_device *xendev = to_xenbus_device(dev); in print_device_status() local
241 pr_info("Device with no driver: %s\n", xendev->nodename); in print_device_status()
[all …]
Dxenbus_probe_backend.c220 static int read_frontend_details(struct xenbus_device *xendev) in read_frontend_details() argument
222 return xenbus_read_otherend_details(xendev, "frontend-id", "frontend"); in read_frontend_details()
Dxenbus_probe.h83 extern int xenbus_read_otherend_details(struct xenbus_device *xendev,