Home
last modified time | relevance | path

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

/drivers/scsi/
Dhosts.c74 int scsi_host_set_state(struct Scsi_Host *shost, enum scsi_host_state state) in scsi_host_set_state() function
170 if (scsi_host_set_state(shost, SHOST_CANCEL)) in scsi_remove_host()
171 if (scsi_host_set_state(shost, SHOST_CANCEL_RECOVERY)) { in scsi_remove_host()
186 if (scsi_host_set_state(shost, SHOST_DEL)) in scsi_remove_host()
187 BUG_ON(scsi_host_set_state(shost, SHOST_DEL_RECOVERY)); in scsi_remove_host()
257 scsi_host_set_state(shost, SHOST_RUNNING); in scsi_add_host_with_dma()
Dscsi_error.c91 if (scsi_host_set_state(shost, SHOST_RECOVERY) == 0 || in scsi_schedule_eh()
92 scsi_host_set_state(shost, SHOST_CANCEL_RECOVERY) == 0) { in scsi_schedule_eh()
304 if (scsi_host_set_state(shost, SHOST_RECOVERY)) { in scsi_eh_scmd_add()
305 ret = scsi_host_set_state(shost, SHOST_CANCEL_RECOVERY); in scsi_eh_scmd_add()
2102 if (scsi_host_set_state(shost, SHOST_RUNNING)) in scsi_restart_operations()
2103 if (scsi_host_set_state(shost, SHOST_CANCEL)) in scsi_restart_operations()
2104 BUG_ON(scsi_host_set_state(shost, SHOST_DEL)); in scsi_restart_operations()
2127 if (scsi_host_set_state(shost, SHOST_RECOVERY)) in scsi_restart_operations()
2128 WARN_ON(scsi_host_set_state(shost, SHOST_CANCEL_RECOVERY)); in scsi_restart_operations()
Dscsi_sysfs.c217 if (scsi_host_set_state(shost, state)) in store_shost_state()