.\" This manpage has been automatically generated by docbook2man
.\" from a DocBook document. This tool can be found at:
.\"
.\" Please send any bug reports, improvements, comments, patches,
.\" etc. to Steve Cheng .
.TH "DMA_POOL_ALLOC" "9" "09 October 2005" "" ""
.SH NAME
dma_pool_alloc \- get a block of consistent memory
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
void * dma_pool_alloc (struct dma_pool * \fIpool\fB, int \fImem_flags\fB, dma_addr_t * \fIhandle\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIpool\fB\fR
dma pool that will produce the block
.TP
\fB\fImem_flags\fB\fR
GFP_* bitmask
.TP
\fB\fIhandle\fB\fR
pointer to dma address of block
.SH "DESCRIPTION"
.PP
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.