Searched refs:scsi_device_online (Results 1 – 10 of 10) sorted by relevance
388 online = scsi_device_online(sdev); in scsi_block_when_processing_errors()1443 finish_cmds = !scsi_device_online(scmd->device) || in scsi_eh_test_devices()1530 if (!scsi_device_online(sdev) || in scsi_eh_stu()1595 if (!scsi_device_online(sdev) || in scsi_eh_bus_device_reset()1883 if (!scsi_device_online(scmd->device)) { in scsi_decide_disposition()2124 if (scsi_device_online(sdev) && sdev->was_reset && sdev->locked) { in scsi_restart_operations()2199 if (scsi_device_online(scmd->device) && in scsi_eh_flush_done_q()
1204 if (!scsi_device_online(sdp) || sdp->changed) { in sd_setup_read_write_cmnd()1426 if (!scsi_device_online(sdev)) in sd_open()1596 if (!scsi_device_online(sdp)) { in sd_check_events()1658 if (!scsi_device_online(sdp)) in sd_sync_cache()2024 if (!scsi_device_online(sdev) || in sd_eh_action()3423 if (!scsi_device_online(sdp)) in sd_revalidate_disk()3811 if (!scsi_device_online(sdp)) in sd_start_stop_device()
679 if(result || !scsi_device_online(sdev)) { in spi_dv_device_echo_buffer()727 if(result || !scsi_device_online(sdev)) { in spi_dv_device_compare_inquiry()
374 if (!cd->device || !scsi_device_online(cd->device)) { in sr_init_command()
1790 if (unlikely(!scsi_device_online(sdev))) in scsi_queue_rq()
2501 (int) scsi_device_online(scsidp)); in sg_proc_seq_show_dev()
536 static inline int scsi_device_online(struct scsi_device *sdev) in scsi_device_online() function
1419 if (scsi_device_online(device)) { in aac_handle_aif()1430 if (!scsi_device_online(device)) { in aac_handle_aif()1445 if (!scsi_device_online(device)) in aac_handle_aif()
9299 if (sdp && scsi_device_online(sdp)) in ufshcd_set_dev_pwr_mode()
8970 if (!sdev || !scsi_device_online(sdev)) { in pqi_fail_all_outstanding_requests()