函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\rdma\ib_verbs.h Create Date:2022-07-27 08:13:45
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:_dma_alloc_coherent - Allocate memory and map it for DMA*@dev: The device for which the DMA address is requested*@size: The size of the region to allocate in bytes*@dma_handle: A pointer for returning the DMA address of the region*@flag: memory allocator

函数原型:static inline void *ib_dma_alloc_coherent(struct ib_device *dev, size_t size, dma_addr_t *dma_handle, gfp_t flag)

返回类型:void

参数:

类型参数名称
struct ib_device *dev
size_tsize
dma_addr_t *dma_handle
gfp_tflag
4142  返回:dma_alloc_coherent( Do not access @dma_device directly from ULP nor from HW drivers. , size, dma_handle, flag)