1SCSI_HOST_SET_STATE(9) SCSI mid layer SCSI_HOST_SET_STATE(9)
2
3
4
6 scsi_host_set_state - Take the given host through the host state model.
7
9 int scsi_host_set_state(struct Scsi_Host * shost,
10 enum scsi_host_state state);
11
13 shost
14 scsi host to change the state of.
15
16 state
17 state to change to.
18
20 Returns zero if unsuccessful or an error if the requested transition is
21 illegal.
22
24 James Bottomley <James.Bottomley@hansenpartnership.com>
25 Author.
26
27 Rob Landley <rob@landley.net>
28 Author.
29
31Kernel Hackers Manual 2.6. June 2019 SCSI_HOST_SET_STATE(9)