函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\dma-mapping.h Create Date:2022-07-27 06:51:44
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:dmam_alloc_coherent

函数原型:static inline void *dmam_alloc_coherent(struct device *dev, size_t size, dma_addr_t *dma_handle, gfp_t gfp)

返回类型:void

参数:

类型参数名称
struct device *dev
size_tsize
dma_addr_t *dma_handle
gfp_tgfp
774  返回:dmam_alloc_attrs - Managed dma_alloc_attrs()*@dev: Device to allocate non_coherent memory for*@size: Size of allocation*@dma_handle: Out argument for allocated DMA handle*@gfp: Allocation flags*@attrs: Flags in the DMA_ATTR_* namespace.