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_chain - Chain two sglists together*@prv: First scatterlist*@prv_nents: Number of entries in prv*@sgl: Second scatterlist* Description:* Links @prv@ and @sgl@ together, to form a longer scatterlist.

Proto:static inline void sg_chain(struct scatterlist *prv, unsigned int prv_nents, struct scatterlist *sgl)

Type:void

Parameter:

TypeParameterName
struct scatterlist *prv
unsigned intprv_nents
struct scatterlist *sgl
170  offset = 0
171  length = 0
177  page_link = (sgl | Notes on SG table design) & ~SG_END
Caller
NameDescribe
__sg_alloc_table__sg_alloc_table - Allocate and initialize an sg table with given allocator*@table: The sg table header to use*@nents: Number of entries in sg list*@max_ents: The maximum number of entries the allocator returns per call*@nents_first_chunk: Number of