Lines Matching defs:sdev
536 struct scsi_device *sdev;
546 * sdev state must be SDEV_TRANSPORT_OFFLINE, transition
567 shost_for_each_device(sdev, shost) {
568 mutex_lock(&sdev->state_mutex);
569 if (sdev->sdev_state == SDEV_OFFLINE)
570 sdev->sdev_state = SDEV_RUNNING;
571 mutex_unlock(&sdev->state_mutex);
605 struct scsi_device *sdev = scmd->device;
606 struct Scsi_Host *shost = sdev->host;
610 pr_debug("timeout for sdev %s\n", dev_name(&sdev->sdev_gendev));
613 i->f->reset_timer_if_blocked && scsi_device_blocked(sdev) ?