/linux-4.1.27/drivers/net/xen-netback/ |
D | xenbus.c | 239 xenbus_rm(XBT_NIL, dev->nodename, "hotplug-status"); in netback_remove() 342 err = xenbus_printf(XBT_NIL, dev->nodename, in netback_probe() 349 err = xenbus_printf(XBT_NIL, dev->nodename, in netback_probe() 354 script = xenbus_read(XBT_NIL, dev->nodename, "script", NULL); in netback_probe() 419 err = xenbus_scanf(XBT_NIL, dev->nodename, "handle", "%li", &handle); in backend_create_xenvif() 609 ratestr = xenbus_read(XBT_NIL, dev->nodename, "rate", NULL); in xen_net_read_rate() 639 macstr = s = xenbus_read(XBT_NIL, dev->nodename, "mac", NULL); in xen_net_read_mac() 731 str = xenbus_read(XBT_NIL, be->dev->nodename, "hotplug-status", &len); in hotplug_status_changed() 756 err = xenbus_scanf(XBT_NIL, dev->otherend, in connect() 893 err = xenbus_gather(XBT_NIL, xspath, in connect_rings() [all …]
|
/linux-4.1.27/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 | 292 if (xenbus_write(XBT_NIL, path_buffer, "error", printf_buffer) != 0) { in xenbus_va_dev_error() 884 int err = xenbus_gather(XBT_NIL, path, "state", "%d", &result, NULL); in xenbus_read_driver_state()
|
/linux-4.1.27/drivers/xen/xen-pciback/ |
D | xenbus.c | 161 err = xenbus_gather(XBT_NIL, pdev->xdev->otherend, in xen_pcibk_attach() 216 err = xenbus_printf(XBT_NIL, pdev->xdev->nodename, str, in xen_pcibk_publish_pci_dev() 309 err = xenbus_scanf(XBT_NIL, pdev->xdev->nodename, in xen_pcibk_publish_pci_root() 324 err = xenbus_scanf(XBT_NIL, pdev->xdev->nodename, in xen_pcibk_publish_pci_root() 348 err = xenbus_printf(XBT_NIL, pdev->xdev->nodename, str, in xen_pcibk_publish_pci_root() 353 err = xenbus_printf(XBT_NIL, pdev->xdev->nodename, in xen_pcibk_publish_pci_root() 379 err = xenbus_scanf(XBT_NIL, pdev->xdev->nodename, "num_devs", "%d", in xen_pcibk_reconfigure() 398 err = xenbus_scanf(XBT_NIL, pdev->xdev->nodename, state_str, in xen_pcibk_reconfigure() 415 err = xenbus_scanf(XBT_NIL, pdev->xdev->nodename, in xen_pcibk_reconfigure() 447 err = xenbus_printf(XBT_NIL, pdev->xdev->nodename, in xen_pcibk_reconfigure() [all …]
|
/linux-4.1.27/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 xenbus_printf(XBT_NIL, dev->nodename, "request-abs-pointer", "1"); in xenkbd_probe() 319 ret = xenbus_scanf(XBT_NIL, info->xbdev->otherend, in xenkbd_backend_changed() 324 ret = xenbus_printf(XBT_NIL, info->xbdev->nodename, in xenkbd_backend_changed() 343 if (xenbus_scanf(XBT_NIL, info->xbdev->otherend, in xenkbd_backend_changed() 347 if (xenbus_scanf(XBT_NIL, info->xbdev->otherend, in xenkbd_backend_changed()
|
/linux-4.1.27/drivers/block/xen-blkback/ |
D | xenbus.c | 68 devpath = xenbus_read(XBT_NIL, dev->nodename, "dev", NULL); in blkback_name() 512 err = xenbus_scanf(XBT_NIL, dev->nodename, "discard-enable", "%d", in xen_blkbk_discard() 633 err = xenbus_scanf(XBT_NIL, dev->nodename, "physical-device", "%x:%x", in backend_changed() 655 be->mode = xenbus_read(XBT_NIL, dev->nodename, "mode", NULL); in backend_changed() 663 device_type = xenbus_read(XBT_NIL, dev->otherend, "device-type", NULL); in backend_changed() 871 err = xenbus_gather(XBT_NIL, dev->otherend, "ring-ref", "%lu", in connect_ring() 881 err = xenbus_gather(XBT_NIL, dev->otherend, "protocol", in connect_ring() 895 err = xenbus_gather(XBT_NIL, dev->otherend, in connect_ring()
|
D | blkback.c | 1049 xen_blkbk_flush_diskcache(XBT_NIL, pending_req->blkif->be, 0); in __end_block_io_op() 1054 xen_blkbk_barrier(XBT_NIL, pending_req->blkif->be, 0); in __end_block_io_op()
|
/linux-4.1.27/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.1.27/drivers/xen/ |
D | xen-scsiback.c | 846 err = xenbus_gather(XBT_NIL, dev->otherend, in scsiback_map() 995 if (xenbus_printf(XBT_NIL, info->dev->nodename, state, in scsiback_do_add_lun() 1001 xenbus_printf(XBT_NIL, info->dev->nodename, state, in scsiback_do_add_lun() 1010 if (xenbus_printf(XBT_NIL, info->dev->nodename, state, in scsiback_do_del_lun() 1033 err = xenbus_scanf(XBT_NIL, dev->nodename, state, "%u", &device_state); in scsiback_do_1lun_hotplug() 1039 val = xenbus_read(XBT_NIL, dev->nodename, str, NULL); in scsiback_do_1lun_hotplug() 1041 xenbus_printf(XBT_NIL, dev->nodename, state, in scsiback_do_1lun_hotplug() 1050 err = xenbus_scanf(XBT_NIL, dev->nodename, str, "%u:%u:%u:%u", in scsiback_do_1lun_hotplug() 1053 xenbus_printf(XBT_NIL, dev->nodename, state, in scsiback_do_1lun_hotplug() 1078 if (xenbus_printf(XBT_NIL, dev->nodename, state, in scsiback_do_1lun_hotplug() [all …]
|
D | cpu_hotplug.c | 33 err = xenbus_scanf(XBT_NIL, dir, "availability", "%15s", state); in vcpu_online()
|
D | sys-hypervisor.c | 127 vm = xenbus_read(XBT_NIL, "vm", "", NULL); in uuid_show_fallback() 130 val = xenbus_read(XBT_NIL, vm, "uuid", NULL); in uuid_show_fallback()
|
D | xen-balloon.c | 61 err = xenbus_scanf(XBT_NIL, "memory", "target", "%llu", &new_target); in watch_target()
|
/linux-4.1.27/drivers/pci/ |
D | xen-pcifront.c | 865 err = xenbus_scanf(XBT_NIL, pdev->xdev->otherend, in pcifront_try_connect() 892 err = xenbus_scanf(XBT_NIL, pdev->xdev->otherend, str, in pcifront_try_connect() 951 err = xenbus_scanf(XBT_NIL, pdev->xdev->otherend, in pcifront_attach_devices() 978 err = xenbus_scanf(XBT_NIL, pdev->xdev->otherend, str, in pcifront_attach_devices() 1015 err = xenbus_scanf(XBT_NIL, pdev->xdev->otherend, "num_devs", "%d", in pcifront_detach_devices() 1033 err = xenbus_scanf(XBT_NIL, pdev->xdev->otherend, str, "%d", in pcifront_detach_devices() 1047 err = xenbus_scanf(XBT_NIL, pdev->xdev->otherend, str, in pcifront_detach_devices()
|
/linux-4.1.27/drivers/block/ |
D | xen-blkfront.c | 1370 err = xenbus_scanf(XBT_NIL, dev->nodename, in blkfront_probe() 1374 err = xenbus_scanf(XBT_NIL, dev->nodename, "virtual-device-ext", in blkfront_probe() 1402 type = xenbus_read(XBT_NIL, dev->nodename, "device-type", &len); in blkfront_probe() 1670 err = xenbus_gather(XBT_NIL, info->xbdev->otherend, in blkfront_setup_discard() 1678 err = xenbus_gather(XBT_NIL, info->xbdev->otherend, in blkfront_setup_discard() 1690 err = xenbus_gather(XBT_NIL, info->xbdev->otherend, in blkfront_setup_indirect() 1782 err = xenbus_scanf(XBT_NIL, info->xbdev->otherend, in blkfront_connect() 1809 err = xenbus_gather(XBT_NIL, info->xbdev->otherend, in blkfront_connect() 1826 err = xenbus_scanf(XBT_NIL, info->xbdev->otherend, in blkfront_connect() 1833 err = xenbus_gather(XBT_NIL, info->xbdev->otherend, in blkfront_connect() [all …]
|
/linux-4.1.27/drivers/net/ |
D | xen-netfront.c | 1118 if (xenbus_scanf(XBT_NIL, np->xbdev->otherend, "feature-sg", in xennet_fix_features() 1127 if (xenbus_scanf(XBT_NIL, np->xbdev->otherend, in xennet_fix_features() 1136 if (xenbus_scanf(XBT_NIL, np->xbdev->otherend, in xennet_fix_features() 1145 if (xenbus_scanf(XBT_NIL, np->xbdev->otherend, in xennet_fix_features() 1396 macstr = s = xenbus_read(XBT_NIL, dev->nodename, "mac", NULL); in xen_net_read_mac() 1772 err = xenbus_scanf(XBT_NIL, info->xbdev->otherend, in talk_to_netback() 1779 err = xenbus_scanf(XBT_NIL, info->xbdev->otherend, in talk_to_netback() 1921 err = xenbus_scanf(XBT_NIL, np->xbdev->otherend, in xennet_connect()
|
/linux-4.1.27/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.1.27/include/xen/ |
D | xenbus.h | 133 #define XBT_NIL ((struct xenbus_transaction) { 0 }) macro
|
/linux-4.1.27/drivers/char/tpm/ |
D | xen-tpmfront.c | 346 if (xenbus_scanf(XBT_NIL, dev->otherend, in backend_changed()
|