Home
last modified time | relevance | path

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

/linux-4.4.14/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.4.14/drivers/scsi/
Dscsi_error.c609 struct scsi_device *tmp_sdev; in scsi_handle_queue_ramp_up() local
627 shost_for_each_device(tmp_sdev, sdev->host) { in scsi_handle_queue_ramp_up()
628 if (tmp_sdev->channel != sdev->channel || in scsi_handle_queue_ramp_up()
629 tmp_sdev->id != sdev->id || in scsi_handle_queue_ramp_up()
630 tmp_sdev->queue_depth == sdev->max_queue_depth) in scsi_handle_queue_ramp_up()
633 scsi_change_queue_depth(tmp_sdev, tmp_sdev->queue_depth + 1); in scsi_handle_queue_ramp_up()
641 struct scsi_device *tmp_sdev; in scsi_handle_queue_full() local
646 shost_for_each_device(tmp_sdev, sdev->host) { in scsi_handle_queue_full()
647 if (tmp_sdev->channel != sdev->channel || in scsi_handle_queue_full()
648 tmp_sdev->id != sdev->id) in scsi_handle_queue_full()
[all …]
Dses.c618 struct scsi_device *tmp_sdev; in ses_intf_add() local
742 shost_for_each_device(tmp_sdev, sdev->host) { in ses_intf_add()
743 if (tmp_sdev->lun != 0 || scsi_device_enclosure(tmp_sdev)) in ses_intf_add()
745 ses_match_to_enclosure(edev, tmp_sdev); in ses_intf_add()