/linux-6.12.1/drivers/xen/xenbus/ |
D | xenbus_probe_frontend.c | 351 if (xenbus_scanf(XBT_NIL, path, "", "%i", in xenbus_reset_backend_state_changed() 394 xenbus_printf(XBT_NIL, fe, "state", "%d", XenbusStateClosing); in xenbus_reset_frontend() 399 xenbus_printf(XBT_NIL, fe, "state", "%d", XenbusStateClosed); in xenbus_reset_frontend() 404 xenbus_printf(XBT_NIL, fe, "state", "%d", XenbusStateInitialising); in xenbus_reset_frontend() 422 err = xenbus_scanf(XBT_NIL, frontend, "state", "%i", &fe_state); in xenbus_check_frontend() 431 backend = xenbus_read(XBT_NIL, frontend, "backend", NULL); in xenbus_check_frontend() 434 err = xenbus_scanf(XBT_NIL, backend, "state", "%i", &be_state); in xenbus_check_frontend() 452 devclass = xenbus_directory(XBT_NIL, "device", "", &devclass_n); in xenbus_reset_state() 457 dev = xenbus_directory(XBT_NIL, "device", devclass[i], &dev_n); in xenbus_reset_state()
|
D | xenbus_probe_backend.c | 75 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()
|
D | xenbus_xs.c | 541 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()
|
D | xenbus_probe.c | 153 int err = xenbus_gather(XBT_NIL, xendev->nodename, in xenbus_read_otherend_details() 164 !xenbus_exists(XBT_NIL, xendev->otherend, "")) { in xenbus_read_otherend_details() 569 dir = xenbus_directory(XBT_NIL, bus->root, type, &dir_n); in xenbus_probe_device_type() 589 dir = xenbus_directory(XBT_NIL, bus->root, "", &dir_n); in xenbus_probe_devices() 637 exists = xenbus_exists(XBT_NIL, node, ""); in xenbus_dev_changed()
|
D | xenbus_client.c | 310 xenbus_write(XBT_NIL, path_buffer, "error", printf_buffer); in xenbus_va_dev_error() 940 int err = xenbus_gather(XBT_NIL, path, "state", "%d", &result, NULL); in xenbus_read_driver_state()
|
/linux-6.12.1/drivers/xen/xen-pciback/ |
D | xenbus.c | 163 err = xenbus_gather(XBT_NIL, pdev->xdev->otherend, in xen_pcibk_attach() 218 err = xenbus_printf(XBT_NIL, pdev->xdev->nodename, str, in xen_pcibk_publish_pci_dev() 311 err = xenbus_scanf(XBT_NIL, pdev->xdev->nodename, in xen_pcibk_publish_pci_root() 326 err = xenbus_scanf(XBT_NIL, pdev->xdev->nodename, in xen_pcibk_publish_pci_root() 350 err = xenbus_printf(XBT_NIL, pdev->xdev->nodename, str, in xen_pcibk_publish_pci_root() 355 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-6.12.1/drivers/net/xen-netback/ |
D | xenbus.c | 231 err = xenbus_scanf(XBT_NIL, dev->nodename, "handle", "%li", &handle); in backend_create_xenvif() 403 err = xenbus_scanf(XBT_NIL, dev->otherend, in read_xenbus_frontend_xdp() 476 ratestr = xenbus_read(XBT_NIL, dev->nodename, "rate", NULL); in xen_net_read_rate() 506 macstr = s = xenbus_read(XBT_NIL, dev->nodename, "mac", NULL); in xen_net_read_mac() 669 str = xenbus_read(XBT_NIL, be->dev->nodename, "hotplug-status", &len); in hotplug_status_changed() 691 err = xenbus_scanf(XBT_NIL, dev->otherend, in connect_ctrl_ring() 698 err = xenbus_scanf(XBT_NIL, dev->otherend, in connect_ctrl_ring() 886 err = xenbus_gather(XBT_NIL, xspath, in connect_data_rings() 897 err = xenbus_gather(XBT_NIL, xspath, in connect_data_rings() 901 err = xenbus_scanf(XBT_NIL, xspath, in connect_data_rings() [all …]
|
/linux-6.12.1/sound/xen/ |
D | xen_snd_front_cfg.c | 262 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-6.12.1/drivers/xen/ |
D | xen-balloon.c | 77 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()
|
D | xen-scsiback.c | 890 err = xenbus_gather(XBT_NIL, dev->otherend, in scsiback_map() 1052 if (xenbus_printf(XBT_NIL, info->dev->nodename, state, in scsiback_do_add_lun() 1058 err = xenbus_printf(XBT_NIL, info->dev->nodename, state, in scsiback_do_add_lun() 1070 if (xenbus_printf(XBT_NIL, info->dev->nodename, state, in scsiback_do_del_lun() 1093 err = xenbus_scanf(XBT_NIL, dev->nodename, state, "%u", &device_state); in scsiback_do_1lun_hotplug() 1099 val = xenbus_read(XBT_NIL, dev->nodename, str, NULL); in scsiback_do_1lun_hotplug() 1101 err = xenbus_printf(XBT_NIL, dev->nodename, state, in scsiback_do_1lun_hotplug() 1113 err = xenbus_scanf(XBT_NIL, dev->nodename, str, "%u:%u:%u:%u", in scsiback_do_1lun_hotplug() 1116 err = xenbus_printf(XBT_NIL, dev->nodename, state, in scsiback_do_1lun_hotplug() 1144 if (xenbus_printf(XBT_NIL, dev->nodename, state, in scsiback_do_1lun_hotplug() [all …]
|
D | cpu_hotplug.c | 40 err = xenbus_scanf(XBT_NIL, dir, "availability", "%15s", state); in vcpu_online()
|
D | sys-hypervisor.c | 148 vm = xenbus_read(XBT_NIL, "vm", "", NULL); in uuid_show_fallback() 151 val = xenbus_read(XBT_NIL, vm, "uuid", NULL); in uuid_show_fallback()
|
D | manage.c | 356 err = xenbus_printf(XBT_NIL, "control", node, "%u", 1); in setup_shutdown_watcher()
|
D | pvcalls-back.c | 942 err = xenbus_scanf(XBT_NIL, dev->otherend, "port", "%u", in backend_connect() 951 err = xenbus_scanf(XBT_NIL, dev->otherend, "ring-ref", "%u", &ring_ref); in backend_connect()
|
/linux-6.12.1/drivers/block/xen-blkback/ |
D | xenbus.c | 60 devpath = xenbus_read(XBT_NIL, dev->nodename, "dev", NULL); in blkback_name() 653 err = xenbus_printf(XBT_NIL, dev->nodename, in xen_blkbk_probe() 662 err = xenbus_printf(XBT_NIL, dev->nodename, in xen_blkbk_probe() 676 err = xenbus_printf(XBT_NIL, dev->nodename, "max-ring-page-order", "%u", in xen_blkbk_probe() 713 err = xenbus_scanf(XBT_NIL, dev->nodename, "physical-device", "%x:%x", in backend_changed() 735 be->mode = xenbus_read(XBT_NIL, dev->nodename, "mode", NULL); in backend_changed() 743 device_type = xenbus_read(XBT_NIL, dev->otherend, "device-type", NULL); in backend_changed() 975 err = xenbus_scanf(XBT_NIL, dir, "event-channel", "%u", in read_per_ring_refs() 1000 err = xenbus_scanf(XBT_NIL, dir, ring_ref_name, in read_per_ring_refs() 1072 err = xenbus_scanf(XBT_NIL, dev->otherend, "protocol", in connect_ring() [all …]
|
D | blkback.c | 1044 xen_blkbk_flush_diskcache(XBT_NIL, pending_req->ring->blkif->be, 0); in __end_block_io_op() 1049 xen_blkbk_barrier(XBT_NIL, pending_req->ring->blkif->be, 0); in __end_block_io_op()
|
/linux-6.12.1/drivers/scsi/ |
D | xen-scsifront.c | 747 err = xenbus_printf(XBT_NIL, info->dev->nodename, in scsifront_sdev_configure() 765 err = xenbus_printf(XBT_NIL, info->dev->nodename, in scsifront_sdev_destroy() 1053 dir = xenbus_directory(XBT_NIL, dev->otherend, "vscsi-devs", &dir_n); in scsifront_do_lun_hotplug() 1064 err = xenbus_scanf(XBT_NIL, dev->otherend, str, "%u", in scsifront_do_lun_hotplug() 1071 err = xenbus_scanf(XBT_NIL, dev->otherend, str, in scsifront_do_lun_hotplug() 1091 err = xenbus_printf(XBT_NIL, dev->nodename, in scsifront_do_lun_hotplug() 1111 err = xenbus_printf(XBT_NIL, dev->nodename, in scsifront_do_lun_hotplug()
|
/linux-6.12.1/drivers/gpu/drm/xen/ |
D | xen_drm_front_cfg.c | 32 if (xenbus_scanf(XBT_NIL, connector_path, XENDISPL_FIELD_RESOLUTION, in cfg_connector()
|
/linux-6.12.1/drivers/pci/ |
D | xen-pcifront.c | 811 err = xenbus_scanf(XBT_NIL, pdev->xdev->otherend, in pcifront_connect() 834 err = xenbus_scanf(XBT_NIL, pdev->xdev->otherend, str, in pcifront_connect() 928 err = xenbus_scanf(XBT_NIL, pdev->xdev->otherend, "num_devs", "%d", in pcifront_detach_devices() 959 err = xenbus_scanf(XBT_NIL, pdev->xdev->otherend, str, in pcifront_detach_devices()
|
/linux-6.12.1/drivers/input/misc/ |
D | xen-kbdfront.c | 237 ret = xenbus_write(XBT_NIL, dev->nodename, in xenkbd_probe() 286 ret = xenbus_write(XBT_NIL, dev->nodename, in xenkbd_probe()
|
/linux-6.12.1/include/xen/ |
D | xenbus.h | 149 #define XBT_NIL ((struct xenbus_transaction) { 0 }) macro
|
/linux-6.12.1/drivers/block/ |
D | xen-blkfront.c | 1943 err = xenbus_scanf(XBT_NIL, dev->nodename, in blkfront_probe() 1947 err = xenbus_scanf(XBT_NIL, dev->nodename, "virtual-device-ext", in blkfront_probe() 1975 type = xenbus_read(XBT_NIL, dev->nodename, "device-type", &len); in blkfront_probe() 2329 err = xenbus_scanf(XBT_NIL, info->xbdev->otherend, in blkfront_connect() 2355 err = xenbus_gather(XBT_NIL, info->xbdev->otherend, in blkfront_connect()
|
/linux-6.12.1/net/9p/ |
D | trans_xen.c | 386 versions = xenbus_read(XBT_NIL, dev->otherend, "versions", &len); in xen_9pfs_front_init()
|
/linux-6.12.1/drivers/usb/host/ |
D | xen-hcd.c | 1450 err = xenbus_scanf(XBT_NIL, dev->otherend, "num-ports", "%d", in xenhcd_create_hcd() 1461 err = xenbus_scanf(XBT_NIL, dev->otherend, "usb-ver", "%d", &usb_ver); in xenhcd_create_hcd()
|
/linux-6.12.1/drivers/video/fbdev/ |
D | xen-fbfront.c | 358 if (xenbus_scanf(XBT_NIL, dev->otherend, "videoram", "%d", &val) == 1) { in xenfb_probe()
|