Searched refs:scsi_host_set_state (Results 1 - 4 of 4) sorted by relevance
/linux-4.4.14/drivers/scsi/ |
H A D | hosts.c | 59 * scsi_host_set_state - Take the given host through the host state model. 66 int scsi_host_set_state(struct Scsi_Host *shost, enum scsi_host_state state) scsi_host_set_state() function 151 EXPORT_SYMBOL(scsi_host_set_state); variable 163 if (scsi_host_set_state(shost, SHOST_CANCEL)) scsi_remove_host() 164 if (scsi_host_set_state(shost, SHOST_CANCEL_RECOVERY)) { scsi_remove_host() 178 if (scsi_host_set_state(shost, SHOST_DEL)) scsi_remove_host() 179 BUG_ON(scsi_host_set_state(shost, SHOST_DEL_RECOVERY)); scsi_remove_host() 257 scsi_host_set_state(shost, SHOST_RUNNING); scsi_add_host_with_dma()
|
H A D | scsi_error.c | 85 if (scsi_host_set_state(shost, SHOST_RECOVERY) == 0 || scsi_schedule_eh() 86 scsi_host_set_state(shost, SHOST_CANCEL_RECOVERY) == 0) { scsi_schedule_eh() 241 if (scsi_host_set_state(shost, SHOST_RECOVERY)) scsi_eh_scmd_add() 242 if (scsi_host_set_state(shost, SHOST_CANCEL_RECOVERY)) scsi_eh_scmd_add() 2032 if (scsi_host_set_state(shost, SHOST_RUNNING)) 2033 if (scsi_host_set_state(shost, SHOST_CANCEL)) 2034 BUG_ON(scsi_host_set_state(shost, SHOST_DEL)); 2057 if (scsi_host_set_state(shost, SHOST_RECOVERY)) 2058 WARN_ON(scsi_host_set_state(shost, SHOST_CANCEL_RECOVERY));
|
H A D | scsi_sysfs.c | 183 if (scsi_host_set_state(shost, state)) store_shost_state()
|
/linux-4.4.14/include/scsi/ |
H A D | scsi_host.h | 525 * scsi_host_set_state() 932 extern int scsi_host_set_state(struct Scsi_Host *, enum scsi_host_state);
|
Completed in 377 milliseconds