Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/xen-netback/
Dxenbus.c403 err = xenbus_scanf(XBT_NIL, dev->otherend, in read_xenbus_frontend_xdp()
422 pr_debug("%s -> %s\n", dev->otherend, xenbus_strstate(frontend_state)); in frontend_changed()
589 vif->multicast_control = !!xenbus_read_unsigned(dev->otherend, in xen_mcast_ctrl_changed()
598 unsigned maxlen = strlen(dev->otherend) + in xen_register_mcast_ctrl_watch()
612 dev->otherend); in xen_register_mcast_ctrl_watch()
691 err = xenbus_scanf(XBT_NIL, dev->otherend, in connect_ctrl_ring()
698 err = xenbus_scanf(XBT_NIL, dev->otherend, in connect_ctrl_ring()
703 dev->otherend); in connect_ctrl_ring()
736 requested_num_queues = xenbus_read_unsigned(dev->otherend, in connect()
868 xspath = kstrdup(dev->otherend, GFP_KERNEL); in connect_data_rings()
[all …]
/linux-6.1.9/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-6.1.9/drivers/xen/xenbus/
Dxenbus_probe.c107 kfree(dev->otherend); in free_otherend_details()
108 dev->otherend = NULL; in free_otherend_details()
142 "%s/%s", dev->otherend, "state"); in watch_otherend()
151 path_node, NULL, &xendev->otherend, in xenbus_read_otherend_details()
159 if (strlen(xendev->otherend) == 0 || in xenbus_read_otherend_details()
160 !xenbus_exists(XBT_NIL, xendev->otherend, "")) { in xenbus_read_otherend_details()
184 if (!dev->otherend || in xenbus_otherend_changed()
185 strncmp(dev->otherend, path, strlen(dev->otherend))) { in xenbus_otherend_changed()
190 state = xenbus_read_driver_state(dev->otherend); in xenbus_otherend_changed()
Dxenbus_probe_frontend.c257 if (xendev->otherend) in print_device_status()
258 rstate = xenbus_read_driver_state(xendev->otherend); in print_device_status()
/linux-6.1.9/drivers/block/xen-blkback/
Dxenbus.c745 device_type = xenbus_read(XBT_NIL, dev->otherend, "device-type", NULL); in backend_changed()
752 err = kstrtoul(strrchr(dev->otherend, '/') + 1, 0, &handle); in backend_changed()
892 pr_debug("%s %s\n", __func__, dev->otherend); in connect()
1070 pr_debug("%s %s\n", __func__, dev->otherend); in connect_ring()
1073 err = xenbus_scanf(XBT_NIL, dev->otherend, "protocol", in connect_ring()
1091 xenbus_read_unsigned(dev->otherend, "feature-persistent", 0); in connect_ring()
1098 requested_num_queues = xenbus_read_unsigned(dev->otherend, in connect_ring()
1117 err = xenbus_scanf(XBT_NIL, dev->otherend, "ring-page-order", "%u", in connect_ring()
1135 return read_per_ring_refs(&blkif->rings[0], dev->otherend); in connect_ring()
1137 xspathsize = strlen(dev->otherend) + xenstore_path_ext_size; in connect_ring()
[all …]
/linux-6.1.9/drivers/net/
Dxen-netfront.c1477 !xenbus_read_unsigned(np->xbdev->otherend, "feature-sg", 0)) in xennet_fix_features()
1481 !xenbus_read_unsigned(np->xbdev->otherend, in xennet_fix_features()
1486 !xenbus_read_unsigned(np->xbdev->otherend, "feature-gso-tcpv4", 0)) in xennet_fix_features()
1490 !xenbus_read_unsigned(np->xbdev->otherend, "feature-gso-tcpv6", 0)) in xennet_fix_features()
1642 xenbus_read_driver_state(np->xbdev->otherend) == in xennet_xdp_set()
1758 xenbus_read_driver_state(dev->otherend) != in xennet_create_dev()
1760 xenbus_read_driver_state(dev->otherend) != in xennet_create_dev()
2268 max_queues = xenbus_read_unsigned(info->xbdev->otherend, in talk_to_netback()
2273 feature_split_evtchn = xenbus_read_unsigned(info->xbdev->otherend, in talk_to_netback()
2284 info->netback_has_xdp_headroom = xenbus_read_unsigned(info->xbdev->otherend, in talk_to_netback()
[all …]
/linux-6.1.9/drivers/block/
Dxen-blkfront.c1786 max_page_order = xenbus_read_unsigned(info->xbdev->otherend, in talk_to_blkback()
1903 backend_max_queues = xenbus_read_unsigned(info->xbdev->otherend, in negotiate_mq()
2149 info->discard_granularity = xenbus_read_unsigned(info->xbdev->otherend, in blkfront_setup_discard()
2152 info->discard_alignment = xenbus_read_unsigned(info->xbdev->otherend, in blkfront_setup_discard()
2155 !!xenbus_read_unsigned(info->xbdev->otherend, "discard-secure", in blkfront_setup_discard()
2270 if (xenbus_read_unsigned(info->xbdev->otherend, "feature-barrier", 0)) { in blkfront_gather_backend_features()
2279 if (xenbus_read_unsigned(info->xbdev->otherend, "feature-flush-cache", in blkfront_gather_backend_features()
2285 if (xenbus_read_unsigned(info->xbdev->otherend, "feature-discard", 0)) in blkfront_gather_backend_features()
2290 !!xenbus_read_unsigned(info->xbdev->otherend, in blkfront_gather_backend_features()
2295 indirect_segments = xenbus_read_unsigned(info->xbdev->otherend, in blkfront_gather_backend_features()
[all …]
/linux-6.1.9/drivers/video/fbdev/
Dxen-fbfront.c379 if (xenbus_scanf(XBT_NIL, dev->otherend, "videoram", "%d", &val) == 1) { in xenfb_probe()
384 video[KPARAM_WIDTH] = xenbus_read_unsigned(dev->otherend, "width", in xenfb_probe()
386 video[KPARAM_HEIGHT] = xenbus_read_unsigned(dev->otherend, "height", in xenfb_probe()
668 if (xenbus_read_unsigned(info->xbdev->otherend, in xenfb_backend_changed()
672 info->feature_resize = xenbus_read_unsigned(dev->otherend, in xenfb_backend_changed()
/linux-6.1.9/drivers/pci/
Dxen-pcifront.c819 err = xenbus_scanf(XBT_NIL, pdev->xdev->otherend, in pcifront_connect()
842 err = xenbus_scanf(XBT_NIL, pdev->xdev->otherend, str, in pcifront_connect()
936 err = xenbus_scanf(XBT_NIL, pdev->xdev->otherend, "num_devs", "%d", in pcifront_detach_devices()
955 state = xenbus_read_unsigned(pdev->xdev->otherend, str, in pcifront_detach_devices()
967 err = xenbus_scanf(XBT_NIL, pdev->xdev->otherend, str, in pcifront_detach_devices()
/linux-6.1.9/sound/xen/
Dxen_snd_front.c332 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-6.1.9/net/9p/
Dtrans_xen.c383 versions = xenbus_read(XBT_NIL, dev->otherend, "versions", &len); in xen_9pfs_front_probe()
391 max_rings = xenbus_read_unsigned(dev->otherend, "max-rings", 0); in xen_9pfs_front_probe()
394 max_ring_order = xenbus_read_unsigned(dev->otherend, in xen_9pfs_front_probe()
/linux-6.1.9/drivers/scsi/
Dxen-scsifront.c1055 dir = xenbus_directory(XBT_NIL, dev->otherend, "vscsi-devs", &dir_n); in scsifront_do_lun_hotplug()
1066 err = xenbus_scanf(XBT_NIL, dev->otherend, str, "%u", in scsifront_do_lun_hotplug()
1073 err = xenbus_scanf(XBT_NIL, dev->otherend, str, in scsifront_do_lun_hotplug()
1137 sg_grant = xenbus_read_unsigned(dev->otherend, "feature-sg-grant", 0); in scsifront_read_backend_params()
/linux-6.1.9/include/xen/
Dxenbus.h82 const char *otherend; member
/linux-6.1.9/drivers/xen/xen-pciback/
Dxenbus.c157 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-6.1.9/drivers/xen/
Dpvcalls-back.c933 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()
Dpvcalls-front.c1146 versions = xenbus_read(XBT_NIL, dev->otherend, "versions", &len); in pvcalls_front_probe()
1156 max_page_order = xenbus_read_unsigned(dev->otherend, in pvcalls_front_probe()
1160 function_calls = xenbus_read_unsigned(dev->otherend, in pvcalls_front_probe()
Dxen-scsiback.c890 err = xenbus_gather(XBT_NIL, dev->otherend, in scsiback_map()
894 xenbus_dev_fatal(dev, err, "reading %s ring", dev->otherend); in scsiback_map()
/linux-6.1.9/drivers/gpu/drm/xen/
Dxen_drm_front.c738 while ((xenbus_read_unsigned(front_info->xb_dev->otherend, "state", in xen_drv_remove()
746 state = xenbus_read_unsigned(front_info->xb_dev->otherend, in xen_drv_remove()
/linux-6.1.9/drivers/char/tpm/
Dxen-tpmfront.c389 if (!xenbus_read_unsigned(dev->otherend, "feature-protocol-v2", in backend_changed()
/linux-6.1.9/drivers/usb/host/
Dxen-hcd.c1450 err = xenbus_scanf(XBT_NIL, dev->otherend, "num-ports", "%d", in xenhcd_create_hcd()
1461 err = xenbus_scanf(XBT_NIL, dev->otherend, "usb-ver", "%d", &usb_ver); in xenhcd_create_hcd()