/linux-3.4.99/drivers/xen/ |
D | manage.c | 202 struct xenbus_transaction xbt; in shutdown_handler() local 219 err = xenbus_transaction_start(&xbt); in shutdown_handler() 223 str = (char *)xenbus_read(xbt, "control", "shutdown", NULL); in shutdown_handler() 226 xenbus_transaction_end(xbt, 1); in shutdown_handler() 237 xenbus_write(xbt, "control", "shutdown", ""); in shutdown_handler() 239 err = xenbus_transaction_end(xbt, 0); in shutdown_handler() 260 struct xenbus_transaction xbt; in sysrq_handler() local 264 err = xenbus_transaction_start(&xbt); in sysrq_handler() 267 if (!xenbus_scanf(xbt, "control", "sysrq", "%c", &sysrq_key)) { in sysrq_handler() 270 xenbus_transaction_end(xbt, 1); in sysrq_handler() [all …]
|
/linux-3.4.99/drivers/block/xen-blkback/ |
D | xenbus.c | 378 int xen_blkbk_flush_diskcache(struct xenbus_transaction xbt, in xen_blkbk_flush_diskcache() argument 384 err = xenbus_printf(xbt, dev->nodename, "feature-flush-cache", in xen_blkbk_flush_diskcache() 392 static void xen_blkbk_discard(struct xenbus_transaction xbt, struct backend_info *be) in xen_blkbk_discard() argument 402 err = xenbus_printf(xbt, dev->nodename, in xen_blkbk_discard() 409 err = xenbus_printf(xbt, dev->nodename, in xen_blkbk_discard() 418 err = xenbus_printf(xbt, dev->nodename, in xen_blkbk_discard() 426 err = xenbus_printf(xbt, dev->nodename, "feature-discard", in xen_blkbk_discard() 431 int xen_blkbk_barrier(struct xenbus_transaction xbt, in xen_blkbk_barrier() argument 437 err = xenbus_printf(xbt, dev->nodename, "feature-barrier", in xen_blkbk_barrier() 656 struct xenbus_transaction xbt; in connect() local [all …]
|
D | blkback.c | 198 struct xenbus_transaction xbt; in xen_vbd_resize() local 208 err = xenbus_transaction_start(&xbt); in xen_vbd_resize() 213 err = xenbus_printf(xbt, dev->nodename, "sectors", "%llu", in xen_vbd_resize() 224 err = xenbus_printf(xbt, dev->nodename, "state", "%d", dev->state); in xen_vbd_resize() 230 err = xenbus_transaction_end(xbt, 0); in xen_vbd_resize() 237 xenbus_transaction_end(xbt, 1); in xen_vbd_resize()
|
D | common.h | 248 int xen_blkbk_flush_diskcache(struct xenbus_transaction xbt, 251 int xen_blkbk_barrier(struct xenbus_transaction xbt,
|
/linux-3.4.99/drivers/net/xen-netback/ |
D | xenbus.c | 62 struct xenbus_transaction xbt; in netback_probe() local 79 err = xenbus_transaction_start(&xbt); in netback_probe() 85 err = xenbus_printf(xbt, dev->nodename, "feature-sg", "%d", sg); in netback_probe() 91 err = xenbus_printf(xbt, dev->nodename, "feature-gso-tcpv4", in netback_probe() 99 err = xenbus_printf(xbt, dev->nodename, in netback_probe() 110 err = xenbus_printf(xbt, dev->nodename, in netback_probe() 117 err = xenbus_transaction_end(xbt, 0); in netback_probe() 135 xenbus_transaction_end(xbt, 1); in netback_probe()
|
/linux-3.4.99/drivers/input/misc/ |
D | xen-kbdfront.c | 231 struct xenbus_transaction xbt; in xenkbd_connect_backend() local 251 ret = xenbus_transaction_start(&xbt); in xenkbd_connect_backend() 256 ret = xenbus_printf(xbt, dev->nodename, "page-ref", "%lu", in xenkbd_connect_backend() 260 ret = xenbus_printf(xbt, dev->nodename, "page-gref", "%u", info->gref); in xenkbd_connect_backend() 263 ret = xenbus_printf(xbt, dev->nodename, "event-channel", "%u", in xenkbd_connect_backend() 267 ret = xenbus_transaction_end(xbt, 0); in xenkbd_connect_backend() 279 xenbus_transaction_end(xbt, 1); in xenkbd_connect_backend()
|
/linux-3.4.99/drivers/tty/hvc/ |
D | hvc_xen.c | 362 struct xenbus_transaction xbt; in xencons_connect_backend() local 394 ret = xenbus_transaction_start(&xbt); in xencons_connect_backend() 399 ret = xenbus_printf(xbt, dev->nodename, "ring-ref", "%d", ref); in xencons_connect_backend() 402 ret = xenbus_printf(xbt, dev->nodename, "port", "%u", in xencons_connect_backend() 406 ret = xenbus_printf(xbt, dev->nodename, "type", "ioemu"); in xencons_connect_backend() 409 ret = xenbus_transaction_end(xbt, 0); in xencons_connect_backend() 421 xenbus_transaction_end(xbt, 1); in xencons_connect_backend()
|
/linux-3.4.99/drivers/video/ |
D | xen-fbfront.c | 570 struct xenbus_transaction xbt; in xenfb_connect_backend() local 583 ret = xenbus_transaction_start(&xbt); in xenfb_connect_backend() 588 ret = xenbus_printf(xbt, dev->nodename, "page-ref", "%lu", in xenfb_connect_backend() 592 ret = xenbus_printf(xbt, dev->nodename, "event-channel", "%u", in xenfb_connect_backend() 596 ret = xenbus_printf(xbt, dev->nodename, "protocol", "%s", in xenfb_connect_backend() 600 ret = xenbus_printf(xbt, dev->nodename, "feature-update", "1"); in xenfb_connect_backend() 603 ret = xenbus_transaction_end(xbt, 0); in xenfb_connect_backend() 616 xenbus_transaction_end(xbt, 1); in xenfb_connect_backend()
|
/linux-3.4.99/drivers/xen/xenbus/ |
D | xenbus_client.c | 184 struct xenbus_transaction xbt; in __xenbus_switch_state() local 194 err = xenbus_transaction_start(&xbt); in __xenbus_switch_state() 200 err = xenbus_scanf(xbt, dev->nodename, "state", "%d", ¤t_state); in __xenbus_switch_state() 204 err = xenbus_printf(xbt, dev->nodename, "state", "%d", state); in __xenbus_switch_state() 212 err = xenbus_transaction_end(xbt, abort); in __xenbus_switch_state()
|
/linux-3.4.99/drivers/net/ |
D | xen-netfront.c | 1564 struct xenbus_transaction xbt; in talk_to_netback() local 1573 err = xenbus_transaction_start(&xbt); in talk_to_netback() 1579 err = xenbus_printf(xbt, dev->nodename, "tx-ring-ref", "%u", in talk_to_netback() 1585 err = xenbus_printf(xbt, dev->nodename, "rx-ring-ref", "%u", in talk_to_netback() 1591 err = xenbus_printf(xbt, dev->nodename, in talk_to_netback() 1598 err = xenbus_printf(xbt, dev->nodename, "request-rx-copy", "%u", in talk_to_netback() 1605 err = xenbus_printf(xbt, dev->nodename, "feature-rx-notify", "%d", 1); in talk_to_netback() 1611 err = xenbus_printf(xbt, dev->nodename, "feature-sg", "%d", 1); in talk_to_netback() 1617 err = xenbus_printf(xbt, dev->nodename, "feature-gso-tcpv4", "%d", 1); in talk_to_netback() 1623 err = xenbus_transaction_end(xbt, 0); in talk_to_netback() [all …]
|
/linux-3.4.99/drivers/block/ |
D | xen-blkfront.c | 875 struct xenbus_transaction xbt; in talk_to_blkback() local 884 err = xenbus_transaction_start(&xbt); in talk_to_blkback() 890 err = xenbus_printf(xbt, dev->nodename, in talk_to_blkback() 896 err = xenbus_printf(xbt, dev->nodename, in talk_to_blkback() 902 err = xenbus_printf(xbt, dev->nodename, "protocol", "%s", in talk_to_blkback() 909 err = xenbus_transaction_end(xbt, 0); in talk_to_blkback() 922 xenbus_transaction_end(xbt, 1); in talk_to_blkback()
|
/linux-3.4.99/drivers/xen/xen-pciback/ |
D | pci_stub.c | 552 struct xenbus_transaction xbt; in kill_domain_by_device() local 561 err = xenbus_transaction_start(&xbt); in kill_domain_by_device() 568 xenbus_printf(xbt, nodename, "aerState" , "aerfail"); in kill_domain_by_device() 569 err = xenbus_transaction_end(xbt, 0); in kill_domain_by_device()
|