Home
last modified time | relevance | path

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

/linux-6.15/drivers/scsi/bfa/
H A Dbfad_im.c870 struct scsi_device *tmp_sdev; in bfad_ramp_up_qdepth() local
876 shost_for_each_device(tmp_sdev, sdev->host) { in bfad_ramp_up_qdepth()
877 if (bfa_lun_queue_depth > tmp_sdev->queue_depth) { in bfad_ramp_up_qdepth()
878 if (tmp_sdev->id != sdev->id) in bfad_ramp_up_qdepth()
880 scsi_change_queue_depth(tmp_sdev, in bfad_ramp_up_qdepth()
881 tmp_sdev->queue_depth + 1); in bfad_ramp_up_qdepth()
892 struct scsi_device *tmp_sdev; in bfad_handle_qfull() local
896 shost_for_each_device(tmp_sdev, sdev->host) { in bfad_handle_qfull()
897 if (tmp_sdev->id != sdev->id) in bfad_handle_qfull()
899 scsi_track_queue_full(tmp_sdev, tmp_sdev->queue_depth - 1); in bfad_handle_qfull()
/linux-6.15/drivers/scsi/
H A Dscsi_error.c749 struct scsi_device *tmp_sdev; in scsi_handle_queue_ramp_up() local
767 shost_for_each_device(tmp_sdev, sdev->host) { in scsi_handle_queue_ramp_up()
768 if (tmp_sdev->channel != sdev->channel || in scsi_handle_queue_ramp_up()
769 tmp_sdev->id != sdev->id || in scsi_handle_queue_ramp_up()
770 tmp_sdev->queue_depth == sdev->max_queue_depth) in scsi_handle_queue_ramp_up()
773 scsi_change_queue_depth(tmp_sdev, tmp_sdev->queue_depth + 1); in scsi_handle_queue_ramp_up()
781 struct scsi_device *tmp_sdev; in scsi_handle_queue_full() local
786 shost_for_each_device(tmp_sdev, sdev->host) { in scsi_handle_queue_full()
787 if (tmp_sdev->channel != sdev->channel || in scsi_handle_queue_full()
788 tmp_sdev->id != sdev->id) in scsi_handle_queue_full()
[all …]
H A Dses.c694 struct scsi_device *tmp_sdev; in ses_intf_add() local
825 shost_for_each_device(tmp_sdev, sdev->host) { in ses_intf_add()
826 if (tmp_sdev->lun != 0 || scsi_device_enclosure(tmp_sdev)) in ses_intf_add()
828 ses_match_to_enclosure(edev, tmp_sdev, 0); in ses_intf_add()
/linux-6.15/drivers/s390/scsi/
H A Dzfcp_scsi.c349 struct scsi_device *sdev = NULL, *tmp_sdev; in zfcp_scsi_eh_target_reset_handler() local
354 shost_for_each_device(tmp_sdev, shost) { in zfcp_scsi_eh_target_reset_handler()
355 if (tmp_sdev->id == starget->id) { in zfcp_scsi_eh_target_reset_handler()
356 sdev = tmp_sdev; in zfcp_scsi_eh_target_reset_handler()
370 scsi_device_put(tmp_sdev); in zfcp_scsi_eh_target_reset_handler()