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.c90 if (scsi_host_set_state(shost, SHOST_RECOVERY) == 0 || in scsi_schedule_eh()
91 scsi_host_set_state(shost, SHOST_CANCEL_RECOVERY) == 0) { in scsi_schedule_eh()
303 if (scsi_host_set_state(shost, SHOST_RECOVERY)) { in scsi_eh_scmd_add()
304 ret = scsi_host_set_state(shost, SHOST_CANCEL_RECOVERY); in scsi_eh_scmd_add()
2079 if (scsi_host_set_state(shost, SHOST_RUNNING)) in scsi_restart_operations()
2080 if (scsi_host_set_state(shost, SHOST_CANCEL)) in scsi_restart_operations()
2081 BUG_ON(scsi_host_set_state(shost, SHOST_DEL)); in scsi_restart_operations()
2104 if (scsi_host_set_state(shost, SHOST_RECOVERY)) in scsi_restart_operations()
2105 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()