Searched defs:xbt (Results 1 - 8 of 8) sorted by relevance

/illumos-gate/usr/src/uts/common/xen/io/
H A Dxenbus_client.c126 xenbus_switch_state(struct xenbus_device *dev, xenbus_transaction_t xbt, argument
132 err = xenbus_scanf(xbt, dev->nodename, "state", "%d", &current_state);
143 err = xenbus_printf(xbt, dev->nodename, "state", "%d", state);
H A Dblk_common.c510 xenbus_transaction_t xbt; local
555 e = xenbus_transaction_start(&xbt);
562 e = xenbus_printf(xbt, xsnode, "instance", "%d",
568 (void) xenbus_transaction_end(xbt, 1);
573 e = xenbus_read(xbt, xsnode, "feature-barrier", (void **)&barrier,
576 e = xenbus_printf(xbt, xsnode, "feature-barrier", "%d", 1);
581 (void) xenbus_transaction_end(xbt, 1);
588 e = xvdi_switch_state(dip, xbt, XenbusStateConnected);
591 (void) xenbus_transaction_end(xbt, 1);
595 e = xenbus_transaction_end(xbt,
[all...]
H A Dxdb.c845 xenbus_transaction_t xbt; local
866 if ((err = xenbus_transaction_start(&xbt)) != 0) {
876 if (((err = xenbus_rm(xbt, xsname, XBP_FB)) != 0) ||
877 ((err = xenbus_rm(xbt, xsname, XBP_INFO)) != 0) ||
878 ((err = xenbus_rm(xbt, xsname, "sector-size")) != 0) ||
879 ((err = xenbus_rm(xbt, xsname, XBP_SECTORS)) != 0) ||
880 ((err = xenbus_rm(xbt, xsname, "instance")) != 0) ||
881 ((err = xenbus_rm(xbt, xsname, "node")) != 0) ||
882 (update_xs && ((err = xenbus_printf(xbt, xsname,
885 xbt, XenbusStateInitialisin
1335 xenbus_transaction_t xbt; local
[all...]
H A Dxdf.c1510 xenbus_transaction_t xbt; local
1575 if (xenbus_transaction_start(&xbt)) {
1587 if (((rv = xenbus_printf(xbt, xsname,
1589 ((rv = xenbus_printf(xbt, xsname,
1591 ((rv = xenbus_printf(xbt, xsname,
1593 ((rv = xenbus_printf(xbt, xsname,
1595 ((rv = xvdi_switch_state(dip, xbt, XenbusStateInitialised)) > 0)) {
1596 (void) xenbus_transaction_end(xbt, 1);
1602 if (rv = xenbus_transaction_end(xbt, 0)) {
H A Dxnf.c645 xenbus_transaction_t xbt; local
663 err = xenbus_transaction_start(&xbt);
669 err = xenbus_printf(xbt, xsname, "tx-ring-ref", "%u",
676 err = xenbus_printf(xbt, xsname, "rx-ring-ref", "%u",
683 err = xenbus_printf(xbt, xsname, "event-channel", "%u",
690 err = xenbus_printf(xbt, xsname, "feature-rx-notify", "%d", 1);
696 err = xenbus_printf(xbt, xsname, "request-rx-copy", "%d", 1);
703 err = xenbus_printf(xbt, xsname, "request-multicast-control",
711 err = xvdi_switch_state(xnfp->xnf_devinfo, xbt, XenbusStateConnected);
717 err = xenbus_transaction_end(xbt,
[all...]
/illumos-gate/usr/src/uts/i86pc/i86hvm/io/xpv/
H A Dxpv_support.c612 xenbus_transaction_t xbt; local
617 err = xenbus_transaction_start(&xbt);
620 if (xenbus_read(xbt, "control", "shutdown", (void *)&str, &slen)) {
621 (void) xenbus_transaction_end(xbt, 1);
632 (void) xenbus_transaction_end(xbt, 0);
647 (void) xenbus_write(xbt, "control", "shutdown", "");
648 err = xenbus_transaction_end(xbt, 0);
/illumos-gate/usr/src/uts/i86xpv/os/
H A Dxen_machdep.c681 xenbus_transaction_t xbt; local
686 if (xenbus_transaction_start(&xbt)) {
691 if ((ret = xenbus_scanf(xbt, "control", "sysrq", "%c", &key)) != 0) {
701 if ((ret = xenbus_rm(xbt, "control", "sysrq")) != 0) {
706 if (xenbus_transaction_end(xbt, 0) == EAGAIN)
721 (void) xenbus_transaction_end(xbt, 1);
812 xenbus_transaction_t xbt; local
817 err = xenbus_transaction_start(&xbt);
820 if (xenbus_read(xbt, "control", "shutdown", (void *)&str, &slen)) {
821 (void) xenbus_transaction_end(xbt,
[all...]
/illumos-gate/usr/src/uts/common/xen/os/
H A Dxvdi.c1667 xvdi_switch_state(dev_info_t *dip, xenbus_transaction_t xbt, argument
1682 rv = xenbus_switch_state(&pdp->xd_xsdev, xbt, newState);

Completed in 84 milliseconds