Lines Matching defs:state
40 * Global state maintained for transaction that is being processed. For a class
54 int state; /* hvutil_device_state */
65 * This state maintains the version number registered by the daemon.
81 /* Transaction is finished, reset the state here to avoid races. */
82 vss_transaction.state = HVUTIL_READY;
145 if (vss_transaction.state > HVUTIL_READY) {
151 } else if (vss_transaction.state == HVUTIL_USERSPACE_REQ) {
152 vss_transaction.state = HVUTIL_USERSPACE_RECV;
160 /* Transaction is finished, reset the state. */
178 /* The transaction state is wrong. */
179 if (vss_transaction.state != HVUTIL_HOSTMSG_RECEIVED) {
190 vss_transaction.state = HVUTIL_USERSPACE_REQ;
200 vss_transaction.state = HVUTIL_READY;
220 if (vss_transaction.state < HVUTIL_READY) {
229 vss_transaction.state = HVUTIL_HOSTMSG_RECEIVED;
256 * Copy the global state for completing the transaction. Note that
298 if (vss_transaction.state > HVUTIL_READY)
324 * Stash away this global state for completing the
350 vss_transaction.state = HVUTIL_DEVICE_INIT;
370 vss_transaction.state = HVUTIL_DEVICE_INIT;
397 * vss_transaction.state to be HVUTIL_READY, so the user space daemon's
417 vss_transaction.state = HVUTIL_READY;
434 vss_transaction.state = HVUTIL_DEVICE_DYING;