Searched refs:tmp_sdev (Results 1 – 4 of 4) sorted by relevance
/linux-6.6.21/drivers/scsi/bfa/ |
D | bfad_im.c | 871 struct scsi_device *tmp_sdev; in bfad_ramp_up_qdepth() local 877 shost_for_each_device(tmp_sdev, sdev->host) { in bfad_ramp_up_qdepth() 878 if (bfa_lun_queue_depth > tmp_sdev->queue_depth) { in bfad_ramp_up_qdepth() 879 if (tmp_sdev->id != sdev->id) in bfad_ramp_up_qdepth() 881 scsi_change_queue_depth(tmp_sdev, in bfad_ramp_up_qdepth() 882 tmp_sdev->queue_depth + 1); in bfad_ramp_up_qdepth() 893 struct scsi_device *tmp_sdev; in bfad_handle_qfull() local 897 shost_for_each_device(tmp_sdev, sdev->host) { in bfad_handle_qfull() 898 if (tmp_sdev->id != sdev->id) in bfad_handle_qfull() 900 scsi_track_queue_full(tmp_sdev, tmp_sdev->queue_depth - 1); in bfad_handle_qfull()
|
/linux-6.6.21/drivers/scsi/ |
D | scsi_error.c | 729 struct scsi_device *tmp_sdev; in scsi_handle_queue_ramp_up() local 747 shost_for_each_device(tmp_sdev, sdev->host) { in scsi_handle_queue_ramp_up() 748 if (tmp_sdev->channel != sdev->channel || in scsi_handle_queue_ramp_up() 749 tmp_sdev->id != sdev->id || in scsi_handle_queue_ramp_up() 750 tmp_sdev->queue_depth == sdev->max_queue_depth) in scsi_handle_queue_ramp_up() 753 scsi_change_queue_depth(tmp_sdev, tmp_sdev->queue_depth + 1); in scsi_handle_queue_ramp_up() 761 struct scsi_device *tmp_sdev; in scsi_handle_queue_full() local 766 shost_for_each_device(tmp_sdev, sdev->host) { in scsi_handle_queue_full() 767 if (tmp_sdev->channel != sdev->channel || in scsi_handle_queue_full() 768 tmp_sdev->id != sdev->id) in scsi_handle_queue_full() [all …]
|
D | ses.c | 668 struct scsi_device *tmp_sdev; in ses_intf_add() local 799 shost_for_each_device(tmp_sdev, sdev->host) { in ses_intf_add() 800 if (tmp_sdev->lun != 0 || scsi_device_enclosure(tmp_sdev)) in ses_intf_add() 802 ses_match_to_enclosure(edev, tmp_sdev, 0); in ses_intf_add()
|
/linux-6.6.21/drivers/s390/scsi/ |
D | zfcp_scsi.c | 348 struct scsi_device *sdev = NULL, *tmp_sdev; in zfcp_scsi_eh_target_reset_handler() local 353 shost_for_each_device(tmp_sdev, shost) { in zfcp_scsi_eh_target_reset_handler() 354 if (tmp_sdev->id == starget->id) { in zfcp_scsi_eh_target_reset_handler() 355 sdev = tmp_sdev; in zfcp_scsi_eh_target_reset_handler() 369 scsi_device_put(tmp_sdev); in zfcp_scsi_eh_target_reset_handler()
|