Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\scatterlist.h Create Date:2022-07-28 05:46:18
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:sg_virt - Return virtual address of an sg entry*@sg: SG entry* Description:* This calls page_address() on the page in this sg entry, and adds the* sg offset. The caller must know that the sg page has a valid virtual* mapping.

Proto:static inline void *sg_virt(struct scatterlist *sg)

Type:void

Parameter:

TypeParameterName
struct scatterlist *sg
239  Return page_address(sg_page(sg)) + offset
Caller
NameDescribe
dma_virt_map_sg
debug_dma_map_sg