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

Name:Wrapper for pci_unmap_single working with scatterlists.

Proto:static void gart_unmap_sg(struct device *dev, struct scatterlist *sg, int nents, enum dma_data_direction dir, unsigned long attrs)

Type:void

Parameter:

TypeParameterName
struct device *dev
struct scatterlist *sg
intnents
enum dma_data_directiondir
unsigned longattrs
286  If Not dma_length || Not length Then Break
288  Free a DMA mapping.
Caller
NameDescribe
dma_map_sg_nonforceFallback for dma_map_sg in case of overflow
gart_map_sgDMA map all entries in a scatterlist.* Merge chunks that have page aligned sizes into a continuous mapping.