Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\dma\coherent.c Create Date:2022-07-28 10:33:53
Last Modify:2020-03-17 14:54:14 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:dma_release_from_dev_coherent() - free memory to device coherent memory pool*@dev: device from which the memory was allocated*@order: the order of pages allocated*@vaddr: virtual address of allocated pages* This checks whether the memory was allocated

Proto:int dma_release_from_dev_coherent(struct device *dev, int order, void *vaddr)

Type:int

Parameter:

TypeParameterName
struct device *dev
intorder
void *vaddr
223  mem = dev_get_coherent_memory(dev)
225  Return __dma_release_from_coherent(mem, order, vaddr)
Caller
NameDescribe
dma_free_attrs