1SCSI_IOCTL(9) SCSI mid layer SCSI_IOCTL(9)
2
3
4
6 scsi_ioctl - Dispatch ioctl to scsi device
7
9 int scsi_ioctl(struct scsi_device * sdev, int cmd, void __user * arg);
10
12 sdev
13 scsi device receiving ioctl
14
15 cmd
16 which ioctl is it
17
18 arg
19 data associated with ioctl
20
22 The scsi_ioctl function differs from most ioctls in that it does not
23 take a major/minor number as the dev field. Rather, it takes a pointer
24 to a struct scsi_device.
25
27 James Bottomley <James.Bottomley@hansenpartnership.com>
28 Author.
29
30 Rob Landley <rob@landley.net>
31 Author.
32
34Kernel Hackers Manual 3.10 June 2019 SCSI_IOCTL(9)