Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/scsi/bfa/
Dbfad_im.c859 struct scsi_device *tmp_sdev; in bfad_ramp_up_qdepth() local
865 shost_for_each_device(tmp_sdev, sdev->host) { in bfad_ramp_up_qdepth()
866 if (bfa_lun_queue_depth > tmp_sdev->queue_depth) { in bfad_ramp_up_qdepth()
867 if (tmp_sdev->id != sdev->id) in bfad_ramp_up_qdepth()
869 scsi_change_queue_depth(tmp_sdev, in bfad_ramp_up_qdepth()
870 tmp_sdev->queue_depth + 1); in bfad_ramp_up_qdepth()
881 struct scsi_device *tmp_sdev; in bfad_handle_qfull() local
885 shost_for_each_device(tmp_sdev, sdev->host) { in bfad_handle_qfull()
886 if (tmp_sdev->id != sdev->id) in bfad_handle_qfull()
888 scsi_track_queue_full(tmp_sdev, tmp_sdev->queue_depth - 1); in bfad_handle_qfull()
/linux-4.1.27/drivers/scsi/
Dscsi_error.c604 struct scsi_device *tmp_sdev; in scsi_handle_queue_ramp_up() local
622 shost_for_each_device(tmp_sdev, sdev->host) { in scsi_handle_queue_ramp_up()
623 if (tmp_sdev->channel != sdev->channel || in scsi_handle_queue_ramp_up()
624 tmp_sdev->id != sdev->id || in scsi_handle_queue_ramp_up()
625 tmp_sdev->queue_depth == sdev->max_queue_depth) in scsi_handle_queue_ramp_up()
628 scsi_change_queue_depth(tmp_sdev, tmp_sdev->queue_depth + 1); in scsi_handle_queue_ramp_up()
636 struct scsi_device *tmp_sdev; in scsi_handle_queue_full() local
641 shost_for_each_device(tmp_sdev, sdev->host) { in scsi_handle_queue_full()
642 if (tmp_sdev->channel != sdev->channel || in scsi_handle_queue_full()
643 tmp_sdev->id != sdev->id) in scsi_handle_queue_full()
[all …]
Dses.c592 struct scsi_device *tmp_sdev; in ses_intf_add() local
716 shost_for_each_device(tmp_sdev, sdev->host) { in ses_intf_add()
717 if (tmp_sdev->lun != 0 || scsi_device_enclosure(tmp_sdev)) in ses_intf_add()
719 ses_match_to_enclosure(edev, tmp_sdev); in ses_intf_add()