/linux-4.4.14/drivers/net/xen-netback/ |
D | xenbus.c | 568 pr_debug("%s -> %s\n", dev->otherend, xenbus_strstate(frontend_state)); in frontend_changed() 764 err = xenbus_scanf(XBT_NIL, dev->otherend, in connect() 888 xspath = kzalloc(strlen(dev->otherend) + 1, GFP_KERNEL); in connect_rings() 894 strcpy(xspath, dev->otherend); in connect_rings() 896 xspathsize = strlen(dev->otherend) + xenstore_path_ext_size; in connect_rings() 903 snprintf(xspath, xspathsize, "%s/queue-%u", dev->otherend, in connect_rings() 957 err = xenbus_scanf(XBT_NIL, dev->otherend, "request-rx-copy", "%u", in read_xenbus_vif_flags() 965 dev->otherend); in read_xenbus_vif_flags() 971 if (xenbus_scanf(XBT_NIL, dev->otherend, in read_xenbus_vif_flags() 983 if (xenbus_scanf(XBT_NIL, dev->otherend, "feature-sg", in read_xenbus_vif_flags() [all …]
|
/linux-4.4.14/drivers/block/xen-blkback/ |
D | xenbus.c | 632 device_type = xenbus_read(XBT_NIL, dev->otherend, "device-type", NULL); in backend_changed() 639 err = kstrtoul(strrchr(dev->otherend, '/') + 1, 0, &handle); in backend_changed() 752 pr_debug("%s %s\n", __func__, dev->otherend); in connect() 839 pr_debug("%s %s\n", __func__, dev->otherend); in connect_ring() 841 err = xenbus_scanf(XBT_NIL, dev->otherend, "event-channel", "%u", in connect_ring() 846 dev->otherend); in connect_ring() 851 err = xenbus_scanf(XBT_NIL, dev->otherend, "ring-page-order", "%u", in connect_ring() 854 err = xenbus_scanf(XBT_NIL, dev->otherend, "ring-ref", in connect_ring() 859 dev->otherend); in connect_ring() 863 pr_info("%s:using single page: ring-ref %d\n", dev->otherend, in connect_ring() [all …]
|
/linux-4.4.14/drivers/xen/xenbus/ |
D | xenbus_probe.c | 107 kfree(dev->otherend); in free_otherend_details() 108 dev->otherend = NULL; in free_otherend_details() 141 "%s/%s", dev->otherend, "state"); in watch_otherend() 150 path_node, NULL, &xendev->otherend, 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() 183 if (!dev->otherend || in xenbus_otherend_changed() 184 strncmp(dev->otherend, vec[XS_WATCH_PATH], in xenbus_otherend_changed() 185 strlen(dev->otherend))) { in xenbus_otherend_changed() 191 state = xenbus_read_driver_state(dev->otherend); in xenbus_otherend_changed()
|
D | xenbus_probe_frontend.c | 251 if (xendev->otherend) in print_device_status() 252 rstate = xenbus_read_driver_state(xendev->otherend); in print_device_status()
|
/linux-4.4.14/drivers/input/misc/ |
D | xen-kbdfront.c | 130 if (xenbus_scanf(XBT_NIL, dev->otherend, "feature-abs-pointer", "%d", &abs) < 0) in xenkbd_probe() 325 ret = xenbus_scanf(XBT_NIL, info->xbdev->otherend, in xenkbd_backend_changed() 349 if (xenbus_scanf(XBT_NIL, info->xbdev->otherend, in xenkbd_backend_changed() 353 if (xenbus_scanf(XBT_NIL, info->xbdev->otherend, in xenkbd_backend_changed()
|
/linux-4.4.14/drivers/block/ |
D | xen-blkfront.c | 1469 err = xenbus_scanf(XBT_NIL, info->xbdev->otherend, in talk_to_blkback() 1839 err = xenbus_gather(XBT_NIL, info->xbdev->otherend, in blkfront_setup_discard() 1847 err = xenbus_gather(XBT_NIL, info->xbdev->otherend, in blkfront_setup_discard() 1938 err = xenbus_gather(XBT_NIL, info->xbdev->otherend, in blkfront_gather_backend_features() 1955 err = xenbus_gather(XBT_NIL, info->xbdev->otherend, in blkfront_gather_backend_features() 1962 err = xenbus_gather(XBT_NIL, info->xbdev->otherend, in blkfront_gather_backend_features() 1969 err = xenbus_gather(XBT_NIL, info->xbdev->otherend, in blkfront_gather_backend_features() 1977 err = xenbus_gather(XBT_NIL, info->xbdev->otherend, in blkfront_gather_backend_features() 2007 err = xenbus_scanf(XBT_NIL, info->xbdev->otherend, in blkfront_connect() 2032 __func__, info->xbdev->otherend); in blkfront_connect() [all …]
|
/linux-4.4.14/drivers/pci/ |
D | xen-pcifront.c | 873 err = xenbus_scanf(XBT_NIL, pdev->xdev->otherend, in pcifront_try_connect() 900 err = xenbus_scanf(XBT_NIL, pdev->xdev->otherend, str, in pcifront_try_connect() 959 err = xenbus_scanf(XBT_NIL, pdev->xdev->otherend, in pcifront_attach_devices() 986 err = xenbus_scanf(XBT_NIL, pdev->xdev->otherend, str, in pcifront_attach_devices() 1023 err = xenbus_scanf(XBT_NIL, pdev->xdev->otherend, "num_devs", "%d", in pcifront_detach_devices() 1041 err = xenbus_scanf(XBT_NIL, pdev->xdev->otherend, str, "%d", in pcifront_detach_devices() 1055 err = xenbus_scanf(XBT_NIL, pdev->xdev->otherend, str, in pcifront_detach_devices()
|
/linux-4.4.14/drivers/net/ |
D | xen-netfront.c | 1169 if (xenbus_scanf(XBT_NIL, np->xbdev->otherend, "feature-sg", in xennet_fix_features() 1178 if (xenbus_scanf(XBT_NIL, np->xbdev->otherend, in xennet_fix_features() 1187 if (xenbus_scanf(XBT_NIL, np->xbdev->otherend, in xennet_fix_features() 1196 if (xenbus_scanf(XBT_NIL, np->xbdev->otherend, in xennet_fix_features() 1818 err = xenbus_scanf(XBT_NIL, info->xbdev->otherend, in talk_to_netback() 1825 err = xenbus_scanf(XBT_NIL, info->xbdev->otherend, in talk_to_netback() 1873 info->xbdev->otherend, "multi-queue-max-queues")) { in talk_to_netback() 1967 err = xenbus_scanf(XBT_NIL, np->xbdev->otherend, in xennet_connect()
|
/linux-4.4.14/drivers/video/fbdev/ |
D | xen-fbfront.c | 378 if (xenbus_scanf(XBT_NIL, dev->otherend, "videoram", "%d", &val) == 1) { in xenfb_probe() 660 if (xenbus_scanf(XBT_NIL, info->xbdev->otherend, in xenfb_backend_changed() 666 if (xenbus_scanf(XBT_NIL, dev->otherend, in xenfb_backend_changed()
|
/linux-4.4.14/drivers/scsi/ |
D | xen-scsifront.c | 990 dir = xenbus_directory(XBT_NIL, dev->otherend, "vscsi-devs", &dir_n); in scsifront_do_lun_hotplug() 1001 err = xenbus_scanf(XBT_NIL, dev->otherend, str, "%u", in scsifront_do_lun_hotplug() 1008 err = xenbus_scanf(XBT_NIL, dev->otherend, str, in scsifront_do_lun_hotplug() 1066 ret = xenbus_scanf(XBT_NIL, dev->otherend, "feature-sg-grant", "%u", in scsifront_read_backend_params()
|
/linux-4.4.14/include/xen/ |
D | xenbus.h | 71 const char *otherend; member
|
/linux-4.4.14/drivers/xen/xen-pciback/ |
D | xenbus.c | 157 if (xenbus_read_driver_state(pdev->xdev->otherend) != in xen_pcibk_attach() 163 err = xenbus_gather(XBT_NIL, pdev->xdev->otherend, in xen_pcibk_attach()
|
/linux-4.4.14/drivers/char/tpm/ |
D | xen-tpmfront.c | 346 if (xenbus_scanf(XBT_NIL, dev->otherend, in backend_changed()
|
/linux-4.4.14/drivers/xen/ |
D | xen-scsiback.c | 840 err = xenbus_gather(XBT_NIL, dev->otherend, in scsiback_map() 844 xenbus_dev_fatal(dev, err, "reading %s ring", dev->otherend); in scsiback_map()
|