函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\dma\direct.c Create Date:2022-07-27 11:33:04
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:dma_direct_free

函数原型:void dma_direct_free(struct device *dev, size_t size, void *cpu_addr, dma_addr_t dma_addr, unsigned long attrs)

返回类型:void

参数:

类型参数名称
struct device *dev
size_tsize
void *cpu_addr
dma_addr_tdma_addr
unsigned longattrs
250  如果非IS_ENABLED(CONFIG_FOO) evaluates to 1 if CONFIG_FOO is set to 'y' or 'm',* 0 otherwise.(CONFIG_ARCH_HAS_UNCACHED_SEGMENT)且非IS_ENABLED(CONFIG_FOO) evaluates to 1 if CONFIG_FOO is set to 'y' or 'm',* 0 otherwise.(CONFIG_DMA_DIRECT_REMAP)且Check if an allocation needs to be marked uncached to be coherent.arch_dma_free(dev, size, cpu_addr, dma_addr, attrs)
254  否则dma_direct_free_pages(dev, size, cpu_addr, dma_addr, attrs)
调用者
名称描述
dma_free_attrs