Lines Matching refs:state
128 device->state = DASD_STATE_NEW;
189 * As long as the device is not in state DASD_STATE_NEW we want to
193 device->state = DASD_STATE_KNOWN;
204 device->state = DASD_STATE_NEW;
257 device->state = DASD_STATE_BASIC;
293 device->state = DASD_STATE_KNOWN;
299 * -EAGAIN in which case the device keeps the state DASD_STATE_BASIC
325 device->state = DASD_STATE_UNFMT;
337 device->state = DASD_STATE_READY;
340 device->state = DASD_STATE_BASIC;
344 device->state = DASD_STATE_READY;
371 device->state = DASD_STATE_BASIC;
376 device->state = DASD_STATE_READY;
392 device->state = DASD_STATE_BASIC;
404 device->state = DASD_STATE_ONLINE;
430 device->state = DASD_STATE_READY;
437 * Device startup state changes.
444 if (device->state == DASD_STATE_NEW &&
449 device->state == DASD_STATE_KNOWN &&
454 device->state == DASD_STATE_BASIC &&
459 device->state == DASD_STATE_UNFMT &&
464 device->state == DASD_STATE_READY &&
472 * Device shutdown state changes.
479 if (device->state == DASD_STATE_ONLINE &&
484 device->state == DASD_STATE_READY &&
489 device->state == DASD_STATE_UNFMT &&
494 device->state == DASD_STATE_BASIC &&
499 device->state == DASD_STATE_KNOWN &&
513 if (device->state == device->target)
516 if (device->state < device->target)
523 device->target = device->state;
528 if (device->state == device->target)
534 * procedure or were sleeping because of a pending state.
579 * Set the target state for a device and starts the state change.
589 if (device->state == target)
593 if (device->state != device->target)
604 return (device->state == device->target);
610 if (device->state <= DASD_STATE_KNOWN)
1484 * 3) timeout for missing state change interrupts
1839 device->state != device->target ||
1934 * by setting a dasd_block state and calling the callback function
2138 * After this point all requests must be in state CLEAR_PENDING,
2668 * is waiting for something that may not come reliably, (e.g. a state
3069 if (basedev->state < DASD_STATE_READY ||
3279 if (base->state <= DASD_STATE_BASIC) {
3548 if (device->state <= DASD_STATE_KNOWN) {
3695 if (device->state < DASD_STATE_BASIC)
3851 if (device->state < DASD_STATE_BASIC)
3959 "The DASD has been put in the quiesce state\n");