Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\genalloc.c Create Date:2022-07-28 06:56:55
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:gen_pool_dma_alloc - allocate special memory from the pool for DMA usage*@pool: pool to allocate from*@size: number of bytes to allocate from the pool*@dma: dma-view physical address return value. Use %NULL if unneeded.

Proto:void *gen_pool_dma_alloc(struct gen_pool *pool, size_t size, dma_addr_t *dma)

Type:void

Parameter:

TypeParameterName
struct gen_pool *pool
size_tsize
dma_addr_t *dma
341  Return gen_pool_dma_alloc_algo - allocate special memory from the pool for DMA* usage with the given pool algorithm*@pool: pool to allocate from*@size: number of bytes to allocate from the pool*@dma: DMA-view physical address return value