函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\sg_split.c Create Date:2022-07-27 08:19:08
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:sg_split_phys

函数原型:static void sg_split_phys(struct sg_splitter *splitters, const int nb_splits)

返回类型:void

参数:

类型参数名称
struct sg_splitter *splitters
const intnb_splits
83 i小于nb_splits循环
84  in_sg等于in_sg0
85  out_sg等于out_sg
86 j小于nents循环
87  out_sg等于in_sg
88  如果非j
89  offset加等于skip_sg0
90  length减等于skip_sg0
91  否则
92  offset等于0
95  sg_dma_len(out_sg)等于0
98  length等于length_last_sg
99  标记散列表结束
调用者
名称描述
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,