'\" t .\" Title: i2o_block_ioctl .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: May 2018 .\" Manual: Message-based devices .\" Source: Kernel Hackers Manual 3.16.56 .\" Language: English .\" .TH "I2O_BLOCK_IOCTL" "9" "May 2018" "Kernel Hackers Manual 3\&.16\&" "Message-based devices" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" i2o_block_ioctl \- Issue device specific ioctl calls\&. .SH "SYNOPSIS" .HP \w'int\ i2o_block_ioctl('u .BI "int i2o_block_ioctl(struct\ block_device\ *\ " "bdev" ", fmode_t\ " "mode" ", unsigned\ int\ " "cmd" ", unsigned\ long\ " "arg" ");" .SH "ARGUMENTS" .PP \fIbdev\fR .RS 4 block device being opened .RE .PP \fImode\fR .RS 4 file open mode .RE .PP \fIcmd\fR .RS 4 ioctl command .RE .PP \fIarg\fR .RS 4 arg .RE .SH "DESCRIPTION" .PP Handles ioctl request for the block device\&. .PP Return 0 on success or negative error on failure\&. .SH "COPYRIGHT" .br