Lines Matching refs:tmp_sdev
654 struct scsi_device *tmp_sdev; in scsi_handle_queue_ramp_up() local
672 shost_for_each_device(tmp_sdev, sdev->host) { in scsi_handle_queue_ramp_up()
673 if (tmp_sdev->channel != sdev->channel || in scsi_handle_queue_ramp_up()
674 tmp_sdev->id != sdev->id || in scsi_handle_queue_ramp_up()
675 tmp_sdev->queue_depth == sdev->max_queue_depth) in scsi_handle_queue_ramp_up()
678 scsi_change_queue_depth(tmp_sdev, tmp_sdev->queue_depth + 1); in scsi_handle_queue_ramp_up()
686 struct scsi_device *tmp_sdev; in scsi_handle_queue_full() local
691 shost_for_each_device(tmp_sdev, sdev->host) { in scsi_handle_queue_full()
692 if (tmp_sdev->channel != sdev->channel || in scsi_handle_queue_full()
693 tmp_sdev->id != sdev->id) in scsi_handle_queue_full()
700 scsi_track_queue_full(tmp_sdev, tmp_sdev->queue_depth - 1); in scsi_handle_queue_full()