Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\rdma\ib_verbs.h Create Date:2022-07-28 07:15:22
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:_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

Proto:static inline void *ib_dma_alloc_coherent(struct ib_device *dev, size_t size, dma_addr_t *dma_handle, gfp_t flag)

Type:void

Parameter:

TypeParameterName
struct ib_device *dev
size_tsize
dma_addr_t *dma_handle
gfp_tflag
4142  Return dma_alloc_coherent( Do not access @dma_device directly from ULP nor from HW drivers. , size, dma_handle, flag)