Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/xen/xenbus/
Dxenbus_probe.c144 int xenbus_read_otherend_details(struct xenbus_device *xendev, in xenbus_read_otherend_details() argument
147 int err = xenbus_gather(XBT_NIL, xendev->nodename, in xenbus_read_otherend_details()
148 id_node, "%i", &xendev->otherend_id, in xenbus_read_otherend_details()
149 path_node, NULL, &xendev->otherend, in xenbus_read_otherend_details()
152 xenbus_dev_fatal(xendev, err, in xenbus_read_otherend_details()
154 xendev->nodename); in xenbus_read_otherend_details()
157 if (strlen(xendev->otherend) == 0 || in xenbus_read_otherend_details()
158 !xenbus_exists(XBT_NIL, xendev->otherend, "")) { in xenbus_read_otherend_details()
159 xenbus_dev_fatal(xendev, -ENOENT, in xenbus_read_otherend_details()
162 xendev->nodename); in xenbus_read_otherend_details()
[all …]
Dxenbus_probe_frontend.c170 static int read_backend_details(struct xenbus_device *xendev) in read_backend_details() argument
172 return xenbus_read_otherend_details(xendev, "backend-id", "backend"); in read_backend_details()
177 struct xenbus_device *xendev = to_xenbus_device(dev); in is_device_connecting() local
198 if ((strncmp(xendev->nodename, "device/vkbd", 11) == 0)) in is_device_connecting()
201 if ((strncmp(xendev->nodename, "device/vfb", 10) == 0)) in is_device_connecting()
205 return (xendev->state < XenbusStateConnected || in is_device_connecting()
206 (xendev->state == XenbusStateConnected && in is_device_connecting()
207 xendrv->is_ready && !xendrv->is_ready(xendev))); in is_device_connecting()
231 struct xenbus_device *xendev = to_xenbus_device(dev); in print_device_status() local
240 pr_info("Device with no driver: %s\n", xendev->nodename); in print_device_status()
[all …]
Dxenbus_probe_backend.c219 static int read_frontend_details(struct xenbus_device *xendev) in read_frontend_details() argument
221 return xenbus_read_otherend_details(xendev, "frontend-id", "frontend"); in read_frontend_details()
Dxenbus.h128 int xenbus_read_otherend_details(struct xenbus_device *xendev,