Lines Matching refs:state
64 * Global state maintained for transaction that is being processed. For a class
78 int state; /* hvutil_device_state */
86 * This state maintains the version number registered by the daemon.
114 /* Transaction is finished, reset the state here to avoid races. */
115 kvp_transaction.state = HVUTIL_READY;
213 if (kvp_transaction.state < HVUTIL_READY) {
218 if (kvp_transaction.state < HVUTIL_USERSPACE_REQ)
221 kvp_transaction.state = HVUTIL_USERSPACE_RECV;
384 /* The transaction state is wrong. */
385 if (kvp_transaction.state != HVUTIL_HOSTMSG_RECEIVED)
496 kvp_transaction.state = HVUTIL_USERSPACE_REQ;
502 kvp_transaction.state = HVUTIL_READY;
529 * Copy the global state for completing the transaction. Note that
632 * we stash away the transaction state in a set of global variables.
649 if (kvp_transaction.state < HVUTIL_READY) {
662 if (kvp_transaction.state > HVUTIL_READY)
701 * Stash away this global state for completing the
709 if (kvp_transaction.state < HVUTIL_READY) {
714 kvp_transaction.state = HVUTIL_HOSTMSG_RECEIVED;
752 kvp_transaction.state = HVUTIL_DEVICE_INIT;
768 kvp_transaction.state = HVUTIL_DEVICE_INIT;
799 * Forece the state to READY to handle the ICMSGTYPE_NEGOTIATE message
804 kvp_transaction.state = HVUTIL_READY;
819 kvp_transaction.state = HVUTIL_DEVICE_DYING;