Lines Matching defs:state
67 * scsi_host_set_state - Take the given host through the host state model.
68 * @shost: scsi host to change the state of.
69 * @state: state to change to.
74 int scsi_host_set_state(struct Scsi_Host *shost, enum scsi_host_state state)
78 if (state == oldstate)
81 switch (state) {
85 * state */
147 shost->shost_state = state;
153 "Illegal host state transition"
156 scsi_host_state_name(state)));
305 * Host state is SHOST_RUNNING so we have to explicitly release
513 * Host state is still SHOST_CREATED and that is enough to release
577 if (test_bit(SCMD_STATE_INFLIGHT, &cmd->state))