Lines Matching defs:state
36 * Global state maintained for transaction that is being processed.
50 int state; /* hvutil_device_state */
66 * This state maintains the version number registered by the daemon.
72 /* Transaction is finished, reset the state here to avoid races. */
73 fcopy_transaction.state = HVUTIL_READY;
174 fcopy_transaction.state = HVUTIL_USERSPACE_REQ;
180 fcopy_transaction.state = HVUTIL_READY;
199 * Copy the global state for completing the transaction. Note that
202 * the "transaction active" state we maintain ensures that there can
235 if (fcopy_transaction.state > HVUTIL_READY)
261 * Stash away this global state for completing the
269 if (fcopy_transaction.state < HVUTIL_READY) {
274 fcopy_transaction.state = HVUTIL_HOSTMSG_RECEIVED;
297 if (fcopy_transaction.state == HVUTIL_DEVICE_INIT)
300 if (fcopy_transaction.state != HVUTIL_USERSPACE_REQ)
308 fcopy_transaction.state = HVUTIL_USERSPACE_RECV;
320 * The daemon has exited; reset the state.
322 fcopy_transaction.state = HVUTIL_DEVICE_INIT;
339 fcopy_transaction.state = HVUTIL_DEVICE_INIT;
364 * space since we force fcopy_transaction.state to be HVUTIL_READY, so
384 fcopy_transaction.state = HVUTIL_READY;
401 fcopy_transaction.state = HVUTIL_DEVICE_DYING;