/kernel/linux/linux-5.10/drivers/net/xen-netback/ |
H A D | xenbus.c | 403 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 = kzalloc(strlen(dev->otherend) in connect_data_rings() [all...] |
/kernel/linux/linux-6.6/drivers/net/xen-netback/ |
H A D | xenbus.c | 403 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_KERNE in connect_data_rings() [all...] |
/kernel/linux/linux-5.10/drivers/input/misc/ |
H 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()
|
/kernel/linux/linux-6.6/drivers/input/misc/ |
H 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()
|
/kernel/linux/linux-5.10/drivers/xen/xenbus/ |
H 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() 181 /* Protect us against watches firing on old details when the otherend in xenbus_otherend_changed() 183 if (!dev->otherend || in xenbus_otherend_changed() 184 strncmp(dev->otherend, path, strlen(dev->otherend))) { in xenbus_otherend_changed() [all...] |
H A D | xenbus_probe_frontend.c | 265 if (xendev->otherend) in print_device_status() 266 rstate = xenbus_read_driver_state(xendev->otherend); in print_device_status()
|
/kernel/linux/linux-6.6/drivers/xen/xenbus/ |
H A D | xenbus_probe.c | 107 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() 182 /* Protect us against watches firing on old details when the otherend in xenbus_otherend_changed() 184 if (!dev->otherend || in xenbus_otherend_changed() 185 strncmp(dev->otherend, path, strlen(dev->otherend))) { in xenbus_otherend_changed() [all...] |
H 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()
|
/kernel/linux/linux-5.10/drivers/block/xen-blkback/ |
H A D | xenbus.c | 749 device_type = xenbus_read(XBT_NIL, dev->otherend, "device-type", NULL); in backend_changed() 756 err = kstrtoul(strrchr(dev->otherend, '/') + 1, 0, &handle); in backend_changed() 896 pr_debug("%s %s\n", __func__, dev->otherend); in connect() 1074 pr_debug("%s %s\n", __func__, dev->otherend); in connect_ring() 1077 err = xenbus_scanf(XBT_NIL, dev->otherend, "protocol", in connect_ring() 1095 xenbus_read_unsigned(dev->otherend, "feature-persistent", 0); in connect_ring() 1102 requested_num_queues = xenbus_read_unsigned(dev->otherend, in connect_ring() 1121 err = xenbus_scanf(XBT_NIL, dev->otherend, "ring-page-order", "%u", in connect_ring() 1139 return read_per_ring_refs(&blkif->rings[0], dev->otherend); in connect_ring() 1141 xspathsize = strlen(dev->otherend) in connect_ring() [all...] |
/kernel/linux/linux-6.6/drivers/block/xen-blkback/ |
H A D | xenbus.c | 743 device_type = xenbus_read(XBT_NIL, dev->otherend, "device-type", NULL); in backend_changed() 750 err = kstrtoul(strrchr(dev->otherend, '/') + 1, 0, &handle); in backend_changed() 890 pr_debug("%s %s\n", __func__, dev->otherend); in connect() 1068 pr_debug("%s %s\n", __func__, dev->otherend); in connect_ring() 1071 err = xenbus_scanf(XBT_NIL, dev->otherend, "protocol", in connect_ring() 1089 xenbus_read_unsigned(dev->otherend, "feature-persistent", 0); in connect_ring() 1096 requested_num_queues = xenbus_read_unsigned(dev->otherend, in connect_ring() 1115 err = xenbus_scanf(XBT_NIL, dev->otherend, "ring-page-order", "%u", in connect_ring() 1133 return read_per_ring_refs(&blkif->rings[0], dev->otherend); in connect_ring() 1135 xspathsize = strlen(dev->otherend) in connect_ring() [all...] |
/kernel/linux/linux-5.10/drivers/net/ |
H A D | xen-netfront.c | 1483 !xenbus_read_unsigned(np->xbdev->otherend, "feature-sg", 0)) in xennet_fix_features() 1487 !xenbus_read_unsigned(np->xbdev->otherend, in xennet_fix_features() 1492 !xenbus_read_unsigned(np->xbdev->otherend, "feature-gso-tcpv4", 0)) in xennet_fix_features() 1496 !xenbus_read_unsigned(np->xbdev->otherend, "feature-gso-tcpv6", 0)) in xennet_fix_features() 1648 xenbus_read_driver_state(np->xbdev->otherend) == in xennet_xdp_set() 1764 xenbus_read_driver_state(dev->otherend) != in xennet_create_dev() 1766 xenbus_read_driver_state(dev->otherend) != in xennet_create_dev() 2303 max_queues = xenbus_read_unsigned(info->xbdev->otherend, in talk_to_netback() 2308 feature_split_evtchn = xenbus_read_unsigned(info->xbdev->otherend, in talk_to_netback() 2318 info->netback_has_xdp_headroom = xenbus_read_unsigned(info->xbdev->otherend, in talk_to_netback() [all...] |
/kernel/linux/linux-6.6/drivers/net/ |
H A D | xen-netfront.c | 1477 !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() 1760 xenbus_read_driver_state(dev->otherend) != in xennet_create_dev() 1762 xenbus_read_driver_state(dev->otherend) != in xennet_create_dev() 2270 max_queues = xenbus_read_unsigned(info->xbdev->otherend, in talk_to_netback() 2275 feature_split_evtchn = xenbus_read_unsigned(info->xbdev->otherend, in talk_to_netback() 2286 info->netback_has_xdp_headroom = xenbus_read_unsigned(info->xbdev->otherend, in talk_to_netback() [all...] |
/kernel/linux/linux-6.6/drivers/video/fbdev/ |
H A D | xen-fbfront.c | 358 if (xenbus_scanf(XBT_NIL, dev->otherend, "videoram", "%d", &val) == 1) { in xenfb_probe() 363 video[KPARAM_WIDTH] = xenbus_read_unsigned(dev->otherend, "width", in xenfb_probe() 365 video[KPARAM_HEIGHT] = xenbus_read_unsigned(dev->otherend, "height", in xenfb_probe() 641 if (xenbus_read_unsigned(info->xbdev->otherend, in xenfb_backend_changed() 645 info->feature_resize = xenbus_read_unsigned(dev->otherend, in xenfb_backend_changed()
|
/kernel/linux/linux-5.10/drivers/block/ |
H A D | xen-blkfront.c | 1880 max_page_order = xenbus_read_unsigned(info->xbdev->otherend, in talk_to_blkback() 2004 backend_max_queues = xenbus_read_unsigned(info->xbdev->otherend, in negotiate_mq() 2260 info->discard_granularity = xenbus_read_unsigned(info->xbdev->otherend, in blkfront_setup_discard() 2263 info->discard_alignment = xenbus_read_unsigned(info->xbdev->otherend, in blkfront_setup_discard() 2266 !!xenbus_read_unsigned(info->xbdev->otherend, "discard-secure", in blkfront_setup_discard() 2381 if (xenbus_read_unsigned(info->xbdev->otherend, "feature-barrier", 0)) { in blkfront_gather_backend_features() 2390 if (xenbus_read_unsigned(info->xbdev->otherend, "feature-flush-cache", in blkfront_gather_backend_features() 2396 if (xenbus_read_unsigned(info->xbdev->otherend, "feature-discard", 0)) in blkfront_gather_backend_features() 2401 !!xenbus_read_unsigned(info->xbdev->otherend, in blkfront_gather_backend_features() 2406 indirect_segments = xenbus_read_unsigned(info->xbdev->otherend, in blkfront_gather_backend_features() [all...] |
/kernel/linux/linux-6.6/drivers/block/ |
H A D | xen-blkfront.c | 1787 max_page_order = xenbus_read_unsigned(info->xbdev->otherend, in talk_to_blkback() 1904 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...] |
/kernel/linux/linux-5.10/drivers/pci/ |
H A D | xen-pcifront.c | 867 err = xenbus_scanf(XBT_NIL, pdev->xdev->otherend, in pcifront_try_connect() 894 err = xenbus_scanf(XBT_NIL, pdev->xdev->otherend, str, in pcifront_try_connect() 953 err = xenbus_scanf(XBT_NIL, pdev->xdev->otherend, in pcifront_attach_devices() 980 err = xenbus_scanf(XBT_NIL, pdev->xdev->otherend, str, in pcifront_attach_devices() 1017 err = xenbus_scanf(XBT_NIL, pdev->xdev->otherend, "num_devs", "%d", in pcifront_detach_devices() 1035 state = xenbus_read_unsigned(pdev->xdev->otherend, str, in pcifront_detach_devices() 1047 err = xenbus_scanf(XBT_NIL, pdev->xdev->otherend, str, in pcifront_detach_devices()
|
/kernel/linux/linux-5.10/drivers/video/fbdev/ |
H 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()
|
/kernel/linux/linux-6.6/drivers/pci/ |
H A D | xen-pcifront.c | 811 err = xenbus_scanf(XBT_NIL, pdev->xdev->otherend, in pcifront_connect() 834 err = xenbus_scanf(XBT_NIL, pdev->xdev->otherend, str, in pcifront_connect() 928 err = xenbus_scanf(XBT_NIL, pdev->xdev->otherend, "num_devs", "%d", in pcifront_detach_devices() 947 state = xenbus_read_unsigned(pdev->xdev->otherend, str, in pcifront_detach_devices() 959 err = xenbus_scanf(XBT_NIL, pdev->xdev->otherend, str, in pcifront_detach_devices()
|
/kernel/linux/linux-5.10/net/9p/ |
H A D | trans_xen.c | 408 versions = xenbus_read(XBT_NIL, dev->otherend, "versions", &len); in xen_9pfs_front_init() 422 max_rings = xenbus_read_unsigned(dev->otherend, "max-rings", 0); in xen_9pfs_front_init() 425 max_ring_order = xenbus_read_unsigned(dev->otherend, in xen_9pfs_front_init()
|
/kernel/linux/linux-5.10/sound/xen/ |
H 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()
|
/kernel/linux/linux-6.6/sound/xen/ |
H 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()
|
/kernel/linux/linux-6.6/net/9p/ |
H A D | trans_xen.c | 387 versions = xenbus_read(XBT_NIL, dev->otherend, "versions", &len); in xen_9pfs_front_init() 401 max_rings = xenbus_read_unsigned(dev->otherend, "max-rings", 0); in xen_9pfs_front_init() 404 max_ring_order = xenbus_read_unsigned(dev->otherend, in xen_9pfs_front_init()
|
/kernel/linux/linux-5.10/include/xen/ |
H A D | xenbus.h | 83 const char *otherend; member
|
/kernel/linux/linux-6.6/include/xen/ |
H A D | xenbus.h | 82 const char *otherend; member
|
/kernel/linux/linux-5.10/drivers/scsi/ |
H A D | xen-scsifront.c | 978 dir = xenbus_directory(XBT_NIL, dev->otherend, "vscsi-devs", &dir_n); in scsifront_do_lun_hotplug() 989 err = xenbus_scanf(XBT_NIL, dev->otherend, str, "%u", in scsifront_do_lun_hotplug() 996 err = xenbus_scanf(XBT_NIL, dev->otherend, str, in scsifront_do_lun_hotplug() 1060 sg_grant = xenbus_read_unsigned(dev->otherend, "feature-sg-grant", 0); in scsifront_read_backend_params()
|