Lines Matching refs:tmp_sdev
712 struct scsi_device *tmp_sdev; in scsi_handle_queue_ramp_up() local
730 shost_for_each_device(tmp_sdev, sdev->host) { in scsi_handle_queue_ramp_up()
731 if (tmp_sdev->channel != sdev->channel || in scsi_handle_queue_ramp_up()
732 tmp_sdev->id != sdev->id || in scsi_handle_queue_ramp_up()
733 tmp_sdev->queue_depth == sdev->max_queue_depth) in scsi_handle_queue_ramp_up()
736 scsi_change_queue_depth(tmp_sdev, tmp_sdev->queue_depth + 1); in scsi_handle_queue_ramp_up()
744 struct scsi_device *tmp_sdev; in scsi_handle_queue_full() local
749 shost_for_each_device(tmp_sdev, sdev->host) { in scsi_handle_queue_full()
750 if (tmp_sdev->channel != sdev->channel || in scsi_handle_queue_full()
751 tmp_sdev->id != sdev->id) in scsi_handle_queue_full()
758 scsi_track_queue_full(tmp_sdev, tmp_sdev->queue_depth - 1); in scsi_handle_queue_full()