Lines Matching refs:state
43 * Global state maintained for transaction that is being processed. For a class
57 int state; /* hvutil_device_state */
68 * This state maintains the version number registered by the daemon.
84 /* Transaction is finished, reset the state here to avoid races. */
85 vss_transaction.state = HVUTIL_READY;
148 if (vss_transaction.state > HVUTIL_READY) {
154 } else if (vss_transaction.state == HVUTIL_USERSPACE_REQ) {
155 vss_transaction.state = HVUTIL_USERSPACE_RECV;
163 /* Transaction is finished, reset the state. */
181 /* The transaction state is wrong. */
182 if (vss_transaction.state != HVUTIL_HOSTMSG_RECEIVED) {
193 vss_transaction.state = HVUTIL_USERSPACE_REQ;
203 vss_transaction.state = HVUTIL_READY;
223 if (vss_transaction.state < HVUTIL_READY) {
232 vss_transaction.state = HVUTIL_HOSTMSG_RECEIVED;
259 * Copy the global state for completing the transaction. Note that
301 if (vss_transaction.state > HVUTIL_READY)
342 * Stash away this global state for completing the
368 vss_transaction.state = HVUTIL_DEVICE_INIT;
389 vss_transaction.state = HVUTIL_DEVICE_INIT;
416 * vss_transaction.state to be HVUTIL_READY, so the user space daemon's
436 vss_transaction.state = HVUTIL_READY;
453 vss_transaction.state = HVUTIL_DEVICE_DYING;