Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\scatterlist.c Create Date:2022-07-28 06:20:40
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:sg_nents - return total count of entries in scatterlist*@sg: The scatterlist* Description:* Allows to know how many entries are in sg, taking into acount* chaining as well

Proto:int sg_nents(struct scatterlist *sg)

Type:int

Parameter:

TypeParameterName
struct scatterlist *sg
48  When sg cycle nents++
50  Return nents
Caller
NameDescribe
chacha20poly1305_crypt_sg_inplace
sg_splitsg_split - split a scatterlist into several scatterlists*@in: the input sg list*@in_mapped_nents: the result of a dma_map_sg(in,