/linux-4.4.14/drivers/net/xen-netback/ |
D | xenbus.c | 239 xenbus_rm(XBT_NIL, dev->nodename, "hotplug-status"); in netback_remove() 350 err = xenbus_printf(XBT_NIL, dev->nodename, in netback_probe() 357 err = xenbus_printf(XBT_NIL, dev->nodename, in netback_probe() 362 script = xenbus_read(XBT_NIL, dev->nodename, "script", NULL); in netback_probe() 427 err = xenbus_scanf(XBT_NIL, dev->nodename, "handle", "%li", &handle); in backend_create_xenvif() 617 ratestr = xenbus_read(XBT_NIL, dev->nodename, "rate", NULL); in xen_net_read_rate() 647 macstr = s = xenbus_read(XBT_NIL, dev->nodename, "mac", NULL); in xen_net_read_mac() 739 str = xenbus_read(XBT_NIL, be->dev->nodename, "hotplug-status", &len); in hotplug_status_changed() 764 err = xenbus_scanf(XBT_NIL, dev->otherend, in connect() 907 err = xenbus_gather(XBT_NIL, xspath, in connect_rings() [all …]
|
/linux-4.4.14/drivers/xen/xenbus/ |
D | xenbus_probe_frontend.c | 345 xenbus_scanf(XBT_NIL, v[XS_WATCH_PATH], "", "%i", &backend_state); in xenbus_reset_backend_state_changed() 386 xenbus_printf(XBT_NIL, fe, "state", "%d", XenbusStateClosing); in xenbus_reset_frontend() 390 xenbus_printf(XBT_NIL, fe, "state", "%d", XenbusStateClosed); in xenbus_reset_frontend() 394 xenbus_printf(XBT_NIL, fe, "state", "%d", XenbusStateInitialising); in xenbus_reset_frontend() 412 err = xenbus_scanf(XBT_NIL, frontend, "state", "%i", &fe_state); in xenbus_check_frontend() 421 backend = xenbus_read(XBT_NIL, frontend, "backend", NULL); in xenbus_check_frontend() 424 err = xenbus_scanf(XBT_NIL, backend, "state", "%i", &be_state); in xenbus_check_frontend() 442 devclass = xenbus_directory(XBT_NIL, "device", "", &devclass_n); in xenbus_reset_state() 447 dev = xenbus_directory(XBT_NIL, "device", devclass[i], &dev_n); in xenbus_reset_state()
|
D | xenbus_probe_backend.c | 76 err = xenbus_gather(XBT_NIL, nodename, "frontend-id", "%i", &domid, in backend_bus_id() 83 if (!err && !xenbus_exists(XBT_NIL, frontend, "")) in backend_bus_id() 168 dir = xenbus_directory(XBT_NIL, nodename, "", &dir_n); in xenbus_probe_backend() 229 rc = xenbus_scanf(XBT_NIL, dev->nodename, "online", "%d", &val); in xenbus_dev_is_online()
|
D | xenbus_probe.c | 148 int err = xenbus_gather(XBT_NIL, xendev->nodename, in xenbus_read_otherend_details() 159 !xenbus_exists(XBT_NIL, xendev->otherend, "")) { in xenbus_read_otherend_details() 490 dir = xenbus_directory(XBT_NIL, bus->root, type, &dir_n); in xenbus_probe_device_type() 510 dir = xenbus_directory(XBT_NIL, bus->root, "", &dir_n); in xenbus_probe_devices() 558 exists = xenbus_exists(XBT_NIL, node, ""); in xenbus_dev_changed()
|
D | xenbus_xs.c | 511 id_str = xs_single(XBT_NIL, XS_TRANSACTION_START, "", NULL); in xenbus_transaction_start() 629 return xs_error(xs_talkv(XBT_NIL, XS_WATCH, iov, in xs_watch() 642 return xs_error(xs_talkv(XBT_NIL, XS_UNWATCH, iov, in xs_unwatch() 688 err = xenbus_scanf(XBT_NIL, "control", in xs_reset_watches() 693 err = xs_error(xs_single(XBT_NIL, XS_RESET_WATCHES, "", NULL)); in xs_reset_watches()
|
D | xenbus_client.c | 297 if (xenbus_write(XBT_NIL, path_buffer, "error", printf_buffer) != 0) { in xenbus_va_dev_error() 930 int err = xenbus_gather(XBT_NIL, path, "state", "%d", &result, NULL); in xenbus_read_driver_state()
|
/linux-4.4.14/drivers/xen/xen-pciback/ |
D | xenbus.c | 163 err = xenbus_gather(XBT_NIL, pdev->xdev->otherend, in xen_pcibk_attach() 218 err = xenbus_printf(XBT_NIL, pdev->xdev->nodename, str, in xen_pcibk_publish_pci_dev() 311 err = xenbus_scanf(XBT_NIL, pdev->xdev->nodename, in xen_pcibk_publish_pci_root() 326 err = xenbus_scanf(XBT_NIL, pdev->xdev->nodename, in xen_pcibk_publish_pci_root() 350 err = xenbus_printf(XBT_NIL, pdev->xdev->nodename, str, in xen_pcibk_publish_pci_root() 355 err = xenbus_printf(XBT_NIL, pdev->xdev->nodename, in xen_pcibk_publish_pci_root() 381 err = xenbus_scanf(XBT_NIL, pdev->xdev->nodename, "num_devs", "%d", in xen_pcibk_reconfigure() 400 err = xenbus_scanf(XBT_NIL, pdev->xdev->nodename, state_str, in xen_pcibk_reconfigure() 417 err = xenbus_scanf(XBT_NIL, pdev->xdev->nodename, in xen_pcibk_reconfigure() 449 err = xenbus_printf(XBT_NIL, pdev->xdev->nodename, in xen_pcibk_reconfigure() [all …]
|
/linux-4.4.14/drivers/input/misc/ |
D | xen-kbdfront.c | 130 if (xenbus_scanf(XBT_NIL, dev->otherend, "feature-abs-pointer", "%d", &abs) < 0) in xenkbd_probe() 133 ret = xenbus_printf(XBT_NIL, dev->nodename, in xenkbd_probe() 325 ret = xenbus_scanf(XBT_NIL, info->xbdev->otherend, in xenkbd_backend_changed() 330 ret = xenbus_printf(XBT_NIL, info->xbdev->nodename, in xenkbd_backend_changed() 349 if (xenbus_scanf(XBT_NIL, info->xbdev->otherend, in xenkbd_backend_changed() 353 if (xenbus_scanf(XBT_NIL, info->xbdev->otherend, in xenkbd_backend_changed()
|
/linux-4.4.14/drivers/block/xen-blkback/ |
D | xenbus.c | 69 devpath = xenbus_read(XBT_NIL, dev->nodename, "dev", NULL); in blkback_name() 476 err = xenbus_scanf(XBT_NIL, dev->nodename, "discard-enable", "%d", in xen_blkbk_discard() 564 err = xenbus_printf(XBT_NIL, dev->nodename, "max-ring-page-order", "%u", in xen_blkbk_probe() 602 err = xenbus_scanf(XBT_NIL, dev->nodename, "physical-device", "%x:%x", in backend_changed() 624 be->mode = xenbus_read(XBT_NIL, dev->nodename, "mode", NULL); in backend_changed() 632 device_type = xenbus_read(XBT_NIL, dev->otherend, "device-type", NULL); in backend_changed() 841 err = xenbus_scanf(XBT_NIL, dev->otherend, "event-channel", "%u", in connect_ring() 851 err = xenbus_scanf(XBT_NIL, dev->otherend, "ring-page-order", "%u", in connect_ring() 854 err = xenbus_scanf(XBT_NIL, dev->otherend, "ring-ref", in connect_ring() 881 err = xenbus_scanf(XBT_NIL, dev->otherend, ring_ref_name, in connect_ring() [all …]
|
D | blkback.c | 1061 xen_blkbk_flush_diskcache(XBT_NIL, pending_req->blkif->be, 0); in __end_block_io_op() 1066 xen_blkbk_barrier(XBT_NIL, pending_req->blkif->be, 0); in __end_block_io_op()
|
/linux-4.4.14/drivers/xen/ |
D | xen-scsiback.c | 840 err = xenbus_gather(XBT_NIL, dev->otherend, in scsiback_map() 993 if (xenbus_printf(XBT_NIL, info->dev->nodename, state, in scsiback_do_add_lun() 999 xenbus_printf(XBT_NIL, info->dev->nodename, state, in scsiback_do_add_lun() 1008 if (xenbus_printf(XBT_NIL, info->dev->nodename, state, in scsiback_do_del_lun() 1031 err = xenbus_scanf(XBT_NIL, dev->nodename, state, "%u", &device_state); in scsiback_do_1lun_hotplug() 1037 val = xenbus_read(XBT_NIL, dev->nodename, str, NULL); in scsiback_do_1lun_hotplug() 1039 xenbus_printf(XBT_NIL, dev->nodename, state, in scsiback_do_1lun_hotplug() 1048 err = xenbus_scanf(XBT_NIL, dev->nodename, str, "%u:%u:%u:%u", in scsiback_do_1lun_hotplug() 1051 xenbus_printf(XBT_NIL, dev->nodename, state, in scsiback_do_1lun_hotplug() 1076 if (xenbus_printf(XBT_NIL, dev->nodename, state, in scsiback_do_1lun_hotplug() [all …]
|
D | cpu_hotplug.c | 38 err = xenbus_scanf(XBT_NIL, dir, "availability", "%15s", state); in vcpu_online()
|
D | xen-balloon.c | 61 err = xenbus_scanf(XBT_NIL, "memory", "target", "%llu", &new_target); in watch_target()
|
D | sys-hypervisor.c | 130 vm = xenbus_read(XBT_NIL, "vm", "", NULL); in uuid_show_fallback() 133 val = xenbus_read(XBT_NIL, vm, "uuid", NULL); in uuid_show_fallback()
|
/linux-4.4.14/drivers/scsi/ |
D | xen-scsifront.c | 681 xenbus_printf(XBT_NIL, info->dev->nodename, in scsifront_sdev_configure() 692 xenbus_printf(XBT_NIL, info->dev->nodename, in scsifront_sdev_destroy() 990 dir = xenbus_directory(XBT_NIL, dev->otherend, "vscsi-devs", &dir_n); in scsifront_do_lun_hotplug() 1001 err = xenbus_scanf(XBT_NIL, dev->otherend, str, "%u", in scsifront_do_lun_hotplug() 1008 err = xenbus_scanf(XBT_NIL, dev->otherend, str, in scsifront_do_lun_hotplug() 1028 xenbus_printf(XBT_NIL, dev->nodename, in scsifront_do_lun_hotplug() 1045 xenbus_printf(XBT_NIL, dev->nodename, in scsifront_do_lun_hotplug() 1066 ret = xenbus_scanf(XBT_NIL, dev->otherend, "feature-sg-grant", "%u", in scsifront_read_backend_params()
|
/linux-4.4.14/drivers/pci/ |
D | xen-pcifront.c | 873 err = xenbus_scanf(XBT_NIL, pdev->xdev->otherend, in pcifront_try_connect() 900 err = xenbus_scanf(XBT_NIL, pdev->xdev->otherend, str, in pcifront_try_connect() 959 err = xenbus_scanf(XBT_NIL, pdev->xdev->otherend, in pcifront_attach_devices() 986 err = xenbus_scanf(XBT_NIL, pdev->xdev->otherend, str, in pcifront_attach_devices() 1023 err = xenbus_scanf(XBT_NIL, pdev->xdev->otherend, "num_devs", "%d", in pcifront_detach_devices() 1041 err = xenbus_scanf(XBT_NIL, pdev->xdev->otherend, str, "%d", in pcifront_detach_devices() 1055 err = xenbus_scanf(XBT_NIL, pdev->xdev->otherend, str, in pcifront_detach_devices()
|
/linux-4.4.14/drivers/block/ |
D | xen-blkfront.c | 1469 err = xenbus_scanf(XBT_NIL, info->xbdev->otherend, in talk_to_blkback() 1573 err = xenbus_scanf(XBT_NIL, dev->nodename, in blkfront_probe() 1577 err = xenbus_scanf(XBT_NIL, dev->nodename, "virtual-device-ext", in blkfront_probe() 1605 type = xenbus_read(XBT_NIL, dev->nodename, "device-type", &len); in blkfront_probe() 1839 err = xenbus_gather(XBT_NIL, info->xbdev->otherend, in blkfront_setup_discard() 1847 err = xenbus_gather(XBT_NIL, info->xbdev->otherend, in blkfront_setup_discard() 1938 err = xenbus_gather(XBT_NIL, info->xbdev->otherend, in blkfront_gather_backend_features() 1955 err = xenbus_gather(XBT_NIL, info->xbdev->otherend, in blkfront_gather_backend_features() 1962 err = xenbus_gather(XBT_NIL, info->xbdev->otherend, in blkfront_gather_backend_features() 1969 err = xenbus_gather(XBT_NIL, info->xbdev->otherend, in blkfront_gather_backend_features() [all …]
|
/linux-4.4.14/drivers/net/ |
D | xen-netfront.c | 1169 if (xenbus_scanf(XBT_NIL, np->xbdev->otherend, "feature-sg", in xennet_fix_features() 1178 if (xenbus_scanf(XBT_NIL, np->xbdev->otherend, in xennet_fix_features() 1187 if (xenbus_scanf(XBT_NIL, np->xbdev->otherend, in xennet_fix_features() 1196 if (xenbus_scanf(XBT_NIL, np->xbdev->otherend, in xennet_fix_features() 1443 macstr = s = xenbus_read(XBT_NIL, dev->nodename, "mac", NULL); in xen_net_read_mac() 1818 err = xenbus_scanf(XBT_NIL, info->xbdev->otherend, in talk_to_netback() 1825 err = xenbus_scanf(XBT_NIL, info->xbdev->otherend, in talk_to_netback() 1872 if (xenbus_exists(XBT_NIL, in talk_to_netback() 1967 err = xenbus_scanf(XBT_NIL, np->xbdev->otherend, in xennet_connect()
|
/linux-4.4.14/drivers/video/fbdev/ |
D | xen-fbfront.c | 378 if (xenbus_scanf(XBT_NIL, dev->otherend, "videoram", "%d", &val) == 1) { in xenfb_probe() 660 if (xenbus_scanf(XBT_NIL, info->xbdev->otherend, in xenfb_backend_changed() 666 if (xenbus_scanf(XBT_NIL, dev->otherend, in xenfb_backend_changed()
|
/linux-4.4.14/include/xen/ |
D | xenbus.h | 133 #define XBT_NIL ((struct xenbus_transaction) { 0 }) macro
|
/linux-4.4.14/drivers/char/tpm/ |
D | xen-tpmfront.c | 346 if (xenbus_scanf(XBT_NIL, dev->otherend, in backend_changed()
|