/Linux-v5.4/drivers/net/xen-netback/ |
D | xenbus.c | 583 pr_debug("%s -> %s\n", dev->otherend, xenbus_strstate(frontend_state)); in frontend_changed() 743 vif->multicast_control = !!xenbus_read_unsigned(dev->otherend, in xen_mcast_ctrl_changed() 752 unsigned maxlen = strlen(dev->otherend) + in xen_register_mcast_ctrl_watch() 766 dev->otherend); in xen_register_mcast_ctrl_watch() 843 err = xenbus_scanf(XBT_NIL, dev->otherend, in connect_ctrl_ring() 850 err = xenbus_scanf(XBT_NIL, dev->otherend, in connect_ctrl_ring() 855 dev->otherend); in connect_ctrl_ring() 888 requested_num_queues = xenbus_read_unsigned(dev->otherend, in connect() 1020 xspath = kzalloc(strlen(dev->otherend) + 1, GFP_KERNEL); in connect_data_rings() 1026 strcpy(xspath, dev->otherend); in connect_data_rings() [all …]
|
/Linux-v5.4/drivers/input/misc/ |
D | xen-kbdfront.c | 227 with_kbd = !xenbus_read_unsigned(dev->otherend, in xenkbd_probe() 230 with_ptr = !xenbus_read_unsigned(dev->otherend, in xenkbd_probe() 234 with_mtouch = xenbus_read_unsigned(dev->otherend, in xenkbd_probe() 277 abs = xenbus_read_unsigned(dev->otherend, in xenkbd_probe() 279 ptr_size[KPARAM_X] = xenbus_read_unsigned(dev->otherend, in xenkbd_probe() 282 ptr_size[KPARAM_Y] = xenbus_read_unsigned(dev->otherend, in xenkbd_probe() 337 num_cont = xenbus_read_unsigned(info->xbdev->otherend, in xenkbd_probe() 340 width = xenbus_read_unsigned(info->xbdev->otherend, in xenkbd_probe() 343 height = xenbus_read_unsigned(info->xbdev->otherend, in xenkbd_probe()
|
/Linux-v5.4/drivers/xen/xenbus/ |
D | xenbus_probe.c | 106 kfree(dev->otherend); in free_otherend_details() 107 dev->otherend = NULL; in free_otherend_details() 140 "%s/%s", dev->otherend, "state"); in watch_otherend() 149 path_node, NULL, &xendev->otherend, 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() 182 if (!dev->otherend || in xenbus_otherend_changed() 183 strncmp(dev->otherend, path, strlen(dev->otherend))) { in xenbus_otherend_changed() 188 state = xenbus_read_driver_state(dev->otherend); in xenbus_otherend_changed()
|
D | xenbus_probe_frontend.c | 244 if (xendev->otherend) in print_device_status() 245 rstate = xenbus_read_driver_state(xendev->otherend); in print_device_status()
|
/Linux-v5.4/drivers/block/xen-blkback/ |
D | xenbus.c | 710 device_type = xenbus_read(XBT_NIL, dev->otherend, "device-type", NULL); in backend_changed() 717 err = kstrtoul(strrchr(dev->otherend, '/') + 1, 0, &handle); in backend_changed() 840 pr_debug("%s %s\n", __func__, dev->otherend); in connect() 1027 pr_debug("%s %s\n", __func__, dev->otherend); in connect_ring() 1030 err = xenbus_scanf(XBT_NIL, dev->otherend, "protocol", in connect_ring() 1044 pers_grants = xenbus_read_unsigned(dev->otherend, "feature-persistent", in connect_ring() 1052 requested_num_queues = xenbus_read_unsigned(dev->otherend, in connect_ring() 1071 ring_page_order = xenbus_read_unsigned(dev->otherend, in connect_ring() 1086 return read_per_ring_refs(&blkif->rings[0], dev->otherend); in connect_ring() 1088 xspathsize = strlen(dev->otherend) + xenstore_path_ext_size; in connect_ring() [all …]
|
/Linux-v5.4/drivers/net/ |
D | xen-netfront.c | 1191 !xenbus_read_unsigned(np->xbdev->otherend, "feature-sg", 0)) in xennet_fix_features() 1195 !xenbus_read_unsigned(np->xbdev->otherend, in xennet_fix_features() 1200 !xenbus_read_unsigned(np->xbdev->otherend, "feature-gso-tcpv4", 0)) in xennet_fix_features() 1204 !xenbus_read_unsigned(np->xbdev->otherend, "feature-gso-tcpv6", 0)) in xennet_fix_features() 1339 xenbus_read_driver_state(dev->otherend) != in xennet_create_dev() 1341 xenbus_read_driver_state(dev->otherend) != in xennet_create_dev() 1813 max_queues = xenbus_read_unsigned(info->xbdev->otherend, in talk_to_netback() 1818 feature_split_evtchn = xenbus_read_unsigned(info->xbdev->otherend, in talk_to_netback() 1857 info->xbdev->otherend, "multi-queue-max-queues")) { in talk_to_netback() 1953 if (!xenbus_read_unsigned(np->xbdev->otherend, "feature-rx-copy", 0)) { in xennet_connect() [all …]
|
/Linux-v5.4/drivers/block/ |
D | xen-blkfront.c | 1785 max_page_order = xenbus_read_unsigned(info->xbdev->otherend, in talk_to_blkback() 1910 backend_max_queues = xenbus_read_unsigned(info->xbdev->otherend, in negotiate_mq() 2176 err = xenbus_gather(XBT_NIL, info->xbdev->otherend, in blkfront_setup_discard() 2185 !!xenbus_read_unsigned(info->xbdev->otherend, "discard-secure", in blkfront_setup_discard() 2293 if (xenbus_read_unsigned(info->xbdev->otherend, "feature-barrier", 0)) { in blkfront_gather_backend_features() 2302 if (xenbus_read_unsigned(info->xbdev->otherend, "feature-flush-cache", in blkfront_gather_backend_features() 2308 if (xenbus_read_unsigned(info->xbdev->otherend, "feature-discard", 0)) in blkfront_gather_backend_features() 2312 !!xenbus_read_unsigned(info->xbdev->otherend, in blkfront_gather_backend_features() 2315 indirect_segments = xenbus_read_unsigned(info->xbdev->otherend, in blkfront_gather_backend_features() 2349 err = xenbus_scanf(XBT_NIL, info->xbdev->otherend, in blkfront_connect() [all …]
|
/Linux-v5.4/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 state = xenbus_read_unsigned(pdev->xdev->otherend, str, in pcifront_detach_devices() 1053 err = xenbus_scanf(XBT_NIL, pdev->xdev->otherend, str, in pcifront_detach_devices()
|
/Linux-v5.4/drivers/video/fbdev/ |
D | xen-fbfront.c | 380 if (xenbus_scanf(XBT_NIL, dev->otherend, "videoram", "%d", &val) == 1) { in xenfb_probe() 385 video[KPARAM_WIDTH] = xenbus_read_unsigned(dev->otherend, "width", in xenfb_probe() 387 video[KPARAM_HEIGHT] = xenbus_read_unsigned(dev->otherend, "height", in xenfb_probe() 669 if (xenbus_read_unsigned(info->xbdev->otherend, in xenfb_backend_changed() 673 info->feature_resize = xenbus_read_unsigned(dev->otherend, in xenfb_backend_changed()
|
/Linux-v5.4/net/9p/ |
D | trans_xen.c | 394 versions = xenbus_read(XBT_NIL, dev->otherend, "versions", &len); in xen_9pfs_front_probe() 402 max_rings = xenbus_read_unsigned(dev->otherend, "max-rings", 0); in xen_9pfs_front_probe() 405 max_ring_order = xenbus_read_unsigned(dev->otherend, in xen_9pfs_front_probe()
|
/Linux-v5.4/sound/xen/ |
D | xen_snd_front.c | 336 while ((xenbus_read_unsigned(front_info->xb_dev->otherend, "state", in xen_drv_remove() 344 state = xenbus_read_unsigned(front_info->xb_dev->otherend, in xen_drv_remove()
|
/Linux-v5.4/drivers/scsi/ |
D | xen-scsifront.c | 979 dir = xenbus_directory(XBT_NIL, dev->otherend, "vscsi-devs", &dir_n); in scsifront_do_lun_hotplug() 990 err = xenbus_scanf(XBT_NIL, dev->otherend, str, "%u", in scsifront_do_lun_hotplug() 997 err = xenbus_scanf(XBT_NIL, dev->otherend, str, in scsifront_do_lun_hotplug() 1061 sg_grant = xenbus_read_unsigned(dev->otherend, "feature-sg-grant", 0); in scsifront_read_backend_params()
|
/Linux-v5.4/include/xen/ |
D | xenbus.h | 72 const char *otherend; member
|
/Linux-v5.4/drivers/xen/ |
D | pvcalls-back.c | 917 err = xenbus_scanf(XBT_NIL, dev->otherend, "port", "%u", in backend_connect() 922 dev->otherend); in backend_connect() 926 err = xenbus_scanf(XBT_NIL, dev->otherend, "ring-ref", "%u", &ring_ref); in backend_connect() 930 dev->otherend); in backend_connect()
|
D | pvcalls-front.c | 1141 versions = xenbus_read(XBT_NIL, dev->otherend, "versions", &len); in pvcalls_front_probe() 1151 max_page_order = xenbus_read_unsigned(dev->otherend, in pvcalls_front_probe() 1155 function_calls = xenbus_read_unsigned(dev->otherend, in pvcalls_front_probe()
|
D | xen-scsiback.c | 860 err = xenbus_gather(XBT_NIL, dev->otherend, in scsiback_map() 864 xenbus_dev_fatal(dev, err, "reading %s ring", dev->otherend); in scsiback_map()
|
/Linux-v5.4/drivers/xen/xen-pciback/ |
D | xenbus.c | 156 if (xenbus_read_driver_state(pdev->xdev->otherend) != in xen_pcibk_attach() 162 err = xenbus_gather(XBT_NIL, pdev->xdev->otherend, in xen_pcibk_attach()
|
/Linux-v5.4/drivers/gpu/drm/xen/ |
D | xen_drm_front.c | 758 while ((xenbus_read_unsigned(front_info->xb_dev->otherend, "state", in xen_drv_remove() 766 state = xenbus_read_unsigned(front_info->xb_dev->otherend, in xen_drv_remove()
|
/Linux-v5.4/drivers/char/tpm/ |
D | xen-tpmfront.c | 401 if (!xenbus_read_unsigned(dev->otherend, "feature-protocol-v2", in backend_changed()
|