Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:sg_split_mapped

Proto:static void sg_split_mapped(struct sg_splitter *splitters, const int nb_splits)

Type:void

Parameter:

TypeParameterName
struct sg_splitter *splitters
const intnb_splits
109  When i < nb_splits cycle
110  in_sg = in_sg0
111  out_sg = out_sg
112  When j < nents cycle
115  If Not j Then
121  sg_dma_len(--out_sg) = length_last_sg
Caller
NameDescribe
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,