i2o_dma_alloc(9)

i2o_dma_alloc9

Allocate dma memory

Usage

int i2o_dma_alloc(struct device * dev, struct i2o_dma * addr, size_t len, gfp_t gfp_mask);

Arguments

dev

struct device pointer to the PCI device of the I2O controller

addr

i2o_dma struct which should get the DMA buffer

len

length of the new DMA memory

gfp_mask

GFP mask

Overview

Allocate a coherent DMA memory and write the pointers into addr.

Returns 0 on success or -ENOMEM on failure.

Releases

2 releases since Debian 4.0 (Etch); the text changed 1 time.

  1. 4.0
  2. 5.0

From linux-manual-2.6.26 2.6.26-29 in Debian 5.0 (Lenny). Parsed by carta from the page's man source.