Scroll to navigation

SCSI_NONBLOCKABLE_IO(9) SCSI mid layer SCSI_NONBLOCKABLE_IO(9)

NAME

scsi_nonblockable_ioctl - Handle SG_SCSI_RESET

SYNOPSIS

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

ARGUMENTS

sdev

scsi device receiving ioctl

cmd

Must be SC_SCSI_RESET

arg

pointer to int containing SG_SCSI_RESET_{DEVICE,BUS,HOST}

ndelay

file mode O_NDELAY flag

AUTHORS

James Bottomley <James.Bottomley@hansenpartnership.com>

Author.

Rob Landley <rob@landley.net>

Author.

COPYRIGHT

May 2024 Kernel Hackers Manual 2.6.