1I2O_BLOCK_IOCTL(9) Message-based devices I2O_BLOCK_IOCTL(9)
2
3
4
6 i2o_block_ioctl - Issue device specific ioctl calls.
7
9 int i2o_block_ioctl(struct block_device * bdev, fmode_t mode,
10 unsigned int cmd, unsigned long arg);
11
13 bdev
14 block device being opened
15
16 mode
17 file open mode
18
19 cmd
20 ioctl command
21
22 arg
23 arg
24
26 Handles ioctl request for the block device.
27
28 Return 0 on success or negative error on failure.
29
31Kernel Hackers Manual 2.6. November 2011 I2O_BLOCK_IOCTL(9)