Lines Matching refs:tmp_sdev
690 struct scsi_device *tmp_sdev; in scsi_handle_queue_ramp_up() local
708 shost_for_each_device(tmp_sdev, sdev->host) { in scsi_handle_queue_ramp_up()
709 if (tmp_sdev->channel != sdev->channel || in scsi_handle_queue_ramp_up()
710 tmp_sdev->id != sdev->id || in scsi_handle_queue_ramp_up()
711 tmp_sdev->queue_depth == sdev->max_queue_depth) in scsi_handle_queue_ramp_up()
714 scsi_change_queue_depth(tmp_sdev, tmp_sdev->queue_depth + 1); in scsi_handle_queue_ramp_up()
722 struct scsi_device *tmp_sdev; in scsi_handle_queue_full() local
727 shost_for_each_device(tmp_sdev, sdev->host) { in scsi_handle_queue_full()
728 if (tmp_sdev->channel != sdev->channel || in scsi_handle_queue_full()
729 tmp_sdev->id != sdev->id) in scsi_handle_queue_full()
736 scsi_track_queue_full(tmp_sdev, tmp_sdev->queue_depth - 1); in scsi_handle_queue_full()