Home
last modified time | relevance | path

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

12

/Linux-v5.4/drivers/xen/xenbus/
Dxenbus_probe_frontend.c338 if (xenbus_scanf(XBT_NIL, path, "", "%i", in xenbus_reset_backend_state_changed()
381 xenbus_printf(XBT_NIL, fe, "state", "%d", XenbusStateClosing); in xenbus_reset_frontend()
386 xenbus_printf(XBT_NIL, fe, "state", "%d", XenbusStateClosed); in xenbus_reset_frontend()
391 xenbus_printf(XBT_NIL, fe, "state", "%d", XenbusStateInitialising); in xenbus_reset_frontend()
409 err = xenbus_scanf(XBT_NIL, frontend, "state", "%i", &fe_state); in xenbus_check_frontend()
418 backend = xenbus_read(XBT_NIL, frontend, "backend", NULL); in xenbus_check_frontend()
421 err = xenbus_scanf(XBT_NIL, backend, "state", "%i", &be_state); in xenbus_check_frontend()
439 devclass = xenbus_directory(XBT_NIL, "device", "", &devclass_n); in xenbus_reset_state()
444 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.c147 int err = xenbus_gather(XBT_NIL, xendev->nodename, in xenbus_read_otherend_details()
158 !xenbus_exists(XBT_NIL, xendev->otherend, "")) { in xenbus_read_otherend_details()
498 dir = xenbus_directory(XBT_NIL, bus->root, type, &dir_n); in xenbus_probe_device_type()
518 dir = xenbus_directory(XBT_NIL, bus->root, "", &dir_n); in xenbus_probe_devices()
566 exists = xenbus_exists(XBT_NIL, node, ""); in xenbus_dev_changed()
Dxenbus_xs.c538 id_str = xs_single(XBT_NIL, XS_TRANSACTION_START, "", NULL); in xenbus_transaction_start()
594 ret = xenbus_scanf(XBT_NIL, dir, node, "%u", &val); in xenbus_read_unsigned()
664 return xs_error(xs_talkv(XBT_NIL, XS_WATCH, iov, in xs_watch()
677 return xs_error(xs_talkv(XBT_NIL, XS_UNWATCH, iov, in xs_unwatch()
751 err = xs_error(xs_single(XBT_NIL, XS_RESET_WATCHES, "", NULL)); in xs_reset_watches()
Dxenbus_client.c282 xenbus_write(XBT_NIL, path_buffer, "error", printf_buffer); in xenbus_va_dev_error()
916 int err = xenbus_gather(XBT_NIL, path, "state", "%d", &result, NULL); in xenbus_read_driver_state()
/Linux-v5.4/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()
380 err = xenbus_scanf(XBT_NIL, pdev->xdev->nodename, "num_devs", "%d", in xen_pcibk_reconfigure()
414 err = xenbus_scanf(XBT_NIL, pdev->xdev->nodename, in xen_pcibk_reconfigure()
446 err = xenbus_printf(XBT_NIL, pdev->xdev->nodename, in xen_pcibk_reconfigure()
468 err = xenbus_scanf(XBT_NIL, pdev->xdev->nodename, in xen_pcibk_reconfigure()
[all …]
/Linux-v5.4/drivers/net/xen-netback/
Dxenbus.c208 xenbus_rm(XBT_NIL, dev->nodename, "hotplug-status"); in netback_remove()
332 err = xenbus_printf(XBT_NIL, dev->nodename, in netback_probe()
339 err = xenbus_printf(XBT_NIL, dev->nodename, in netback_probe()
344 err = xenbus_printf(XBT_NIL, dev->nodename, in netback_probe()
350 script = xenbus_read(XBT_NIL, dev->nodename, "script", NULL); in netback_probe()
410 err = xenbus_scanf(XBT_NIL, dev->nodename, "handle", "%li", &handle); in backend_create_xenvif()
632 ratestr = xenbus_read(XBT_NIL, dev->nodename, "rate", NULL); in xen_net_read_rate()
662 macstr = s = xenbus_read(XBT_NIL, dev->nodename, "mac", NULL); in xen_net_read_mac()
821 str = xenbus_read(XBT_NIL, be->dev->nodename, "hotplug-status", &len); in hotplug_status_changed()
843 err = xenbus_scanf(XBT_NIL, dev->otherend, in connect_ctrl_ring()
[all …]
/Linux-v5.4/sound/xen/
Dxen_snd_front_cfg.c262 list = xenbus_read(XBT_NIL, path, XENSND_FIELD_SAMPLE_RATES, &len); in cfg_read_pcm_hw()
268 list = xenbus_read(XBT_NIL, path, XENSND_FIELD_SAMPLE_FORMATS, &len); in cfg_read_pcm_hw()
306 str = xenbus_read(XBT_NIL, stream_path, XENSND_FIELD_TYPE, NULL); in cfg_get_stream_type()
348 str = xenbus_read(XBT_NIL, stream_path, XENSND_FIELD_TYPE, NULL); in cfg_stream()
399 str = xenbus_read(XBT_NIL, device_path, XENSND_FIELD_DEVICE_NAME, NULL); in cfg_device()
418 if (!xenbus_exists(XBT_NIL, device_path, node)) in cfg_device()
487 if (!xenbus_exists(XBT_NIL, xb_dev->nodename, node)) in xen_snd_front_cfg_card()
/Linux-v5.4/drivers/xen/
Dxen-balloon.c77 err = xenbus_scanf(XBT_NIL, "memory", "target", "%llu", &new_target); in watch_target()
91 if ((xenbus_scanf(XBT_NIL, "memory", "static-max", in watch_target()
93 (xenbus_scanf(XBT_NIL, "memory", "memory_static_max", in watch_target()
Dxen-scsiback.c860 err = xenbus_gather(XBT_NIL, dev->otherend, in scsiback_map()
1026 if (xenbus_printf(XBT_NIL, info->dev->nodename, state, in scsiback_do_add_lun()
1032 err = xenbus_printf(XBT_NIL, info->dev->nodename, state, in scsiback_do_add_lun()
1044 if (xenbus_printf(XBT_NIL, info->dev->nodename, state, in scsiback_do_del_lun()
1067 err = xenbus_scanf(XBT_NIL, dev->nodename, state, "%u", &device_state); in scsiback_do_1lun_hotplug()
1073 val = xenbus_read(XBT_NIL, dev->nodename, str, NULL); in scsiback_do_1lun_hotplug()
1075 err = xenbus_printf(XBT_NIL, dev->nodename, state, in scsiback_do_1lun_hotplug()
1087 err = xenbus_scanf(XBT_NIL, dev->nodename, str, "%u:%u:%u:%u", in scsiback_do_1lun_hotplug()
1090 err = xenbus_printf(XBT_NIL, dev->nodename, state, in scsiback_do_1lun_hotplug()
1118 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.c146 vm = xenbus_read(XBT_NIL, "vm", "", NULL); in uuid_show_fallback()
149 val = xenbus_read(XBT_NIL, vm, "uuid", NULL); in uuid_show_fallback()
Dmanage.c355 err = xenbus_printf(XBT_NIL, "control", node, "%u", 1); in setup_shutdown_watcher()
Dpvcalls-back.c917 err = xenbus_scanf(XBT_NIL, dev->otherend, "port", "%u", in backend_connect()
926 err = xenbus_scanf(XBT_NIL, dev->otherend, "ring-ref", "%u", &ring_ref); in backend_connect()
/Linux-v5.4/drivers/block/xen-blkback/
Dxenbus.c60 devpath = xenbus_read(XBT_NIL, dev->nodename, "dev", NULL); in blkback_name()
620 err = xenbus_printf(XBT_NIL, dev->nodename, in xen_blkbk_probe()
629 err = xenbus_printf(XBT_NIL, dev->nodename, in xen_blkbk_probe()
642 err = xenbus_printf(XBT_NIL, dev->nodename, "max-ring-page-order", "%u", in xen_blkbk_probe()
680 err = xenbus_scanf(XBT_NIL, dev->nodename, "physical-device", "%x:%x", in backend_changed()
702 be->mode = xenbus_read(XBT_NIL, dev->nodename, "mode", NULL); in backend_changed()
710 device_type = xenbus_read(XBT_NIL, dev->otherend, "device-type", NULL); in backend_changed()
923 err = xenbus_scanf(XBT_NIL, dir, "event-channel", "%u", in read_per_ring_refs()
942 err = xenbus_scanf(XBT_NIL, dir, ring_ref_name, in read_per_ring_refs()
959 err = xenbus_scanf(XBT_NIL, dir, "ring-ref", "%u", in read_per_ring_refs()
[all …]
Dblkback.c1083 xen_blkbk_flush_diskcache(XBT_NIL, pending_req->ring->blkif->be, 0); in __end_block_io_op()
1088 xen_blkbk_barrier(XBT_NIL, pending_req->ring->blkif->be, 0); in __end_block_io_op()
/Linux-v5.4/drivers/scsi/
Dxen-scsifront.c660 err = xenbus_printf(XBT_NIL, info->dev->nodename, in scsifront_sdev_configure()
678 err = xenbus_printf(XBT_NIL, info->dev->nodename, in scsifront_sdev_destroy()
979 dir = xenbus_directory(XBT_NIL, dev->otherend, "vscsi-devs", &dir_n); in scsifront_do_lun_hotplug()
990 err = xenbus_scanf(XBT_NIL, dev->otherend, str, "%u", in scsifront_do_lun_hotplug()
997 err = xenbus_scanf(XBT_NIL, dev->otherend, str, in scsifront_do_lun_hotplug()
1017 err = xenbus_printf(XBT_NIL, dev->nodename, in scsifront_do_lun_hotplug()
1037 err = xenbus_printf(XBT_NIL, dev->nodename, in scsifront_do_lun_hotplug()
/Linux-v5.4/drivers/gpu/drm/xen/
Dxen_drm_front_cfg.c32 if (xenbus_scanf(XBT_NIL, connector_path, XENDISPL_FIELD_RESOLUTION, in cfg_connector()
/Linux-v5.4/drivers/pci/
Dxen-pcifront.c873 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()
1053 err = xenbus_scanf(XBT_NIL, pdev->xdev->otherend, str, in pcifront_detach_devices()
/Linux-v5.4/include/xen/
Dxenbus.h134 #define XBT_NIL ((struct xenbus_transaction) { 0 }) macro
/Linux-v5.4/drivers/input/misc/
Dxen-kbdfront.c237 ret = xenbus_write(XBT_NIL, dev->nodename, in xenkbd_probe()
286 ret = xenbus_write(XBT_NIL, dev->nodename, in xenkbd_probe()
/Linux-v5.4/drivers/block/
Dxen-blkfront.c1951 err = xenbus_scanf(XBT_NIL, dev->nodename, in blkfront_probe()
1955 err = xenbus_scanf(XBT_NIL, dev->nodename, "virtual-device-ext", in blkfront_probe()
1983 type = xenbus_read(XBT_NIL, dev->nodename, "device-type", &len); in blkfront_probe()
2176 err = xenbus_gather(XBT_NIL, info->xbdev->otherend, in blkfront_setup_discard()
2349 err = xenbus_scanf(XBT_NIL, info->xbdev->otherend, in blkfront_connect()
2378 err = xenbus_gather(XBT_NIL, info->xbdev->otherend, in blkfront_connect()
/Linux-v5.4/net/9p/
Dtrans_xen.c394 versions = xenbus_read(XBT_NIL, dev->otherend, "versions", &len); in xen_9pfs_front_probe()
/Linux-v5.4/drivers/video/fbdev/
Dxen-fbfront.c380 if (xenbus_scanf(XBT_NIL, dev->otherend, "videoram", "%d", &val) == 1) { in xenfb_probe()
/Linux-v5.4/drivers/net/
Dxen-netfront.c1446 macstr = s = xenbus_read(XBT_NIL, dev->nodename, "mac", NULL); in xen_net_read_mac()
1856 if (xenbus_exists(XBT_NIL, in talk_to_netback()

12