1. NAME▲
dma_pool_alloc - get a block of consistent memory
2. SYNOPSIS ▲
void * dma_pool_alloc(struct dma_pool * pool , gfp_t mem_flags , dma_addr_t * handle );
3. ARGUMENTS ▲
pool
dma pool that will produce the block
mem_flags
GFP_* bitmask
handle
pointer to dma address of block
4. 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 canAqt be allocated, NULL is returned.
5. COPYRIGHT ▲