/linux-4.1.27/drivers/net/xen-netback/ |
D | xenbus.c | 560 pr_debug("%s -> %s\n", dev->otherend, xenbus_strstate(frontend_state)); in frontend_changed() 756 err = xenbus_scanf(XBT_NIL, dev->otherend, in connect() 874 xspath = kzalloc(strlen(dev->otherend) + 1, GFP_KERNEL); in connect_rings() 880 strcpy(xspath, dev->otherend); in connect_rings() 882 xspathsize = strlen(dev->otherend) + xenstore_path_ext_size; in connect_rings() 889 snprintf(xspath, xspathsize, "%s/queue-%u", dev->otherend, in connect_rings() 943 err = xenbus_scanf(XBT_NIL, dev->otherend, "request-rx-copy", "%u", in read_xenbus_vif_flags() 951 dev->otherend); in read_xenbus_vif_flags() 957 if (xenbus_scanf(XBT_NIL, dev->otherend, in read_xenbus_vif_flags() 969 if (xenbus_scanf(XBT_NIL, dev->otherend, "feature-sg", in read_xenbus_vif_flags() [all …]
|
/linux-4.1.27/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.1.27/drivers/input/misc/ |
D | xen-kbdfront.c | 130 if (xenbus_scanf(XBT_NIL, dev->otherend, "feature-abs-pointer", "%d", &abs) < 0) in xenkbd_probe() 319 ret = xenbus_scanf(XBT_NIL, info->xbdev->otherend, in xenkbd_backend_changed() 343 if (xenbus_scanf(XBT_NIL, info->xbdev->otherend, in xenkbd_backend_changed() 347 if (xenbus_scanf(XBT_NIL, info->xbdev->otherend, in xenkbd_backend_changed()
|
/linux-4.1.27/drivers/block/xen-blkback/ |
D | xenbus.c | 663 device_type = xenbus_read(XBT_NIL, dev->otherend, "device-type", NULL); in backend_changed() 670 err = kstrtoul(strrchr(dev->otherend, '/') + 1, 0, &handle); in backend_changed() 783 pr_debug("%s %s\n", __func__, dev->otherend); in connect() 869 pr_debug("%s %s\n", __func__, dev->otherend); in connect_ring() 871 err = xenbus_gather(XBT_NIL, dev->otherend, "ring-ref", "%lu", in connect_ring() 876 dev->otherend); in connect_ring() 881 err = xenbus_gather(XBT_NIL, dev->otherend, "protocol", in connect_ring() 895 err = xenbus_gather(XBT_NIL, dev->otherend, in connect_ring()
|
/linux-4.1.27/drivers/block/ |
D | xen-blkfront.c | 1670 err = xenbus_gather(XBT_NIL, info->xbdev->otherend, in blkfront_setup_discard() 1678 err = xenbus_gather(XBT_NIL, info->xbdev->otherend, in blkfront_setup_discard() 1690 err = xenbus_gather(XBT_NIL, info->xbdev->otherend, in blkfront_setup_indirect() 1782 err = xenbus_scanf(XBT_NIL, info->xbdev->otherend, in blkfront_connect() 1807 __func__, info->xbdev->otherend); in blkfront_connect() 1809 err = xenbus_gather(XBT_NIL, info->xbdev->otherend, in blkfront_connect() 1817 info->xbdev->otherend); in blkfront_connect() 1826 err = xenbus_scanf(XBT_NIL, info->xbdev->otherend, in blkfront_connect() 1833 err = xenbus_gather(XBT_NIL, info->xbdev->otherend, in blkfront_connect() 1850 err = xenbus_gather(XBT_NIL, info->xbdev->otherend, in blkfront_connect() [all …]
|
/linux-4.1.27/drivers/pci/ |
D | xen-pcifront.c | 865 err = xenbus_scanf(XBT_NIL, pdev->xdev->otherend, in pcifront_try_connect() 892 err = xenbus_scanf(XBT_NIL, pdev->xdev->otherend, str, in pcifront_try_connect() 951 err = xenbus_scanf(XBT_NIL, pdev->xdev->otherend, in pcifront_attach_devices() 978 err = xenbus_scanf(XBT_NIL, pdev->xdev->otherend, str, in pcifront_attach_devices() 1015 err = xenbus_scanf(XBT_NIL, pdev->xdev->otherend, "num_devs", "%d", in pcifront_detach_devices() 1033 err = xenbus_scanf(XBT_NIL, pdev->xdev->otherend, str, "%d", in pcifront_detach_devices() 1047 err = xenbus_scanf(XBT_NIL, pdev->xdev->otherend, str, in pcifront_detach_devices()
|
/linux-4.1.27/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.1.27/include/xen/ |
D | xenbus.h | 71 const char *otherend; member
|
/linux-4.1.27/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.1.27/drivers/net/ |
D | xen-netfront.c | 1118 if (xenbus_scanf(XBT_NIL, np->xbdev->otherend, "feature-sg", in xennet_fix_features() 1127 if (xenbus_scanf(XBT_NIL, np->xbdev->otherend, in xennet_fix_features() 1136 if (xenbus_scanf(XBT_NIL, np->xbdev->otherend, in xennet_fix_features() 1145 if (xenbus_scanf(XBT_NIL, np->xbdev->otherend, in xennet_fix_features() 1772 err = xenbus_scanf(XBT_NIL, info->xbdev->otherend, in talk_to_netback() 1779 err = xenbus_scanf(XBT_NIL, info->xbdev->otherend, in talk_to_netback() 1921 err = xenbus_scanf(XBT_NIL, np->xbdev->otherend, in xennet_connect()
|
/linux-4.1.27/drivers/xen/xen-pciback/ |
D | xenbus.c | 155 if (xenbus_read_driver_state(pdev->xdev->otherend) != in xen_pcibk_attach() 161 err = xenbus_gather(XBT_NIL, pdev->xdev->otherend, in xen_pcibk_attach()
|
/linux-4.1.27/drivers/char/tpm/ |
D | xen-tpmfront.c | 346 if (xenbus_scanf(XBT_NIL, dev->otherend, in backend_changed()
|
/linux-4.1.27/drivers/xen/ |
D | xen-scsiback.c | 846 err = xenbus_gather(XBT_NIL, dev->otherend, in scsiback_map() 850 xenbus_dev_fatal(dev, err, "reading %s ring", dev->otherend); in scsiback_map()
|