函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\scatterlist.h Create Date:2022-07-27 06:47:04
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:返回SG物理地址入口

函数原型:static inline dma_addr_t sg_phys(struct scatterlist *sg)

返回类型:dma_addr_t

参数:

类型参数名称
struct scatterlist *sg
224  返回:Change "struct page" to physical address.(sg_page(sg))加offset
调用者
名称描述
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.