Lines Matching refs:state

144 	device->state = DASD_STATE_NEW;
207 * As long as the device is not in state DASD_STATE_NEW we want to
219 device->state = DASD_STATE_KNOWN;
230 device->state = DASD_STATE_NEW;
286 device->state = DASD_STATE_BASIC;
322 device->state = DASD_STATE_KNOWN;
328 * -EAGAIN in which case the device keeps the state DASD_STATE_BASIC
354 device->state = DASD_STATE_UNFMT;
366 device->state = DASD_STATE_READY;
369 device->state = DASD_STATE_BASIC;
373 device->state = DASD_STATE_READY;
400 device->state = DASD_STATE_BASIC;
405 device->state = DASD_STATE_READY;
421 device->state = DASD_STATE_BASIC;
437 device->state = DASD_STATE_ONLINE;
470 device->state = DASD_STATE_READY;
482 * Device startup state changes.
489 if (device->state == DASD_STATE_NEW &&
494 device->state == DASD_STATE_KNOWN &&
499 device->state == DASD_STATE_BASIC &&
504 device->state == DASD_STATE_UNFMT &&
509 device->state == DASD_STATE_READY &&
517 * Device shutdown state changes.
524 if (device->state == DASD_STATE_ONLINE &&
529 device->state == DASD_STATE_READY &&
534 device->state == DASD_STATE_UNFMT &&
539 device->state == DASD_STATE_BASIC &&
544 device->state == DASD_STATE_KNOWN &&
558 if (device->state == device->target)
561 if (device->state < device->target)
568 device->target = device->state;
573 if (device->state == device->target)
579 * procedure or were sleeping because of a pending state.
644 * Set the target state for a device and starts the state change.
654 if (device->state == target)
658 if (device->state != device->target)
670 return (device->state == device->target);
676 if (device->state <= DASD_STATE_KNOWN)
1549 * 3) timeout for missing state change interrupts
1905 device->state != device->target ||
2000 * by setting a dasd_block state and calling the callback function
2186 * After this point all requests must be in state CLEAR_PENDING,
2716 * is waiting for something that may not come reliably, (e.g. a state
3114 if (basedev->state < DASD_STATE_READY ||
3363 if (base->state <= DASD_STATE_BASIC) {
3650 if (device->state <= DASD_STATE_KNOWN) {
3799 if (device->state < DASD_STATE_BASIC)
3955 if (device->state < DASD_STATE_BASIC)
4089 * an UNRESUMED stop state