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:14
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:iommu_full

Proto:static void iommu_full(struct device *dev, size_t size, int dir)

Type:void

Parameter:

TypeParameterName
struct device *dev
size_tsize
intdir
179  dev_err(dev, "PCI-DMA: Out of IOMMU space for %lu bytes\n", size)
Caller
NameDescribe
dma_map_areaMap a single continuous physical area into the IOMMU.* Caller needs to check if the iommu is needed and flush.
gart_map_sgDMA map all entries in a scatterlist.* Merge chunks that have page aligned sizes into a continuous mapping.