pci_pool_alloc

Section: Kernel Hacker's Manual (9)
Updated: pci_pool_alloc
Index Return to Main Contents
 

NAME

pci_pool_alloc - get a block of consistent memory  

SYNOPSIS

void * pci_pool_alloc (struct pci_pool *pool, int mem_flags, dma_addr_t *handle);  

ARGUMENTS

pool

 pci pool that will produce the block
mem_flags

 SLAB_KERNEL or SLAB_ATOMIC
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: 03:15:45 GMT, June 12, 2005