Home
last modified time | relevance | path

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

/linux/drivers/net/xen-netback/
H A 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/drivers/input/misc/
H A 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/drivers/xen/xenbus/
H A Dxenbus_probe.c111 kfree(dev->otherend); in free_otherend_details()
112 dev->otherend = NULL; in free_otherend_details()
146 "%s/%s", dev->otherend, "state"); in watch_otherend()
155 path_node, NULL, &xendev->otherend, in xenbus_read_otherend_details()
163 if (strlen(xendev->otherend) == 0 || in xenbus_read_otherend_details()
164 !xenbus_exists(XBT_NIL, xendev->otherend, "")) { in xenbus_read_otherend_details()
188 if (!dev->otherend || in xenbus_otherend_changed()
189 strncmp(dev->otherend, path, strlen(dev->otherend))) { in xenbus_otherend_changed()
194 state = xenbus_read_driver_state(dev->otherend); in xenbus_otherend_changed()
H A Dxenbus_probe_frontend.c257 if (xendev->otherend) in print_device_status()
258 rstate = xenbus_read_driver_state(xendev->otherend); in print_device_status()
/linux/drivers/block/xen-blkback/
H A Dxenbus.c743 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()
1069 pr_debug("%s %s\n", __func__, dev->otherend); in connect_ring()
1072 err = xenbus_scanf(XBT_NIL, dev->otherend, "protocol", in connect_ring()
1090 xenbus_read_unsigned(dev->otherend, "feature-persistent", 0); in connect_ring()
1097 requested_num_queues = xenbus_read_unsigned(dev->otherend, in connect_ring()
1116 err = xenbus_scanf(XBT_NIL, dev->otherend, "ring-page-order", "%u", in connect_ring()
1134 return read_per_ring_refs(&blkif->rings[0], dev->otherend); in connect_ring()
1136 xspathsize = strlen(dev->otherend) + xenstore_path_ext_size; in connect_ring()
[all …]
/linux/drivers/video/fbdev/
H A Dxen-fbfront.c358 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()
642 if (xenbus_read_unsigned(info->xbdev->otherend, in xenfb_backend_changed()
646 info->feature_resize = xenbus_read_unsigned(dev->otherend, in xenfb_backend_changed()
/linux/drivers/pci/
H A Dxen-pcifront.c811 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()
/linux/net/9p/
H A Dtrans_xen.c389 versions = xenbus_read(XBT_NIL, dev->otherend, "versions", &len); in xen_9pfs_front_init()
403 max_rings = xenbus_read_unsigned(dev->otherend, "max-rings", 0); in xen_9pfs_front_init()
406 max_ring_order = xenbus_read_unsigned(dev->otherend, in xen_9pfs_front_init()
/linux/drivers/scsi/
H A Dxen-scsifront.c1054 dir = xenbus_directory(XBT_NIL, dev->otherend, "vscsi-devs", &dir_n); in scsifront_do_lun_hotplug()
1065 err = xenbus_scanf(XBT_NIL, dev->otherend, str, "%u", in scsifront_do_lun_hotplug()
1072 err = xenbus_scanf(XBT_NIL, dev->otherend, str, in scsifront_do_lun_hotplug()
1136 sg_grant = xenbus_read_unsigned(dev->otherend, "feature-sg-grant", 0); in scsifront_read_backend_params()
/linux/include/xen/
H A Dxenbus.h82 const char *otherend; member
/linux/drivers/xen/xen-pciback/
H A 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/drivers/char/tpm/
H A Dxen-tpmfront.c389 if (!xenbus_read_unsigned(dev->otherend, "feature-protocol-v2", in backend_changed()
/linux/drivers/usb/host/
H A 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()
/linux/drivers/xen/
H A 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()