函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\amd_gart_64.c Create Date:2022-07-27 09:51:43
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:dma_map_cont

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

返回类型:int

参数:

类型参数名称
struct device *dev
struct scatterlist *start
intnelems
struct scatterlist *sout
unsigned longpages
intneed
367  如果非need
368  BUG_ON(nelems != 1)
369  dma_address等于dma_address
370  dma_length等于length
371  返回:0
373  返回:Map multiple scatterlist entries continuous into the first.
调用者
名称描述
gart_map_sgDMA map all entries in a scatterlist.* Merge chunks that have page aligned sizes into a continuous mapping.