Home
last modified time | relevance | path

Searched refs:xendev (Results 1 - 9 of 9) sorted by relevance

/kernel/linux/linux-5.10/drivers/xen/xenbus/
H A 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 in xenbus_read_otherend_details()
324 struct xenbus_device *xendev = to_xenbus_device(dev); cmp_dev() local
346 struct xenbus_device *xendev = to_xenbus_device(dev); cleanup_dev() local
439 struct xenbus_device *xendev; xenbus_probe_node() local
[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
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 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,
/kernel/linux/linux-6.6/drivers/xen/xenbus/
H A 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 in xenbus_read_otherend_details()
388 struct xenbus_device *xendev = to_xenbus_device(dev); cmp_dev() local
410 struct xenbus_device *xendev = to_xenbus_device(dev); cleanup_dev() local
503 struct xenbus_device *xendev; xenbus_probe_node() local
[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 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,
/kernel/linux/linux-6.6/drivers/net/xen-netback/
H A 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()

Completed in 7 milliseconds