函数逻辑报告

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:39
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Wrapper for pci_unmap_single working with scatterlists.

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

返回类型:void

参数:

类型参数名称
struct device *dev
struct scatterlist *sg
intnents
enum dma_data_directiondir
unsigned longattrs
286  如果非dma_length或非length退出
288  Free a DMA mapping.
调用者
名称描述
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.