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

Name:dma_map_cont

Proto:static inline int dma_map_cont(struct device *dev, struct scatterlist *start, int nelems, struct scatterlist *sout, unsigned long pages, int need)

Type:int

Parameter:

TypeParameterName
struct device *dev
struct scatterlist *start
intnelems
struct scatterlist *sout
unsigned longpages
intneed
367  If Not need Then
368  BUG_ON(nelems != 1)
369  dma_address = dma_address
370  dma_length = length
371  Return 0
373  Return Map multiple scatterlist entries continuous into the first.
Caller
NameDescribe
gart_map_sgDMA map all entries in a scatterlist.* Merge chunks that have page aligned sizes into a continuous mapping.