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:nonforced_iommu

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

Type:int

Parameter:

TypeParameterName
struct device *dev
unsigned longaddr
size_tsize
194  Return Not dma_capable(dev, addr, size, true)
Caller
NameDescribe
dma_map_areaMap a single continuous physical area into the IOMMU.* Caller needs to check if the iommu is needed and flush.
dma_map_sg_nonforceFallback for dma_map_sg in case of overflow