Home
last modified time | relevance | path

Searched refs:XBT_NIL (Results 1 – 18 of 18) sorted by relevance

/linux-3.4.99/drivers/net/xen-netback/
Dxenbus.c44 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/
Dxenbus_probe_frontend.c299 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()
Dxenbus_probe_backend.c74 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()
Dxenbus_probe.c142 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()
Dxenbus_xs.c473 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()
Dxenbus_client.c285 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/
Dxenbus.c156 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/
Dxen-kbdfront.c129 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/
Dxen-blkfront.c944 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/
Dxenbus.c49 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()
Dblkback.c479 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/
Dxen-pcifront.c852 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/
Dcpu_hotplug.c31 err = xenbus_scanf(XBT_NIL, dir, "availability", "%s", state); in vcpu_online()
Dsys-hypervisor.c126 vm = xenbus_read(XBT_NIL, "vm", "", NULL); in uuid_show()
129 val = xenbus_read(XBT_NIL, vm, "uuid", NULL); in uuid_show()
Dxen-balloon.c59 err = xenbus_scanf(XBT_NIL, "memory", "target", "%llu", &new_target); in watch_target()
/linux-3.4.99/drivers/video/
Dxen-fbfront.c377 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/
Dxenbus.h125 #define XBT_NIL ((struct xenbus_transaction) { 0 }) macro
/linux-3.4.99/drivers/net/
Dxen-netfront.c1213 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()