Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\amd_gart_64.c Create Date:2022-07-28 08:52:15
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:need_iommu

Proto:static inline int need_iommu(struct device *dev, unsigned long addr, size_t size)

Type:int

Parameter:

TypeParameterName
struct device *dev
unsigned longaddr
size_tsize
188  Return force_iommu || Not dma_capable(dev, addr, size, true)
Caller
NameDescribe
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.