Home
last modified time | relevance | path

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

12

/linux-5.19.10/drivers/xen/xenbus/
Dxenbus_probe_frontend.c351 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()
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_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_probe.c149 int err = xenbus_gather(XBT_NIL, xendev->nodename, in xenbus_read_otherend_details()
160 !xenbus_exists(XBT_NIL, xendev->otherend, "")) { in xenbus_read_otherend_details()
565 dir = xenbus_directory(XBT_NIL, bus->root, type, &dir_n); in xenbus_probe_device_type()
585 dir = xenbus_directory(XBT_NIL, bus->root, "", &dir_n); in xenbus_probe_devices()
633 exists = xenbus_exists(XBT_NIL, node, ""); in xenbus_dev_changed()
Dxenbus_client.c301 xenbus_write(XBT_NIL, path_buffer, "error", printf_buffer); in xenbus_va_dev_error()
925 int err = xenbus_gather(XBT_NIL, path, "state", "%d", &result, NULL); in xenbus_read_driver_state()
/linux-5.19.10/drivers/xen/xen-pciback/
Dxenbus.c163 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-5.19.10/drivers/net/xen-netback/
Dxenbus.c231 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()
887 err = xenbus_gather(XBT_NIL, xspath, in connect_data_rings()
898 err = xenbus_gather(XBT_NIL, xspath, in connect_data_rings()
902 err = xenbus_scanf(XBT_NIL, xspath, in connect_data_rings()
[all …]
/linux-5.19.10/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-5.19.10/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.c902 err = xenbus_gather(XBT_NIL, dev->otherend, in scsiback_map()
1068 if (xenbus_printf(XBT_NIL, info->dev->nodename, state, in scsiback_do_add_lun()
1074 err = xenbus_printf(XBT_NIL, info->dev->nodename, state, in scsiback_do_add_lun()
1086 if (xenbus_printf(XBT_NIL, info->dev->nodename, state, in scsiback_do_del_lun()
1109 err = xenbus_scanf(XBT_NIL, dev->nodename, state, "%u", &device_state); in scsiback_do_1lun_hotplug()
1115 val = xenbus_read(XBT_NIL, dev->nodename, str, NULL); in scsiback_do_1lun_hotplug()
1117 err = xenbus_printf(XBT_NIL, dev->nodename, state, in scsiback_do_1lun_hotplug()
1129 err = xenbus_scanf(XBT_NIL, dev->nodename, str, "%u:%u:%u:%u", in scsiback_do_1lun_hotplug()
1132 err = xenbus_printf(XBT_NIL, dev->nodename, state, in scsiback_do_1lun_hotplug()
1160 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.c145 vm = xenbus_read(XBT_NIL, "vm", "", NULL); in uuid_show_fallback()
148 val = xenbus_read(XBT_NIL, vm, "uuid", NULL); in uuid_show_fallback()
Dmanage.c356 err = xenbus_printf(XBT_NIL, "control", node, "%u", 1); in setup_shutdown_watcher()
Dpvcalls-back.c933 err = xenbus_scanf(XBT_NIL, dev->otherend, "port", "%u", in backend_connect()
942 err = xenbus_scanf(XBT_NIL, dev->otherend, "ring-ref", "%u", &ring_ref); in backend_connect()
/linux-5.19.10/drivers/block/xen-blkback/
Dxenbus.c60 devpath = xenbus_read(XBT_NIL, dev->nodename, "dev", NULL); in blkback_name()
655 err = xenbus_printf(XBT_NIL, dev->nodename, in xen_blkbk_probe()
664 err = xenbus_printf(XBT_NIL, dev->nodename, in xen_blkbk_probe()
678 err = xenbus_printf(XBT_NIL, dev->nodename, "max-ring-page-order", "%u", in xen_blkbk_probe()
715 err = xenbus_scanf(XBT_NIL, dev->nodename, "physical-device", "%x:%x", in backend_changed()
737 be->mode = xenbus_read(XBT_NIL, dev->nodename, "mode", NULL); in backend_changed()
745 device_type = xenbus_read(XBT_NIL, dev->otherend, "device-type", NULL); in backend_changed()
976 err = xenbus_scanf(XBT_NIL, dir, "event-channel", "%u", in read_per_ring_refs()
1001 err = xenbus_scanf(XBT_NIL, dir, ring_ref_name, in read_per_ring_refs()
1073 err = xenbus_scanf(XBT_NIL, dev->otherend, "protocol", in connect_ring()
[all …]
Dblkback.c1044 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-5.19.10/drivers/scsi/
Dxen-scsifront.c755 err = xenbus_printf(XBT_NIL, info->dev->nodename, in scsifront_sdev_configure()
773 err = xenbus_printf(XBT_NIL, info->dev->nodename, in scsifront_sdev_destroy()
1063 dir = xenbus_directory(XBT_NIL, dev->otherend, "vscsi-devs", &dir_n); in scsifront_do_lun_hotplug()
1074 err = xenbus_scanf(XBT_NIL, dev->otherend, str, "%u", in scsifront_do_lun_hotplug()
1081 err = xenbus_scanf(XBT_NIL, dev->otherend, str, in scsifront_do_lun_hotplug()
1101 err = xenbus_printf(XBT_NIL, dev->nodename, in scsifront_do_lun_hotplug()
1121 err = xenbus_printf(XBT_NIL, dev->nodename, in scsifront_do_lun_hotplug()
/linux-5.19.10/drivers/gpu/drm/xen/
Dxen_drm_front_cfg.c32 if (xenbus_scanf(XBT_NIL, connector_path, XENDISPL_FIELD_RESOLUTION, in cfg_connector()
/linux-5.19.10/drivers/pci/
Dxen-pcifront.c842 err = xenbus_scanf(XBT_NIL, pdev->xdev->otherend, in pcifront_try_connect()
869 err = xenbus_scanf(XBT_NIL, pdev->xdev->otherend, str, in pcifront_try_connect()
928 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()
992 err = xenbus_scanf(XBT_NIL, pdev->xdev->otherend, "num_devs", "%d", in pcifront_detach_devices()
1023 err = xenbus_scanf(XBT_NIL, pdev->xdev->otherend, str, in pcifront_detach_devices()
/linux-5.19.10/include/xen/
Dxenbus.h155 #define XBT_NIL ((struct xenbus_transaction) { 0 }) macro
/linux-5.19.10/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-5.19.10/drivers/block/
Dxen-blkfront.c1942 err = xenbus_scanf(XBT_NIL, dev->nodename, in blkfront_probe()
1946 err = xenbus_scanf(XBT_NIL, dev->nodename, "virtual-device-ext", in blkfront_probe()
1974 type = xenbus_read(XBT_NIL, dev->nodename, "device-type", &len); in blkfront_probe()
2328 err = xenbus_scanf(XBT_NIL, info->xbdev->otherend, in blkfront_connect()
2354 err = xenbus_gather(XBT_NIL, info->xbdev->otherend, in blkfront_connect()
/linux-5.19.10/net/9p/
Dtrans_xen.c373 versions = xenbus_read(XBT_NIL, dev->otherend, "versions", &len); in xen_9pfs_front_probe()
/linux-5.19.10/drivers/usb/host/
Dxen-hcd.c1450 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-5.19.10/drivers/video/fbdev/
Dxen-fbfront.c379 if (xenbus_scanf(XBT_NIL, dev->otherend, "videoram", "%d", &val) == 1) { in xenfb_probe()

12