Lines Matching full:nodename
148 int err = xenbus_gather(XBT_NIL, xendev->nodename, in xenbus_read_otherend_details()
155 xendev->nodename); in xenbus_read_otherend_details()
163 xendev->nodename); in xenbus_read_otherend_details()
216 DPRINTK("%s", dev->nodename); in xenbus_dev_probe()
232 dev->nodename); in xenbus_dev_probe()
252 dev->nodename); in xenbus_dev_probe()
260 xenbus_dev_error(dev, err, "xenbus_dev_probe on %s", dev->nodename); in xenbus_dev_probe()
270 DPRINTK("%s", dev->nodename); in xenbus_dev_remove()
291 xenbus_read_driver_state(dev->nodename) == XenbusStateClosing) in xenbus_dev_remove()
319 const char *nodename; member
327 if (!strcmp(xendev->nodename, info->nodename)) { in cmp_dev()
335 static struct xenbus_device *xenbus_device_find(const char *nodename, in xenbus_device_find() argument
338 struct xb_find_info info = { .dev = NULL, .nodename = nodename }; in xenbus_device_find()
348 int len = strlen(info->nodename); in cleanup_dev()
350 DPRINTK("%s", info->nodename); in cleanup_dev()
352 /* Match the info->nodename path, or any subdirectory of that path. */ in cleanup_dev()
353 if (strncmp(xendev->nodename, info->nodename, len)) in cleanup_dev()
357 if ((strlen(xendev->nodename) > len) && (xendev->nodename[len] != '/')) in cleanup_dev()
367 struct xb_find_info info = { .nodename = path }; in xenbus_cleanup_devices()
388 return sprintf(buf, "%s\n", to_xenbus_device(dev)->nodename); in nodename_show()
390 static DEVICE_ATTR_RO(nodename);
435 const char *nodename) in xenbus_probe_node() argument
443 enum xenbus_state state = xenbus_read_driver_state(nodename); in xenbus_probe_node()
451 stringlen = strlen(nodename) + 1 + strlen(type) + 1; in xenbus_probe_node()
461 strcpy(tmpstring, nodename); in xenbus_probe_node()
462 xendev->nodename = tmpstring; in xenbus_probe_node()
472 err = bus->get_bus_id(devname, xendev->nodename); in xenbus_probe_node()
604 DPRINTK("%s", xdev->nodename); in xenbus_dev_suspend()
624 DPRINTK("%s", xdev->nodename); in xenbus_dev_resume()