/linux-3.4.99/drivers/net/xen-netback/ |
D | xenbus.c | 44 xenbus_rm(XBT_NIL, dev->nodename, "hotplug-status"); in netback_remove() 155 val = xenbus_read(XBT_NIL, xdev->nodename, "script", NULL); in netback_uevent() 184 err = xenbus_scanf(XBT_NIL, dev->nodename, "handle", "%li", &handle); in backend_create_xenvif() 207 xenbus_rm(XBT_NIL, dev->nodename, "hotplug-status"); in disconnect_backend() 280 ratestr = xenbus_read(XBT_NIL, dev->nodename, "rate", NULL); in xen_net_read_rate() 310 macstr = s = xenbus_read(XBT_NIL, dev->nodename, "mac", NULL); in xen_net_read_mac() 346 str = xenbus_read(XBT_NIL, be->dev->nodename, "hotplug-status", &len); in hotplug_status_changed() 400 err = xenbus_gather(XBT_NIL, dev->otherend, in connect_rings() 411 err = xenbus_scanf(XBT_NIL, dev->otherend, "request-rx-copy", "%u", in connect_rings() 426 if (xenbus_scanf(XBT_NIL, dev->otherend, in connect_rings() [all …]
|
/linux-3.4.99/drivers/xen/xenbus/ |
D | xenbus_probe_frontend.c | 299 xenbus_scanf(XBT_NIL, v[XS_WATCH_PATH], "", "%i", &backend_state); in xenbus_reset_backend_state_changed() 340 xenbus_printf(XBT_NIL, fe, "state", "%d", XenbusStateClosing); in xenbus_reset_frontend() 344 xenbus_printf(XBT_NIL, fe, "state", "%d", XenbusStateClosed); in xenbus_reset_frontend() 348 xenbus_printf(XBT_NIL, fe, "state", "%d", XenbusStateInitialising); in xenbus_reset_frontend() 366 err = xenbus_scanf(XBT_NIL, frontend, "state", "%i", &fe_state); in xenbus_check_frontend() 375 backend = xenbus_read(XBT_NIL, frontend, "backend", NULL); in xenbus_check_frontend() 378 err = xenbus_scanf(XBT_NIL, backend, "state", "%i", &be_state); in xenbus_check_frontend() 396 devclass = xenbus_directory(XBT_NIL, "device", "", &devclass_n); in xenbus_reset_state() 401 dev = xenbus_directory(XBT_NIL, "device", devclass[i], &dev_n); in xenbus_reset_state()
|
D | xenbus_probe_backend.c | 74 err = xenbus_gather(XBT_NIL, nodename, "frontend-id", "%i", &domid, in backend_bus_id() 81 if (!err && !xenbus_exists(XBT_NIL, frontend, "")) in backend_bus_id() 166 dir = xenbus_directory(XBT_NIL, nodename, "", &dir_n); in xenbus_probe_backend() 227 rc = xenbus_scanf(XBT_NIL, dev->nodename, "online", "%d", &val); in xenbus_dev_is_online()
|
D | xenbus_probe.c | 142 int err = xenbus_gather(XBT_NIL, xendev->nodename, in xenbus_read_otherend_details() 153 !xenbus_exists(XBT_NIL, xendev->otherend, "")) { in xenbus_read_otherend_details() 468 dir = xenbus_directory(XBT_NIL, bus->root, type, &dir_n); in xenbus_probe_device_type() 488 dir = xenbus_directory(XBT_NIL, bus->root, "", &dir_n); in xenbus_probe_devices() 536 exists = xenbus_exists(XBT_NIL, node, ""); in xenbus_dev_changed()
|
D | xenbus_xs.c | 473 id_str = xs_single(XBT_NIL, XS_TRANSACTION_START, "", NULL); in xenbus_transaction_start() 591 return xs_error(xs_talkv(XBT_NIL, XS_WATCH, iov, in xs_watch() 604 return xs_error(xs_talkv(XBT_NIL, XS_UNWATCH, iov, in xs_unwatch()
|
D | xenbus_client.c | 285 if (xenbus_write(XBT_NIL, path_buffer, "error", printf_buffer) != 0) { in xenbus_va_dev_error() 726 int err = xenbus_gather(XBT_NIL, path, "state", "%d", &result, NULL); in xenbus_read_driver_state()
|
/linux-3.4.99/drivers/xen/xen-pciback/ |
D | xenbus.c | 156 err = xenbus_gather(XBT_NIL, pdev->xdev->otherend, in xen_pcibk_attach() 210 err = xenbus_printf(XBT_NIL, pdev->xdev->nodename, str, in xen_pcibk_publish_pci_dev() 301 err = xenbus_scanf(XBT_NIL, pdev->xdev->nodename, in xen_pcibk_publish_pci_root() 316 err = xenbus_scanf(XBT_NIL, pdev->xdev->nodename, in xen_pcibk_publish_pci_root() 340 err = xenbus_printf(XBT_NIL, pdev->xdev->nodename, str, in xen_pcibk_publish_pci_root() 345 err = xenbus_printf(XBT_NIL, pdev->xdev->nodename, in xen_pcibk_publish_pci_root() 371 err = xenbus_scanf(XBT_NIL, pdev->xdev->nodename, "num_devs", "%d", in xen_pcibk_reconfigure() 390 err = xenbus_scanf(XBT_NIL, pdev->xdev->nodename, state_str, in xen_pcibk_reconfigure() 407 err = xenbus_scanf(XBT_NIL, pdev->xdev->nodename, in xen_pcibk_reconfigure() 439 err = xenbus_printf(XBT_NIL, pdev->xdev->nodename, in xen_pcibk_reconfigure() [all …]
|
/linux-3.4.99/drivers/input/misc/ |
D | xen-kbdfront.c | 129 if (xenbus_scanf(XBT_NIL, dev->otherend, "feature-abs-pointer", "%d", &abs) < 0) in xenkbd_probe() 132 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-3.4.99/drivers/block/ |
D | xen-blkfront.c | 944 err = xenbus_scanf(XBT_NIL, dev->nodename, in blkfront_probe() 948 err = xenbus_scanf(XBT_NIL, dev->nodename, "virtual-device-ext", in blkfront_probe() 976 type = xenbus_read(XBT_NIL, dev->nodename, "device-type", &len); in blkfront_probe() 1154 type = xenbus_read(XBT_NIL, info->xbdev->otherend, "type", NULL); in blkfront_setup_discard() 1160 err = xenbus_gather(XBT_NIL, info->xbdev->otherend, in blkfront_setup_discard() 1169 err = xenbus_gather(XBT_NIL, info->xbdev->otherend, in blkfront_setup_discard() 1199 err = xenbus_scanf(XBT_NIL, info->xbdev->otherend, in blkfront_connect() 1219 err = xenbus_gather(XBT_NIL, info->xbdev->otherend, in blkfront_connect() 1234 err = xenbus_gather(XBT_NIL, info->xbdev->otherend, in blkfront_connect() 1253 err = xenbus_gather(XBT_NIL, info->xbdev->otherend, in blkfront_connect() [all …]
|
/linux-3.4.99/drivers/block/xen-blkback/ |
D | xenbus.c | 49 devpath = xenbus_read(XBT_NIL, dev->nodename, "dev", NULL); in blkback_name() 513 err = xenbus_scanf(XBT_NIL, dev->nodename, "physical-device", "%x:%x", in backend_changed() 535 be->mode = xenbus_read(XBT_NIL, dev->nodename, "mode", NULL); in backend_changed() 543 device_type = xenbus_read(XBT_NIL, dev->otherend, "device-type", NULL); in backend_changed() 730 err = xenbus_gather(XBT_NIL, dev->otherend, "ring-ref", "%lu", in connect_ring() 740 err = xenbus_gather(XBT_NIL, dev->otherend, "protocol", in connect_ring()
|
D | blkback.c | 479 xen_blkbk_flush_diskcache(XBT_NIL, pending_req->blkif->be, 0); in __end_block_io_op() 484 xen_blkbk_barrier(XBT_NIL, pending_req->blkif->be, 0); in __end_block_io_op()
|
/linux-3.4.99/drivers/pci/ |
D | xen-pcifront.c | 852 err = xenbus_scanf(XBT_NIL, pdev->xdev->otherend, in pcifront_try_connect() 874 err = xenbus_scanf(XBT_NIL, pdev->xdev->otherend, str, in pcifront_try_connect() 933 err = xenbus_scanf(XBT_NIL, pdev->xdev->otherend, in pcifront_attach_devices() 955 err = xenbus_scanf(XBT_NIL, pdev->xdev->otherend, str, in pcifront_attach_devices() 993 err = xenbus_scanf(XBT_NIL, pdev->xdev->otherend, "num_devs", "%d", in pcifront_detach_devices() 1011 err = xenbus_scanf(XBT_NIL, pdev->xdev->otherend, str, "%d", in pcifront_detach_devices() 1025 err = xenbus_scanf(XBT_NIL, pdev->xdev->otherend, str, in pcifront_detach_devices()
|
/linux-3.4.99/drivers/xen/ |
D | cpu_hotplug.c | 31 err = xenbus_scanf(XBT_NIL, dir, "availability", "%s", state); in vcpu_online()
|
D | sys-hypervisor.c | 126 vm = xenbus_read(XBT_NIL, "vm", "", NULL); in uuid_show() 129 val = xenbus_read(XBT_NIL, vm, "uuid", NULL); in uuid_show()
|
D | xen-balloon.c | 59 err = xenbus_scanf(XBT_NIL, "memory", "target", "%llu", &new_target); in watch_target()
|
/linux-3.4.99/drivers/video/ |
D | xen-fbfront.c | 377 if (xenbus_scanf(XBT_NIL, dev->otherend, "videoram", "%d", &val) == 1) { in xenfb_probe() 661 if (xenbus_scanf(XBT_NIL, info->xbdev->otherend, in xenfb_backend_changed() 667 if (xenbus_scanf(XBT_NIL, dev->otherend, in xenfb_backend_changed()
|
/linux-3.4.99/include/xen/ |
D | xenbus.h | 125 #define XBT_NIL ((struct xenbus_transaction) { 0 }) macro
|
/linux-3.4.99/drivers/net/ |
D | xen-netfront.c | 1213 if (xenbus_scanf(XBT_NIL, np->xbdev->otherend, "feature-sg", in xennet_fix_features() 1222 if (xenbus_scanf(XBT_NIL, np->xbdev->otherend, in xennet_fix_features() 1476 macstr = s = xenbus_read(XBT_NIL, dev->nodename, "mac", NULL); in xen_net_read_mac() 1651 err = xenbus_scanf(XBT_NIL, np->xbdev->otherend, in xennet_connect()
|