1SCSI_NONBLOCKABLE_IO(9) SCSI mid layer SCSI_NONBLOCKABLE_IO(9)
2
3
4
6 scsi_nonblockable_ioctl - Handle SG_SCSI_RESET
7
9 int scsi_nonblockable_ioctl(struct scsi_device * sdev, int cmd,
10 void __user * arg, int ndelay);
11
13 sdev
14 scsi device receiving ioctl
15
16 cmd
17 Must be SC_SCSI_RESET
18
19 arg
20 pointer to int containing SG_SCSI_RESET_{DEVICE,BUS,HOST}
21
22 ndelay
23 file mode O_NDELAY flag
24
26 James Bottomley <James.Bottomley@hansenpartnership.com>
27 Author.
28
29 Rob Landley <rob@landley.net>
30 Author.
31
33Kernel Hackers Manual 3.10 June 2019 SCSI_NONBLOCKABLE_IO(9)