/linux/drivers/net/xen-netback/ |
A D | xenbus.c | 403 err = xenbus_scanf(XBT_NIL, dev->otherend, in read_xenbus_frontend_xdp() 598 unsigned maxlen = strlen(dev->otherend) + in xen_register_mcast_ctrl_watch() 612 dev->otherend); in xen_register_mcast_ctrl_watch() 692 err = xenbus_scanf(XBT_NIL, dev->otherend, in connect_ctrl_ring() 699 err = xenbus_scanf(XBT_NIL, dev->otherend, in connect_ctrl_ring() 704 dev->otherend); in connect_ctrl_ring() 873 xspath = kzalloc(strlen(dev->otherend) + 1, GFP_KERNEL); in connect_data_rings() 879 strcpy(xspath, dev->otherend); in connect_data_rings() 950 dev->otherend); in read_xenbus_vif_flags() 975 vif->ip_csum = !xenbus_read_unsigned(dev->otherend, in read_xenbus_vif_flags() [all …]
|
/linux/drivers/input/misc/ |
A 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/drivers/xen/xenbus/ |
A D | xenbus_probe.c | 106 kfree(dev->otherend); in free_otherend_details() 107 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, path, strlen(dev->otherend))) { in xenbus_otherend_changed() 189 state = xenbus_read_driver_state(dev->otherend); in xenbus_otherend_changed()
|
A D | xenbus_probe_frontend.c | 257 if (xendev->otherend) in print_device_status() 258 rstate = xenbus_read_driver_state(xendev->otherend); in print_device_status()
|
/linux/drivers/block/xen-blkback/ |
A D | xenbus.c | 751 device_type = xenbus_read(XBT_NIL, dev->otherend, "device-type", NULL); in backend_changed() 758 err = kstrtoul(strrchr(dev->otherend, '/') + 1, 0, &handle); in backend_changed() 898 pr_debug("%s %s\n", __func__, dev->otherend); in connect() 1076 pr_debug("%s %s\n", __func__, dev->otherend); in connect_ring() 1079 err = xenbus_scanf(XBT_NIL, dev->otherend, "protocol", in connect_ring() 1095 xenbus_read_unsigned(dev->otherend, in connect_ring() 1103 requested_num_queues = xenbus_read_unsigned(dev->otherend, in connect_ring() 1122 err = xenbus_scanf(XBT_NIL, dev->otherend, "ring-page-order", "%u", in connect_ring() 1140 return read_per_ring_refs(&blkif->rings[0], dev->otherend); in connect_ring() 1142 xspathsize = strlen(dev->otherend) + xenstore_path_ext_size; in connect_ring() [all …]
|
/linux/drivers/net/ |
A D | xen-netfront.c | 1416 !xenbus_read_unsigned(np->xbdev->otherend, in xennet_fix_features() 1577 xenbus_read_driver_state(np->xbdev->otherend) == in xennet_xdp_set() 1692 xenbus_read_driver_state(dev->otherend) != in xennet_create_dev() 1694 xenbus_read_driver_state(dev->otherend) != in xennet_create_dev() 2232 max_queues = xenbus_read_unsigned(info->xbdev->otherend, in talk_to_netback() 2291 info->xbdev->otherend, "multi-queue-max-queues")) { in talk_to_netback() 2591 xenbus_read_driver_state(dev->otherend) == in xennet_bus_close() 2593 xenbus_read_driver_state(dev->otherend) == in xennet_bus_close() 2595 xenbus_read_driver_state(dev->otherend) == in xennet_bus_close() 2606 xenbus_read_driver_state(dev->otherend) == in xennet_bus_close() [all …]
|
/linux/drivers/block/ |
A D | xen-blkfront.c | 1781 max_page_order = xenbus_read_unsigned(info->xbdev->otherend, in talk_to_blkback() 1897 backend_max_queues = xenbus_read_unsigned(info->xbdev->otherend, in negotiate_mq() 2155 !!xenbus_read_unsigned(info->xbdev->otherend, "discard-secure", in blkfront_setup_discard() 2289 !!xenbus_read_unsigned(info->xbdev->otherend, in blkfront_gather_backend_features() 2292 indirect_segments = xenbus_read_unsigned(info->xbdev->otherend, in blkfront_gather_backend_features() 2326 err = xenbus_scanf(XBT_NIL, info->xbdev->otherend, in blkfront_connect() 2350 __func__, info->xbdev->otherend); in blkfront_connect() 2352 err = xenbus_gather(XBT_NIL, info->xbdev->otherend, in blkfront_connect() 2360 info->xbdev->otherend); in blkfront_connect() 2377 info->xbdev->otherend); in blkfront_connect() [all …]
|
/linux/drivers/pci/ |
A D | xen-pcifront.c | 855 err = xenbus_scanf(XBT_NIL, pdev->xdev->otherend, in pcifront_try_connect() 882 err = xenbus_scanf(XBT_NIL, pdev->xdev->otherend, str, in pcifront_try_connect() 941 err = xenbus_scanf(XBT_NIL, pdev->xdev->otherend, in pcifront_attach_devices() 968 err = xenbus_scanf(XBT_NIL, pdev->xdev->otherend, str, in pcifront_attach_devices() 1005 err = xenbus_scanf(XBT_NIL, pdev->xdev->otherend, "num_devs", "%d", in pcifront_detach_devices() 1024 state = xenbus_read_unsigned(pdev->xdev->otherend, str, in pcifront_detach_devices() 1036 err = xenbus_scanf(XBT_NIL, pdev->xdev->otherend, str, in pcifront_detach_devices()
|
/linux/drivers/video/fbdev/ |
A 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/net/9p/ |
A D | trans_xen.c | 375 versions = xenbus_read(XBT_NIL, dev->otherend, "versions", &len); in xen_9pfs_front_probe() 383 max_rings = xenbus_read_unsigned(dev->otherend, "max-rings", 0); in xen_9pfs_front_probe() 386 max_ring_order = xenbus_read_unsigned(dev->otherend, in xen_9pfs_front_probe()
|
/linux/sound/xen/ |
A D | xen_snd_front.c | 332 while ((xenbus_read_unsigned(front_info->xb_dev->otherend, "state", in xen_drv_remove() 340 state = xenbus_read_unsigned(front_info->xb_dev->otherend, in xen_drv_remove()
|
/linux/drivers/scsi/ |
A D | xen-scsifront.c | 985 dir = xenbus_directory(XBT_NIL, dev->otherend, "vscsi-devs", &dir_n); in scsifront_do_lun_hotplug() 996 err = xenbus_scanf(XBT_NIL, dev->otherend, str, "%u", in scsifront_do_lun_hotplug() 1003 err = xenbus_scanf(XBT_NIL, dev->otherend, str, in scsifront_do_lun_hotplug() 1067 sg_grant = xenbus_read_unsigned(dev->otherend, "feature-sg-grant", 0); in scsifront_read_backend_params()
|
/linux/include/xen/ |
A D | xenbus.h | 82 const char *otherend; member
|
/linux/drivers/xen/ |
A D | pvcalls-back.c | 933 err = xenbus_scanf(XBT_NIL, dev->otherend, "port", "%u", in backend_connect() 938 dev->otherend); in backend_connect() 942 err = xenbus_scanf(XBT_NIL, dev->otherend, "ring-ref", "%u", &ring_ref); in backend_connect() 946 dev->otherend); in backend_connect()
|
A D | pvcalls-front.c | 1144 versions = xenbus_read(XBT_NIL, dev->otherend, "versions", &len); in pvcalls_front_probe() 1154 max_page_order = xenbus_read_unsigned(dev->otherend, in pvcalls_front_probe() 1158 function_calls = xenbus_read_unsigned(dev->otherend, in pvcalls_front_probe()
|
A D | xen-scsiback.c | 826 err = xenbus_gather(XBT_NIL, dev->otherend, in scsiback_map() 830 xenbus_dev_fatal(dev, err, "reading %s ring", dev->otherend); in scsiback_map()
|
/linux/drivers/xen/xen-pciback/ |
A 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/drivers/gpu/drm/xen/ |
A D | xen_drm_front.c | 747 while ((xenbus_read_unsigned(front_info->xb_dev->otherend, "state", in xen_drv_remove() 755 state = xenbus_read_unsigned(front_info->xb_dev->otherend, in xen_drv_remove()
|
/linux/drivers/char/tpm/ |
A D | xen-tpmfront.c | 401 if (!xenbus_read_unsigned(dev->otherend, "feature-protocol-v2", in backend_changed()
|