函数逻辑报告

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

函数名称:dma_free_coherent

函数原型:static inline void dma_free_coherent(struct device *dev, size_t size, void *cpu_addr, dma_addr_t dma_handle)

返回类型:void

参数:

类型参数名称
struct device *dev
size_tsize
void *cpu_addr
dma_addr_tdma_handle
652  返回:dma_free_attrs(dev, size, cpu_addr, dma_handle, 0)
调用者
名称描述
dmam_free_coherentdmam_free_coherent - Managed dma_free_coherent()*@dev: Device to free coherent memory for*@size: Size of allocation*@vaddr: Virtual address of the memory to free*@dma_handle: DMA handle of the memory to free* Managed dma_free_coherent().
pool_free_page
pci_free_consistent
ib_dma_free_coherent_dma_free_coherent - Free memory allocated by ib_dma_alloc_coherent()*@dev: The device for which the DMA addresses were allocated*@size: The size of the region*@cpu_addr: the address returned by ib_dma_alloc_coherent()*@dma_handle: the DMA address