Home
last modified time | relevance | path

Searched refs:otherend (Results 1 – 19 of 19) sorted by relevance

/Linux-v4.19/drivers/net/xen-netback/
Dxenbus.c647 pr_debug("%s -> %s\n", dev->otherend, xenbus_strstate(frontend_state)); in frontend_changed()
807 vif->multicast_control = !!xenbus_read_unsigned(dev->otherend, in xen_mcast_ctrl_changed()
816 unsigned maxlen = strlen(dev->otherend) + in xen_register_mcast_ctrl_watch()
830 dev->otherend); in xen_register_mcast_ctrl_watch()
907 err = xenbus_scanf(XBT_NIL, dev->otherend, in connect_ctrl_ring()
914 err = xenbus_scanf(XBT_NIL, dev->otherend, in connect_ctrl_ring()
919 dev->otherend); in connect_ctrl_ring()
952 requested_num_queues = xenbus_read_unsigned(dev->otherend, in connect()
1084 xspath = kzalloc(strlen(dev->otherend) + 1, GFP_KERNEL); in connect_data_rings()
1090 strcpy(xspath, dev->otherend); in connect_data_rings()
[all …]
/Linux-v4.19/drivers/input/misc/
Dxen-kbdfront.c227 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-v4.19/drivers/xen/xenbus/
Dxenbus_probe.c106 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()
Dxenbus_probe_frontend.c243 if (xendev->otherend) in print_device_status()
244 rstate = xenbus_read_driver_state(xendev->otherend); in print_device_status()
/Linux-v4.19/drivers/block/xen-blkback/
Dxenbus.c718 device_type = xenbus_read(XBT_NIL, dev->otherend, "device-type", NULL); in backend_changed()
725 err = kstrtoul(strrchr(dev->otherend, '/') + 1, 0, &handle); in backend_changed()
848 pr_debug("%s %s\n", __func__, dev->otherend); in connect()
939 err = xenbus_scanf(XBT_NIL, dev->otherend, "ring-page-order", "%u", in read_per_ring_refs()
1034 pr_debug("%s %s\n", __func__, dev->otherend); in connect_ring()
1037 err = xenbus_scanf(XBT_NIL, dev->otherend, "protocol", in connect_ring()
1051 pers_grants = xenbus_read_unsigned(dev->otherend, "feature-persistent", in connect_ring()
1059 requested_num_queues = xenbus_read_unsigned(dev->otherend, in connect_ring()
1079 return read_per_ring_refs(&be->blkif->rings[0], dev->otherend); in connect_ring()
1081 xspathsize = strlen(dev->otherend) + xenstore_path_ext_size; in connect_ring()
[all …]
/Linux-v4.19/drivers/net/
Dxen-netfront.c1193 !xenbus_read_unsigned(np->xbdev->otherend, "feature-sg", 0)) in xennet_fix_features()
1197 !xenbus_read_unsigned(np->xbdev->otherend, in xennet_fix_features()
1202 !xenbus_read_unsigned(np->xbdev->otherend, "feature-gso-tcpv4", 0)) in xennet_fix_features()
1206 !xenbus_read_unsigned(np->xbdev->otherend, "feature-gso-tcpv6", 0)) in xennet_fix_features()
1341 xenbus_read_driver_state(dev->otherend) != in xennet_create_dev()
1343 xenbus_read_driver_state(dev->otherend) != in xennet_create_dev()
1815 max_queues = xenbus_read_unsigned(info->xbdev->otherend, in talk_to_netback()
1820 feature_split_evtchn = xenbus_read_unsigned(info->xbdev->otherend, in talk_to_netback()
1859 info->xbdev->otherend, "multi-queue-max-queues")) { in talk_to_netback()
1955 if (!xenbus_read_unsigned(np->xbdev->otherend, "feature-rx-copy", 0)) { in xennet_connect()
[all …]
/Linux-v4.19/drivers/block/
Dxen-blkfront.c1785 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()
2175 err = xenbus_gather(XBT_NIL, info->xbdev->otherend, in blkfront_setup_discard()
2184 !!xenbus_read_unsigned(info->xbdev->otherend, "discard-secure", in blkfront_setup_discard()
2292 if (xenbus_read_unsigned(info->xbdev->otherend, "feature-barrier", 0)) { in blkfront_gather_backend_features()
2301 if (xenbus_read_unsigned(info->xbdev->otherend, "feature-flush-cache", in blkfront_gather_backend_features()
2307 if (xenbus_read_unsigned(info->xbdev->otherend, "feature-discard", 0)) in blkfront_gather_backend_features()
2311 !!xenbus_read_unsigned(info->xbdev->otherend, in blkfront_gather_backend_features()
2314 indirect_segments = xenbus_read_unsigned(info->xbdev->otherend, in blkfront_gather_backend_features()
2348 err = xenbus_scanf(XBT_NIL, info->xbdev->otherend, in blkfront_connect()
[all …]
/Linux-v4.19/drivers/pci/
Dxen-pcifront.c874 err = xenbus_scanf(XBT_NIL, pdev->xdev->otherend, in pcifront_try_connect()
901 err = xenbus_scanf(XBT_NIL, pdev->xdev->otherend, str, in pcifront_try_connect()
960 err = xenbus_scanf(XBT_NIL, pdev->xdev->otherend, in pcifront_attach_devices()
987 err = xenbus_scanf(XBT_NIL, pdev->xdev->otherend, str, in pcifront_attach_devices()
1024 err = xenbus_scanf(XBT_NIL, pdev->xdev->otherend, "num_devs", "%d", in pcifront_detach_devices()
1042 state = xenbus_read_unsigned(pdev->xdev->otherend, str, in pcifront_detach_devices()
1054 err = xenbus_scanf(XBT_NIL, pdev->xdev->otherend, str, in pcifront_detach_devices()
/Linux-v4.19/drivers/video/fbdev/
Dxen-fbfront.c380 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-v4.19/net/9p/
Dtrans_xen.c393 versions = xenbus_read(XBT_NIL, dev->otherend, "versions", &len); in xen_9pfs_front_probe()
401 max_rings = xenbus_read_unsigned(dev->otherend, "max-rings", 0); in xen_9pfs_front_probe()
404 max_ring_order = xenbus_read_unsigned(dev->otherend, in xen_9pfs_front_probe()
/Linux-v4.19/sound/xen/
Dxen_snd_front.c335 while ((xenbus_read_unsigned(front_info->xb_dev->otherend, "state", in xen_drv_remove()
343 state = xenbus_read_unsigned(front_info->xb_dev->otherend, in xen_drv_remove()
/Linux-v4.19/drivers/scsi/
Dxen-scsifront.c980 dir = xenbus_directory(XBT_NIL, dev->otherend, "vscsi-devs", &dir_n); in scsifront_do_lun_hotplug()
991 err = xenbus_scanf(XBT_NIL, dev->otherend, str, "%u", in scsifront_do_lun_hotplug()
998 err = xenbus_scanf(XBT_NIL, dev->otherend, str, in scsifront_do_lun_hotplug()
1062 sg_grant = xenbus_read_unsigned(dev->otherend, "feature-sg-grant", 0); in scsifront_read_backend_params()
/Linux-v4.19/include/xen/
Dxenbus.h72 const char *otherend; member
/Linux-v4.19/drivers/xen/
Dpvcalls-back.c927 err = xenbus_scanf(XBT_NIL, dev->otherend, "port", "%u", in backend_connect()
932 dev->otherend); in backend_connect()
936 err = xenbus_scanf(XBT_NIL, dev->otherend, "ring-ref", "%u", &ring_ref); in backend_connect()
940 dev->otherend); in backend_connect()
Dpvcalls-front.c1108 versions = xenbus_read(XBT_NIL, dev->otherend, "versions", &len); in pvcalls_front_probe()
1118 max_page_order = xenbus_read_unsigned(dev->otherend, in pvcalls_front_probe()
1122 function_calls = xenbus_read_unsigned(dev->otherend, in pvcalls_front_probe()
Dxen-scsiback.c860 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-v4.19/drivers/xen/xen-pciback/
Dxenbus.c156 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-v4.19/drivers/gpu/drm/xen/
Dxen_drm_front.c778 while ((xenbus_read_unsigned(front_info->xb_dev->otherend, "state", in xen_drv_remove()
786 state = xenbus_read_unsigned(front_info->xb_dev->otherend, in xen_drv_remove()
/Linux-v4.19/drivers/char/tpm/
Dxen-tpmfront.c404 if (!xenbus_read_unsigned(dev->otherend, "feature-protocol-v2", in backend_changed()