Lines Matching refs:target
129 device->target = DASD_STATE_NEW;
364 * Forget format information. Check if the target level is basic
445 device->target >= DASD_STATE_KNOWN)
450 device->target >= DASD_STATE_BASIC)
455 device->target >= DASD_STATE_READY)
460 device->target > DASD_STATE_UNFMT)
465 device->target >= DASD_STATE_ONLINE)
480 device->target <= DASD_STATE_READY)
485 device->target <= DASD_STATE_BASIC)
490 device->target <= DASD_STATE_BASIC)
495 device->target <= DASD_STATE_KNOWN)
500 device->target <= DASD_STATE_NEW)
513 if (device->state == device->target)
516 if (device->state < device->target)
523 device->target = device->state;
528 if (device->state == device->target)
579 * Set the target state for a device and starts the state change.
581 void dasd_set_target_state(struct dasd_device *device, int target)
586 if (dasd_probeonly && target > DASD_STATE_READY)
587 target = DASD_STATE_READY;
588 if (device->target != target) {
589 if (device->state == target)
591 device->target = target;
593 if (device->state != device->target)
604 return (device->state == device->target);
1839 device->state != device->target ||