.\" 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 "PCI_POOL_ALLOC" "" "06 October 2005" "" ""
.SH NAME
pci_pool_alloc \- get a block of consistent memory
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
void * pci_pool_alloc (struct pci_pool * \fIpool\fB, int \fImem_flags\fB, dma_addr_t * \fIhandle\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIpool\fB\fR
pci pool that will produce the block
.TP
\fB\fImem_flags\fB\fR
SLAB_KERNEL or SLAB_ATOMIC
.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.