Searched refs:tmp_sdev (Results 1 - 3 of 3) sorted by relevance

/linux-4.4.14/drivers/scsi/bfa/
H A Dbfad_im.c859 struct scsi_device *tmp_sdev; bfad_ramp_up_qdepth() local
865 shost_for_each_device(tmp_sdev, sdev->host) { bfad_ramp_up_qdepth()
866 if (bfa_lun_queue_depth > tmp_sdev->queue_depth) { bfad_ramp_up_qdepth()
867 if (tmp_sdev->id != sdev->id) bfad_ramp_up_qdepth()
869 scsi_change_queue_depth(tmp_sdev, bfad_ramp_up_qdepth()
870 tmp_sdev->queue_depth + 1); bfad_ramp_up_qdepth()
881 struct scsi_device *tmp_sdev; bfad_handle_qfull() local
885 shost_for_each_device(tmp_sdev, sdev->host) { bfad_handle_qfull()
886 if (tmp_sdev->id != sdev->id) bfad_handle_qfull()
888 scsi_track_queue_full(tmp_sdev, tmp_sdev->queue_depth - 1); bfad_handle_qfull()
/linux-4.4.14/drivers/scsi/
H A Dses.c618 struct scsi_device *tmp_sdev; ses_intf_add() local
742 shost_for_each_device(tmp_sdev, sdev->host) { ses_intf_add()
743 if (tmp_sdev->lun != 0 || scsi_device_enclosure(tmp_sdev)) ses_intf_add()
745 ses_match_to_enclosure(edev, tmp_sdev); ses_intf_add()
H A Dscsi_error.c609 struct scsi_device *tmp_sdev; scsi_handle_queue_ramp_up() local
627 shost_for_each_device(tmp_sdev, sdev->host) { scsi_handle_queue_ramp_up()
628 if (tmp_sdev->channel != sdev->channel || scsi_handle_queue_ramp_up()
629 tmp_sdev->id != sdev->id || scsi_handle_queue_ramp_up()
630 tmp_sdev->queue_depth == sdev->max_queue_depth) scsi_handle_queue_ramp_up()
633 scsi_change_queue_depth(tmp_sdev, tmp_sdev->queue_depth + 1); scsi_handle_queue_ramp_up()
641 struct scsi_device *tmp_sdev; scsi_handle_queue_full() local
646 shost_for_each_device(tmp_sdev, sdev->host) { scsi_handle_queue_full()
647 if (tmp_sdev->channel != sdev->channel || scsi_handle_queue_full()
648 tmp_sdev->id != sdev->id) scsi_handle_queue_full()
655 scsi_track_queue_full(tmp_sdev, tmp_sdev->queue_depth - 1); scsi_handle_queue_full()

Completed in 134 milliseconds