DMA_POOL_ALLOC

Section: (9)
Updated: 09 October 2005
Index Return to Main Contents

 

NAME

dma_pool_alloc - get a block of consistent memory  

SYNOPSIS

"SYNOPSIS"

void * dma_pool_alloc (struct dma_pool * pool, int mem_flags, dma_addr_t * handle);  

ARGUMENTS

pool
dma pool that will produce the block
mem_flags
GFP_* bitmask
handle
pointer to dma address of block
 

DESCRIPTION

This returns the kernel virtual address of a currently unused block, and reports its dma address through the handle. If such a memory block can't be allocated, null is returned.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION

This document was created by man2html, using the manual pages.
Time: 00:02:03 GMT, October 09, 2005