scsi_ioctl(9)

scsi_ioctl9

Dispatch ioctl to scsi device

Usage

int scsi_ioctl(struct scsi_device * sdev, int cmd, void __user * arg);

Arguments

sdev

scsi device receiving ioctl

cmd

which ioctl is it

arg

data associated with ioctl

Overview

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.

Releases

5 releases since Debian 5.0 (Lenny); the text changed 4 times.

  1. 5.0
  2. 6.0
  3. 7
  4. 8
  5. 9

Authors

James Bottomley <[email protected]>

Author.

Rob Landley <[email protected]>

Author.

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.