1SCSI_DEVICE_SET_STAT(9)         SCSI mid layer         SCSI_DEVICE_SET_STAT(9)
2
3
4

NAME

6       scsi_device_set_state - Take the given device through the device state
7       model.
8

SYNOPSIS

10       int scsi_device_set_state(struct scsi_device * sdev,
11                                 enum scsi_device_state state);
12

ARGUMENTS

14       sdev
15           scsi device to change the state of.
16
17       state
18           state to change to.
19

DESCRIPTION

21       Returns zero if unsuccessful or an error if the requested transition is
22       illegal.
23

AUTHORS

25       James Bottomley <James.Bottomley@hansenpartnership.com>
26           Author.
27
28       Rob Landley <rob@landley.net>
29           Author.
30
32Kernel Hackers Manual 3.10         June 2019           SCSI_DEVICE_SET_STAT(9)
Impressum