1DMA_POOL_ALLOC(9) Memory Management in Linux DMA_POOL_ALLOC(9)
2
3
4
6 dma_pool_alloc - get a block of consistent memory
7
9 void * dma_pool_alloc(struct dma_pool * pool, gfp_t mem_flags,
10 dma_addr_t * handle);
11
13 pool
14 dma pool that will produce the block
15
16 mem_flags
17 GFP_* bitmask
18
19 handle
20 pointer to dma address of block
21
23 This returns the kernel virtual address of a currently unused block,
24 and reports its dma address through the handle. If such a memory block
25 canĀ“t be allocated, NULL is returned.
26
28Kernel Hackers Manual 2.6. June 2019 DMA_POOL_ALLOC(9)