函数逻辑报告 |
Source Code:block\blk-integrity.c |
Create Date:2022-07-27 19:38:25 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:lk_rq_count_integrity_sg - Count number of integrity scatterlist elements*@q: request queue*@bio: bio with integrity metadata attached* Description: Returns the number of elements required in a* scatterlist corresponding to the integrity metadata in a bio.
函数原型:int blk_rq_count_integrity_sg(struct request_queue *q, struct bio *bio)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct request_queue * | q | |
struct bio * | bio |
30 | segments等于0 |
31 | seg_size等于0 |
33 | prev等于0 |
35 | bio_for_each_integrity_vec(iv, bio, iter) |
37 | 如果prev则 |
38 | 如果非biovec_phys_mergeable(q, & ivprv, & iv)则转到:new_segment |
40 | 如果seg_size加bv_len大于queue_max_segment_size(q)则转到:new_segment |
44 | 否则 |
50 | prev等于1 |
54 | 返回:segments |
名称 | 描述 |
---|---|
blk_integrity_merge_bio |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |