1DMAM_POOL_CREATE(9) Memory Management in Linux DMAM_POOL_CREATE(9)
2
3
4
6 dmam_pool_create - Managed dma_pool_create
7
9 struct dma_pool * dmam_pool_create(const char * name,
10 struct device * dev, size_t size,
11 size_t align, size_t allocation);
12
14 name
15 name of pool, for diagnostics
16
17 dev
18 device that will be doing the DMA
19
20 size
21 size of the blocks in this pool.
22
23 align
24 alignment requirement for blocks; must be a power of two
25
26 allocation
27 returned blocks won´t cross this boundary (or zero)
28
30 Managed dma_pool_create. DMA pool created with this function is
31 automatically destroyed on driver detach.
32
34Kernel Hackers Manual 2.6. June 2019 DMAM_POOL_CREATE(9)