---
name: "i2o_block_device_alloc"
section: "9"
platform: "linux"
package: "linux-manual-3.16"
version: "3.16.56-1+deb8u1"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/i2o_block_device_alloc"
---

# i2o\_block\_device\_alloc(9)

Allocate memory for a I2O Block device

## NAME

i2o\_block\_device\_alloc - Allocate memory for a I2O Block device

## SYNOPSIS

**struct i2o\_block\_device \* i2o\_block\_device\_alloc(***void***);**

## ARGUMENTS

*void*

no arguments

## DESCRIPTION

Allocate memory for the i2o\_block\_device struct, gendisk and request queue and initialize them as far as no additional information is needed.

Returns a pointer to the allocated I2O Block device on success or a negative error code on failure.

## COPYRIGHT
