other versions
- stretch 4.9.168-1
SCSI_IOCTL(9) | SCSI mid layer | SCSI_IOCTL(9) |
NAME¶
scsi_ioctl - Dispatch ioctl to scsi deviceSYNOPSIS¶
int scsi_ioctl(struct scsi_device * sdev, int cmd, void __user * arg);
ARGUMENTS¶
sdevscsi device receiving ioctl
cmd
which ioctl is it
arg
data associated with ioctl
DESCRIPTION¶
The scsi_ioctl function differs from most ioctls in that it does not take a major/minor number as the dev field. Rather, it takes a pointer to a struct scsi_device.AUTHORS¶
James Bottomley <James.Bottomley@hansenpartnership.com>Author.
Rob Landley <rob@landley.net>
Author.
COPYRIGHT¶
April 2019 | Kernel Hackers Manual 4.9. |