/kernel/linux/linux-5.10/drivers/xen/ |
D | manage.c | 223 struct xenbus_transaction xbt; in shutdown_handler() local 231 err = xenbus_transaction_start(&xbt); in shutdown_handler() 235 str = (char *)xenbus_read(xbt, "control", "shutdown", NULL); in shutdown_handler() 238 xenbus_transaction_end(xbt, 1); in shutdown_handler() 249 xenbus_write(xbt, "control", "shutdown", ""); in shutdown_handler() 251 err = xenbus_transaction_end(xbt, 0); in shutdown_handler() 272 struct xenbus_transaction xbt; in sysrq_handler() local 276 err = xenbus_transaction_start(&xbt); in sysrq_handler() 279 err = xenbus_scanf(xbt, "control", "sysrq", "%c", &sysrq_key); in sysrq_handler() 291 xenbus_transaction_end(xbt, 1); in sysrq_handler() [all …]
|
D | pvcalls-front.c | 1135 struct xenbus_transaction xbt; in pvcalls_front_probe() local 1210 ret = xenbus_transaction_start(&xbt); in pvcalls_front_probe() 1215 ret = xenbus_printf(xbt, dev->nodename, "version", "%u", 1); in pvcalls_front_probe() 1218 ret = xenbus_printf(xbt, dev->nodename, "ring-ref", "%d", bedata->ref); in pvcalls_front_probe() 1221 ret = xenbus_printf(xbt, dev->nodename, "port", "%u", in pvcalls_front_probe() 1225 ret = xenbus_transaction_end(xbt, 0); in pvcalls_front_probe() 1237 xenbus_transaction_end(xbt, 1); in pvcalls_front_probe()
|
D | pvcalls-back.c | 1035 struct xenbus_transaction xbt; in pvcalls_back_probe() local 1040 err = xenbus_transaction_start(&xbt); in pvcalls_back_probe() 1046 err = xenbus_printf(xbt, dev->nodename, "versions", "%s", in pvcalls_back_probe() 1053 err = xenbus_printf(xbt, dev->nodename, "max-page-order", "%u", in pvcalls_back_probe() 1060 err = xenbus_printf(xbt, dev->nodename, "function-calls", in pvcalls_back_probe() 1069 err = xenbus_transaction_end(xbt, abort); in pvcalls_back_probe()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/xen/ |
D | xen_drm_front_evtchnl.c | 269 static int evtchnl_publish(struct xenbus_transaction xbt, in evtchnl_publish() argument 278 ret = xenbus_printf(xbt, path, node_ring, "%u", evtchnl->gref); in evtchnl_publish() 285 ret = xenbus_printf(xbt, path, node_chnl, "%u", evtchnl->port); in evtchnl_publish() 296 struct xenbus_transaction xbt; in xen_drm_front_evtchnl_publish_all() local 303 ret = xenbus_transaction_start(&xbt); in xen_drm_front_evtchnl_publish_all() 311 ret = evtchnl_publish(xbt, &front_info->evt_pairs[conn].req, in xen_drm_front_evtchnl_publish_all() 318 ret = evtchnl_publish(xbt, &front_info->evt_pairs[conn].evt, in xen_drm_front_evtchnl_publish_all() 326 ret = xenbus_transaction_end(xbt, 0); in xen_drm_front_evtchnl_publish_all() 339 xenbus_transaction_end(xbt, 1); in xen_drm_front_evtchnl_publish_all()
|
/kernel/linux/linux-5.10/sound/xen/ |
D | xen_snd_front_evtchnl.c | 359 static int evtchnl_publish(struct xenbus_transaction xbt, in evtchnl_publish() argument 368 ret = xenbus_printf(xbt, path, node_ring, "%u", channel->gref); in evtchnl_publish() 375 ret = xenbus_printf(xbt, path, node_chnl, "%u", channel->port); in evtchnl_publish() 387 struct xenbus_transaction xbt; in xen_snd_front_evtchnl_publish_all() local 391 ret = xenbus_transaction_start(&xbt); in xen_snd_front_evtchnl_publish_all() 407 ret = evtchnl_publish(xbt, in xen_snd_front_evtchnl_publish_all() 415 ret = evtchnl_publish(xbt, in xen_snd_front_evtchnl_publish_all() 427 ret = evtchnl_publish(xbt, in xen_snd_front_evtchnl_publish_all() 435 ret = evtchnl_publish(xbt, in xen_snd_front_evtchnl_publish_all() 444 ret = xenbus_transaction_end(xbt, 0); in xen_snd_front_evtchnl_publish_all() [all …]
|
/kernel/linux/linux-5.10/drivers/block/xen-blkback/ |
D | xenbus.c | 560 int xen_blkbk_flush_diskcache(struct xenbus_transaction xbt, in xen_blkbk_flush_diskcache() argument 566 err = xenbus_printf(xbt, dev->nodename, "feature-flush-cache", in xen_blkbk_flush_diskcache() 574 static void xen_blkbk_discard(struct xenbus_transaction xbt, struct backend_info *be) in xen_blkbk_discard() argument 587 err = xenbus_printf(xbt, dev->nodename, in xen_blkbk_discard() 594 err = xenbus_printf(xbt, dev->nodename, in xen_blkbk_discard() 603 err = xenbus_printf(xbt, dev->nodename, in xen_blkbk_discard() 611 err = xenbus_printf(xbt, dev->nodename, "feature-discard", in xen_blkbk_discard() 617 int xen_blkbk_barrier(struct xenbus_transaction xbt, in xen_blkbk_barrier() argument 623 err = xenbus_printf(xbt, dev->nodename, "feature-barrier", in xen_blkbk_barrier() 895 struct xenbus_transaction xbt; in connect() local [all …]
|
D | blkback.c | 473 struct xenbus_transaction xbt; in xen_vbd_resize() local 483 err = xenbus_transaction_start(&xbt); in xen_vbd_resize() 488 err = xenbus_printf(xbt, dev->nodename, "sectors", "%llu", in xen_vbd_resize() 499 err = xenbus_printf(xbt, dev->nodename, "state", "%d", dev->state); in xen_vbd_resize() 505 err = xenbus_transaction_end(xbt, 0); in xen_vbd_resize() 512 xenbus_transaction_end(xbt, 1); in xen_vbd_resize()
|
D | common.h | 389 int xen_blkbk_flush_diskcache(struct xenbus_transaction xbt, 392 int xen_blkbk_barrier(struct xenbus_transaction xbt,
|
/kernel/linux/linux-5.10/drivers/char/tpm/ |
D | xen-tpmfront.c | 253 struct xenbus_transaction xbt; in setup_ring() local 283 rv = xenbus_transaction_start(&xbt); in setup_ring() 289 rv = xenbus_printf(xbt, dev->nodename, in setup_ring() 296 rv = xenbus_printf(xbt, dev->nodename, "event-channel", "%u", in setup_ring() 303 rv = xenbus_printf(xbt, dev->nodename, "feature-protocol-v2", "1"); in setup_ring() 309 rv = xenbus_transaction_end(xbt, 0); in setup_ring() 322 xenbus_transaction_end(xbt, 1); in setup_ring()
|
/kernel/linux/linux-5.10/net/9p/ |
D | trans_xen.c | 397 struct xenbus_transaction xbt; in xen_9pfs_front_probe() local 442 ret = xenbus_transaction_start(&xbt); in xen_9pfs_front_probe() 447 ret = xenbus_printf(xbt, dev->nodename, "version", "%u", 1); in xen_9pfs_front_probe() 450 ret = xenbus_printf(xbt, dev->nodename, "num-rings", "%u", in xen_9pfs_front_probe() 459 ret = xenbus_printf(xbt, dev->nodename, str, "%d", in xen_9pfs_front_probe() 465 ret = xenbus_printf(xbt, dev->nodename, str, "%u", in xen_9pfs_front_probe() 470 priv->tag = xenbus_read(xbt, dev->nodename, "tag", NULL); in xen_9pfs_front_probe() 475 ret = xenbus_transaction_end(xbt, 0); in xen_9pfs_front_probe() 492 xenbus_transaction_end(xbt, 1); in xen_9pfs_front_probe()
|
/kernel/linux/linux-5.10/drivers/net/xen-netback/ |
D | xenbus.c | 1011 struct xenbus_transaction xbt; in netback_probe() local 1029 err = xenbus_transaction_start(&xbt); in netback_probe() 1035 err = xenbus_printf(xbt, dev->nodename, "feature-sg", "%d", sg); in netback_probe() 1041 err = xenbus_printf(xbt, dev->nodename, "feature-gso-tcpv4", in netback_probe() 1048 err = xenbus_printf(xbt, dev->nodename, "feature-gso-tcpv6", in netback_probe() 1056 err = xenbus_printf(xbt, dev->nodename, in netback_probe() 1065 err = xenbus_printf(xbt, dev->nodename, in netback_probe() 1073 err = xenbus_printf(xbt, dev->nodename, in netback_probe() 1084 err = xenbus_printf(xbt, dev->nodename, in netback_probe() 1092 err = xenbus_printf(xbt, dev->nodename, in netback_probe() [all …]
|
/kernel/linux/linux-5.10/drivers/input/misc/ |
D | xen-kbdfront.c | 427 struct xenbus_transaction xbt; in xenkbd_connect_backend() local 447 ret = xenbus_transaction_start(&xbt); in xenkbd_connect_backend() 452 ret = xenbus_printf(xbt, dev->nodename, XENKBD_FIELD_RING_REF, "%lu", in xenkbd_connect_backend() 456 ret = xenbus_printf(xbt, dev->nodename, XENKBD_FIELD_RING_GREF, in xenkbd_connect_backend() 460 ret = xenbus_printf(xbt, dev->nodename, XENKBD_FIELD_EVT_CHANNEL, "%u", in xenkbd_connect_backend() 464 ret = xenbus_transaction_end(xbt, 0); in xenkbd_connect_backend() 476 xenbus_transaction_end(xbt, 1); in xenkbd_connect_backend()
|
/kernel/linux/linux-5.10/drivers/video/fbdev/ |
D | xen-fbfront.c | 580 struct xenbus_transaction xbt; in xenfb_connect_backend() local 593 ret = xenbus_transaction_start(&xbt); in xenfb_connect_backend() 598 ret = xenbus_printf(xbt, dev->nodename, "page-ref", "%lu", in xenfb_connect_backend() 602 ret = xenbus_printf(xbt, dev->nodename, "event-channel", "%u", in xenfb_connect_backend() 606 ret = xenbus_printf(xbt, dev->nodename, "protocol", "%s", in xenfb_connect_backend() 610 ret = xenbus_printf(xbt, dev->nodename, "feature-update", "1"); in xenfb_connect_backend() 613 ret = xenbus_transaction_end(xbt, 0); in xenfb_connect_backend() 626 xenbus_transaction_end(xbt, 1); in xenfb_connect_backend()
|
/kernel/linux/linux-5.10/drivers/tty/hvc/ |
D | hvc_xen.c | 406 struct xenbus_transaction xbt; in xencons_connect_backend() local 433 ret = xenbus_transaction_start(&xbt); in xencons_connect_backend() 438 ret = xenbus_printf(xbt, dev->nodename, "ring-ref", "%d", ref); in xencons_connect_backend() 441 ret = xenbus_printf(xbt, dev->nodename, "port", "%u", in xencons_connect_backend() 445 ret = xenbus_transaction_end(xbt, 0); in xencons_connect_backend() 457 xenbus_transaction_end(xbt, 1); in xencons_connect_backend()
|
/kernel/linux/linux-5.10/drivers/net/ |
D | xen-netfront.c | 2027 struct xenbus_transaction *xbt, int write_hierarchical) in write_queue_xenstore_keys() argument 2055 err = xenbus_printf(*xbt, path, "tx-ring-ref", "%u", in write_queue_xenstore_keys() 2062 err = xenbus_printf(*xbt, path, "rx-ring-ref", "%u", in write_queue_xenstore_keys() 2074 err = xenbus_printf(*xbt, path, in write_queue_xenstore_keys() 2082 err = xenbus_printf(*xbt, path, in write_queue_xenstore_keys() 2089 err = xenbus_printf(*xbt, path, in write_queue_xenstore_keys() 2222 struct xenbus_transaction xbt; in talk_to_netback() local 2284 err = xenbus_transaction_start(&xbt); in talk_to_netback() 2293 err = xenbus_printf(xbt, dev->nodename, in talk_to_netback() 2302 err = write_queue_xenstore_keys(&info->queues[0], &xbt, 0); /* flat */ in talk_to_netback() [all …]
|
/kernel/linux/linux-5.10/drivers/xen/xenbus/ |
D | xenbus_client.c | 218 struct xenbus_transaction xbt; in __xenbus_switch_state() local 228 err = xenbus_transaction_start(&xbt); in __xenbus_switch_state() 234 err = xenbus_scanf(xbt, dev->nodename, "state", "%d", ¤t_state); in __xenbus_switch_state() 238 err = xenbus_printf(xbt, dev->nodename, "state", "%d", state); in __xenbus_switch_state() 246 err = xenbus_transaction_end(xbt, abort); in __xenbus_switch_state()
|
/kernel/linux/linux-5.10/drivers/block/ |
D | xen-blkfront.c | 1784 static int write_per_ring_nodes(struct xenbus_transaction xbt, in write_per_ring_nodes() argument 1793 err = xenbus_printf(xbt, dir, "ring-ref", "%u", rinfo->ring_ref[0]); in write_per_ring_nodes() 1803 err = xenbus_printf(xbt, dir, ring_ref_name, in write_per_ring_nodes() 1812 err = xenbus_printf(xbt, dir, "event-channel", "%u", rinfo->evtchn); in write_per_ring_nodes() 1821 xenbus_transaction_end(xbt, 1); in write_per_ring_nodes() 1839 struct xenbus_transaction xbt; in talk_to_blkback() local 1865 err = xenbus_transaction_start(&xbt); in talk_to_blkback() 1872 err = xenbus_printf(xbt, dev->nodename, "ring-page-order", "%u", in talk_to_blkback() 1882 err = write_per_ring_nodes(xbt, info->rinfo, dev->nodename); in talk_to_blkback() 1889 err = xenbus_printf(xbt, dev->nodename, "multi-queue-num-queues", "%u", in talk_to_blkback() [all …]
|
/kernel/linux/linux-5.10/drivers/scsi/ |
D | xen-scsifront.c | 771 struct xenbus_transaction xbt; in scsifront_init_ring() local 782 err = xenbus_transaction_start(&xbt); in scsifront_init_ring() 786 err = xenbus_printf(xbt, dev->nodename, "ring-ref", "%u", in scsifront_init_ring() 793 err = xenbus_printf(xbt, dev->nodename, "event-channel", "%u", in scsifront_init_ring() 801 err = xenbus_transaction_end(xbt, 0); in scsifront_init_ring() 812 xenbus_transaction_end(xbt, 1); in scsifront_init_ring()
|
/kernel/linux/linux-5.10/drivers/xen/xen-pciback/ |
D | pci_stub.c | 665 struct xenbus_transaction xbt; in kill_domain_by_device() local 674 err = xenbus_transaction_start(&xbt); in kill_domain_by_device() 681 xenbus_printf(xbt, nodename, "aerState" , "aerfail"); in kill_domain_by_device() 682 err = xenbus_transaction_end(xbt, 0); in kill_domain_by_device()
|
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/ |
D | 0022_linux_drivers_i2c.patch | 3486 + struct xenbus_transaction xbt; 3499 + err = xenbus_transaction_start(&xbt); 3505 + err = xenbus_printf(xbt, dev->nodename, "ring-ref", "%u", 3512 + err = xenbus_printf(xbt, dev->nodename, "event-channel", "%u", 3519 + err = xenbus_scanf(xbt, dev->nodename, 3526 + err = xenbus_transaction_end(xbt, 0); 3554 + xenbus_transaction_end(xbt, 1);
|