Searched refs:scsi_host_set_state (Results 1 – 4 of 4) sorted by relevance
/linux-6.6.21/drivers/scsi/ |
D | hosts.c | 75 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()
|
D | scsi_error.c | 88 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()
|
D | scsi_sysfs.c | 217 if (scsi_host_set_state(shost, state)) in store_shost_state()
|
/linux-6.6.21/include/scsi/ |
D | scsi_host.h | 899 extern int scsi_host_set_state(struct Scsi_Host *, enum scsi_host_state);
|