.TH "pci_pool_alloc" 9 "pci_pool_alloc" "25 May 1998" "Kernel Hacker's Manual" LINUX .SH NAME pci_pool_alloc \- get a block of consistent memory .SH SYNOPSIS .B "void *" pci_pool_alloc .BI "(struct pci_pool *" pool "," .BI "int " mem_flags "," .BI "dma_addr_t *" handle ");" .SH ARGUMENTS .IP "pool" 12 pci pool that will produce the block .IP "mem_flags" 12 SLAB_KERNEL or SLAB_ATOMIC .IP "handle" 12 pointer to dma address of block .SH "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.