---
name: "i2o_pci_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_pci_alloc"
---

# i2o\_pci\_alloc(9)

Allocate DMA memory, map IO memory for I2O controller

## NAME

i2o\_pci\_alloc - Allocate DMA memory, map IO memory for I2O controller

## SYNOPSIS

**int i2o\_pci\_alloc(struct i2o\_controller \*** *c***);**

## ARGUMENTS

*c*

I2O controller

## DESCRIPTION

Allocate DMA memory for a PCI (or in theory AGP) I2O controller. All IO mappings are also done here. If MTRR is enabled, also do add memory regions here.

Returns 0 on success or negative error code on failure.

## COPYRIGHT
