scsi_nonblockable_ioctl

Langue: en

Autres versions - même langue

Version: June 2009 (debian - 07/07/09)

Section: 9 (Appels noyau Linux)

NAME

scsi_nonblockable_ioctl - Handle SG_SCSI_RESET

SYNOPSIS

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

ARGUMENTS

sdev

scsi device receiving ioctl

cmd

Must be SC_SCSI_RESET

arg

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

filp

either NULL or a struct file which must have the O_NONBLOCK flag.

AUTHORS

James Bottomley <James.Bottomley@hansenpartnership.com>

Author.

Rob Landley <rob@landley.net>

Author.