Lines Matching refs:target
145 device->target = DASD_STATE_NEW;
393 * Forget format information. Check if the target level is basic
490 device->target >= DASD_STATE_KNOWN)
495 device->target >= DASD_STATE_BASIC)
500 device->target >= DASD_STATE_READY)
505 device->target > DASD_STATE_UNFMT)
510 device->target >= DASD_STATE_ONLINE)
525 device->target <= DASD_STATE_READY)
530 device->target <= DASD_STATE_BASIC)
535 device->target <= DASD_STATE_BASIC)
540 device->target <= DASD_STATE_KNOWN)
545 device->target <= DASD_STATE_NEW)
558 if (device->state == device->target)
561 if (device->state < device->target)
568 device->target = device->state;
573 if (device->state == device->target)
644 * Set the target state for a device and starts the state change.
646 void dasd_set_target_state(struct dasd_device *device, int target)
651 if (dasd_probeonly && target > DASD_STATE_READY)
652 target = DASD_STATE_READY;
653 if (device->target != target) {
654 if (device->state == target)
656 device->target = target;
658 if (device->state != device->target)
670 return (device->state == device->target);
1905 device->state != device->target ||