Home
last modified time | relevance | path

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

/linux-4.19.296/drivers/xen/xenbus/
Dxenbus_probe_frontend.c337 if (xenbus_scanf(XBT_NIL, path, "", "%i", in xenbus_reset_backend_state_changed()
380 xenbus_printf(XBT_NIL, fe, "state", "%d", XenbusStateClosing); in xenbus_reset_frontend()
385 xenbus_printf(XBT_NIL, fe, "state", "%d", XenbusStateClosed); in xenbus_reset_frontend()
390 xenbus_printf(XBT_NIL, fe, "state", "%d", XenbusStateInitialising); in xenbus_reset_frontend()
408 err = xenbus_scanf(XBT_NIL, frontend, "state", "%i", &fe_state); in xenbus_check_frontend()
417 backend = xenbus_read(XBT_NIL, frontend, "backend", NULL); in xenbus_check_frontend()
420 err = xenbus_scanf(XBT_NIL, backend, "state", "%i", &be_state); in xenbus_check_frontend()
438 devclass = xenbus_directory(XBT_NIL, "device", "", &devclass_n); in xenbus_reset_state()
443 dev = xenbus_directory(XBT_NIL, "device", devclass[i], &dev_n); in xenbus_reset_state()
Dxenbus_probe_backend.c75 err = xenbus_gather(XBT_NIL, nodename, "frontend-id", "%i", &domid, in backend_bus_id()
82 if (!err && !xenbus_exists(XBT_NIL, frontend, "")) in backend_bus_id()
167 dir = xenbus_directory(XBT_NIL, nodename, "", &dir_n); in xenbus_probe_backend()
Dxenbus_probe.c148 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()
499 dir = xenbus_directory(XBT_NIL, bus->root, type, &dir_n); in xenbus_probe_device_type()
519 dir = xenbus_directory(XBT_NIL, bus->root, "", &dir_n); in xenbus_probe_devices()
567 exists = xenbus_exists(XBT_NIL, node, ""); in xenbus_dev_changed()
Dxenbus_xs.c541 id_str = xs_single(XBT_NIL, XS_TRANSACTION_START, "", NULL); in xenbus_transaction_start()
597 ret = xenbus_scanf(XBT_NIL, dir, node, "%u", &val); in xenbus_read_unsigned()
667 return xs_error(xs_talkv(XBT_NIL, XS_WATCH, iov, in xs_watch()
680 return xs_error(xs_talkv(XBT_NIL, XS_UNWATCH, iov, in xs_unwatch()
758 err = xs_error(xs_single(XBT_NIL, XS_RESET_WATCHES, "", NULL)); in xs_reset_watches()
Dxenbus_client.c288 xenbus_write(XBT_NIL, path_buffer, "error", printf_buffer)) in xenbus_va_dev_error()
935 int err = xenbus_gather(XBT_NIL, path, "state", "%d", &result, NULL); in xenbus_read_driver_state()
/linux-4.19.296/drivers/xen/xen-pciback/
Dxenbus.c162 err = xenbus_gather(XBT_NIL, pdev->xdev->otherend, in xen_pcibk_attach()
217 err = xenbus_printf(XBT_NIL, pdev->xdev->nodename, str, in xen_pcibk_publish_pci_dev()
310 err = xenbus_scanf(XBT_NIL, pdev->xdev->nodename, in xen_pcibk_publish_pci_root()
325 err = xenbus_scanf(XBT_NIL, pdev->xdev->nodename, in xen_pcibk_publish_pci_root()
349 err = xenbus_printf(XBT_NIL, pdev->xdev->nodename, str, in xen_pcibk_publish_pci_root()
354 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()
413 err = xenbus_scanf(XBT_NIL, pdev->xdev->nodename, in xen_pcibk_reconfigure()
445 err = xenbus_printf(XBT_NIL, pdev->xdev->nodename, in xen_pcibk_reconfigure()
467 err = xenbus_scanf(XBT_NIL, pdev->xdev->nodename, in xen_pcibk_reconfigure()
[all …]
/linux-4.19.296/drivers/xen/
Dxen-balloon.c66 err = xenbus_scanf(XBT_NIL, "memory", "target", "%llu", &new_target); in watch_target()
80 if ((xenbus_scanf(XBT_NIL, "memory", "static-max", in watch_target()
82 (xenbus_scanf(XBT_NIL, "memory", "memory_static_max", in watch_target()
Dxen-scsiback.c864 err = xenbus_gather(XBT_NIL, dev->otherend, in scsiback_map()
1030 if (xenbus_printf(XBT_NIL, info->dev->nodename, state, in scsiback_do_add_lun()
1036 err = xenbus_printf(XBT_NIL, info->dev->nodename, state, in scsiback_do_add_lun()
1048 if (xenbus_printf(XBT_NIL, info->dev->nodename, state, in scsiback_do_del_lun()
1071 err = xenbus_scanf(XBT_NIL, dev->nodename, state, "%u", &device_state); in scsiback_do_1lun_hotplug()
1077 val = xenbus_read(XBT_NIL, dev->nodename, str, NULL); in scsiback_do_1lun_hotplug()
1079 err = xenbus_printf(XBT_NIL, dev->nodename, state, in scsiback_do_1lun_hotplug()
1091 err = xenbus_scanf(XBT_NIL, dev->nodename, str, "%u:%u:%u:%u", in scsiback_do_1lun_hotplug()
1094 err = xenbus_printf(XBT_NIL, dev->nodename, state, in scsiback_do_1lun_hotplug()
1122 if (xenbus_printf(XBT_NIL, dev->nodename, state, in scsiback_do_1lun_hotplug()
[all …]
Dcpu_hotplug.c40 err = xenbus_scanf(XBT_NIL, dir, "availability", "%15s", state); in vcpu_online()
Dsys-hypervisor.c149 vm = xenbus_read(XBT_NIL, "vm", "", NULL); in uuid_show_fallback()
152 val = xenbus_read(XBT_NIL, vm, "uuid", NULL); in uuid_show_fallback()
Dmanage.c354 err = xenbus_printf(XBT_NIL, "control", node, "%u", 1); in setup_shutdown_watcher()
Dpvcalls-back.c941 err = xenbus_scanf(XBT_NIL, dev->otherend, "port", "%u", in backend_connect()
950 err = xenbus_scanf(XBT_NIL, dev->otherend, "ring-ref", "%u", &ring_ref); in backend_connect()
Dpvcalls-front.c1150 versions = xenbus_read(XBT_NIL, dev->otherend, "versions", &len); in pvcalls_front_probe()
/linux-4.19.296/drivers/pci/
Dxen-pcifront.c874 err = xenbus_scanf(XBT_NIL, pdev->xdev->otherend, in pcifront_try_connect()
901 err = xenbus_scanf(XBT_NIL, pdev->xdev->otherend, str, in pcifront_try_connect()
960 err = xenbus_scanf(XBT_NIL, pdev->xdev->otherend, in pcifront_attach_devices()
987 err = xenbus_scanf(XBT_NIL, pdev->xdev->otherend, str, in pcifront_attach_devices()
1024 err = xenbus_scanf(XBT_NIL, pdev->xdev->otherend, "num_devs", "%d", in pcifront_detach_devices()
1054 err = xenbus_scanf(XBT_NIL, pdev->xdev->otherend, str, in pcifront_detach_devices()
/linux-4.19.296/include/xen/
Dxenbus.h143 #define XBT_NIL ((struct xenbus_transaction) { 0 }) macro