Home
last modified time | relevance | path

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

/Linux-v5.10/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.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
220 if ((strncmp(xendev->nodename, "device/vkbd", 11) == 0)) in is_device_connecting()
223 if ((strncmp(xendev->nodename, "device/vfb", 10) == 0)) in is_device_connecting()
227 return (xendev->state < XenbusStateConnected || in is_device_connecting()
228 (xendev->state == XenbusStateConnected && in is_device_connecting()
229 xendrv->is_ready && !xendrv->is_ready(xendev))); in is_device_connecting()
253 struct xenbus_device *xendev = to_xenbus_device(dev); in print_device_status() local
262 pr_info("Device with no driver: %s\n", xendev->nodename); in print_device_status()
[all …]
Dxenbus_probe_backend.c218 static int read_frontend_details(struct xenbus_device *xendev) in read_frontend_details() argument
220 return xenbus_read_otherend_details(xendev, "frontend-id", "frontend"); in read_frontend_details()
Dxenbus.h127 int xenbus_read_otherend_details(struct xenbus_device *xendev,