other versions
- jessie-backports 4.9.88-1+deb9u1~bpo8+1
- stretch 4.9.144-3
SCSI_DEVICE_SET_STAT(9) | SCSI mid layer | SCSI_DEVICE_SET_STAT(9) |
NAME¶
scsi_device_set_state - Take the given device through the device state model.SYNOPSIS¶
int
scsi_device_set_state(struct scsi_device * sdev,
enum scsi_device_state state);
ARGUMENTS¶
sdevscsi device to change the state of.
state
state to change to.
DESCRIPTION¶
Returns zero if unsuccessful or an error if the requested transition is illegal.AUTHORS¶
James Bottomley <James.Bottomley@hansenpartnership.com>Author.
Rob Landley <rob@landley.net>
Author.
COPYRIGHT¶
May 2018 | Kernel Hackers Manual 4.9. |