i2o_block_ioctl
Prev | I2O message devices | Next

## Name

i2o_block_ioctl — Issue device specific ioctl calls.

## Synopsis

`int i2o_block_ioctl (` | struct block_device * bdev,
| fmode_t mode,
| unsigned int cmd,
| unsigned long arg`)`;

## Arguments

`bdev`

  block device being opened

`mode`

  file open mode

`cmd`

  ioctl command

`arg`

  arg

## Description

Handles ioctl request for the block device.

Return 0 on success or negative error on failure.

Prev | Up | Next
i2o_block_release | Home | i2o_block_check_events