Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/scsi/
Dhosts.c75 int scsi_host_set_state(struct Scsi_Host *shost, enum scsi_host_state state) in scsi_host_set_state() function
171 if (scsi_host_set_state(shost, SHOST_CANCEL)) in scsi_remove_host()
172 if (scsi_host_set_state(shost, SHOST_CANCEL_RECOVERY)) { in scsi_remove_host()
196 if (scsi_host_set_state(shost, SHOST_DEL)) in scsi_remove_host()
197 BUG_ON(scsi_host_set_state(shost, SHOST_DEL_RECOVERY)); in scsi_remove_host()
275 scsi_host_set_state(shost, SHOST_RUNNING); in scsi_add_host_with_dma()
Dscsi_error.c88 if (scsi_host_set_state(shost, SHOST_RECOVERY) == 0 || in scsi_schedule_eh()
89 scsi_host_set_state(shost, SHOST_CANCEL_RECOVERY) == 0) { in scsi_schedule_eh()
307 if (scsi_host_set_state(shost, SHOST_RECOVERY)) { in scsi_eh_scmd_add()
308 ret = scsi_host_set_state(shost, SHOST_CANCEL_RECOVERY); in scsi_eh_scmd_add()
2141 if (scsi_host_set_state(shost, SHOST_RUNNING)) in scsi_restart_operations()
2142 if (scsi_host_set_state(shost, SHOST_CANCEL)) in scsi_restart_operations()
2143 BUG_ON(scsi_host_set_state(shost, SHOST_DEL)); in scsi_restart_operations()
2166 if (scsi_host_set_state(shost, SHOST_RECOVERY)) in scsi_restart_operations()
2167 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()
/linux-6.6.21/include/scsi/
Dscsi_host.h899 extern int scsi_host_set_state(struct Scsi_Host *, enum scsi_host_state);