函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\amd_gart_64.c Create Date:2022-07-27 09:51:34
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:need_iommu

函数原型:static inline int need_iommu(struct device *dev, unsigned long addr, size_t size)

返回类型:int

参数:

类型参数名称
struct device *dev
unsigned longaddr
size_tsize
188  返回:force_iommu或非dma_capable(dev, addr, size, true)
调用者
名称描述
gart_map_pageMap a single area into the IOMMU
gart_map_sgDMA map all entries in a scatterlist.* Merge chunks that have page aligned sizes into a continuous mapping.