函数逻辑报告 |
Source Code:block\blk-integrity.c |
Create Date:2022-07-27 19:38:28 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:lk_rq_map_integrity_sg - Map integrity metadata into a scatterlist*@q: request queue*@bio: bio with integrity metadata attached*@sglist: target scatterlist* Description: Map the integrity vectors in request into a* scatterlist
函数原型:int blk_rq_map_integrity_sg(struct request_queue *q, struct bio *bio, struct scatterlist *sglist)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct request_queue * | q | |
struct bio * | bio | |
struct scatterlist * | sglist |
72 | struct scatterlist * sg = NULL |
73 | segments等于0 |
75 | prev等于0 |
77 | bio_for_each_integrity_vec(iv, bio, iter) |
79 | 如果prev则 |
80 | 如果非biovec_phys_mergeable(q, & ivprv, & iv)则转到:new_segment |
82 | 如果length加bv_len大于queue_max_segment_size(q)则转到:new_segment |
86 | 否则 |
99 | prev等于1 |
106 | 返回:segments |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |