函数逻辑报告 |
Source Code:lib\sg_split.c |
Create Date:2022-07-27 08:19:11 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:sg_split - split a scatterlist into several scatterlists*@in: the input sg list*@in_mapped_nents: the result of a dma_map_sg(in,
函数原型:int sg_split(struct scatterlist *in, const int in_mapped_nents, const off_t skip, const int nb_splits, const size_t *split_sizes, struct scatterlist **out, int *out_mapped_nents, gfp_t gfp_mask)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct scatterlist * | in | |
const int | in_mapped_nents | |
const off_t | skip | |
const int | nb_splits | |
const size_t * | split_sizes | |
struct scatterlist ** | out | |
int * | out_mapped_nents | |
gfp_t | gfp_mask |
161 | ret等于sg_calculate_split(in, 返回在散列表条目总数, nb_splits, skip, split_sizes, splitters, false) |
178 | sg_split_phys(splitters, nb_splits) |
179 | 如果in_mapped_nents则 |
180 | ret等于sg_calculate_split(in, in_mapped_nents, nb_splits, skip, split_sizes, splitters, true) |
189 | 如果out_mapped_nents则out_mapped_nents[i]等于nents |
194 | 返回:0 |
196 | err : |
200 | 返回:ret |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |