Searched refs:scsi_host_set_state (Results 1 – 4 of 4) sorted by relevance
/linux-2.6.39/drivers/scsi/ |
D | hosts.c | 66 int scsi_host_set_state(struct Scsi_Host *shost, enum scsi_host_state state) in scsi_host_set_state() function 151 EXPORT_SYMBOL(scsi_host_set_state); 163 if (scsi_host_set_state(shost, SHOST_CANCEL)) in scsi_remove_host() 164 if (scsi_host_set_state(shost, SHOST_CANCEL_RECOVERY)) { in scsi_remove_host() 177 if (scsi_host_set_state(shost, SHOST_DEL)) in scsi_remove_host() 178 BUG_ON(scsi_host_set_state(shost, SHOST_DEL_RECOVERY)); in scsi_remove_host() 231 scsi_host_set_state(shost, SHOST_RUNNING); in scsi_add_host_with_dma()
|
D | scsi_error.c | 76 if (scsi_host_set_state(shost, SHOST_RECOVERY) == 0 || in scsi_schedule_eh() 77 scsi_host_set_state(shost, SHOST_CANCEL_RECOVERY) == 0) { in scsi_schedule_eh() 104 if (scsi_host_set_state(shost, SHOST_RECOVERY)) in scsi_eh_scmd_add() 105 if (scsi_host_set_state(shost, SHOST_CANCEL_RECOVERY)) in scsi_eh_scmd_add() 1601 if (scsi_host_set_state(shost, SHOST_RUNNING)) in scsi_restart_operations() 1602 if (scsi_host_set_state(shost, SHOST_CANCEL)) in scsi_restart_operations() 1603 BUG_ON(scsi_host_set_state(shost, SHOST_DEL)); in scsi_restart_operations()
|
D | scsi_sysfs.c | 182 if (scsi_host_set_state(shost, state)) in store_shost_state()
|
/linux-2.6.39/include/scsi/ |
D | scsi_host.h | 902 extern int scsi_host_set_state(struct Scsi_Host *, enum scsi_host_state);
|