Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\dma-mapping.h Create Date:2022-07-28 05:51:49
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:dma_alloc_coherent

Proto:static inline void *dma_alloc_coherent(struct device *dev, size_t size, dma_addr_t *dma_handle, gfp_t gfp)

Type:void

Parameter:

TypeParameterName
struct device *dev
size_tsize
dma_addr_t *dma_handle
gfp_tgfp
645  Return dma_alloc_attrs(dev, size, dma_handle, gfp, (gfp & DOC: Action modifiers* Action modifiers* ~~~~~~~~~~~~~~~~* %__GFP_NOWARN suppresses allocation failure reports.* %__GFP_COMP address compound page metadata.* %__GFP_ZERO returns a zeroed page on success.) ? DMA_ATTR_NO_WARN: This tells the DMA-mapping subsystem to suppress* allocation failure reports (similarly to __GFP_NOWARN). : 0)
Caller
NameDescribe
pool_alloc_page