函数逻辑报告 |
Source Code:block\t10-pi.c |
Create Date:2022-07-27 19:39:16 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:10_pi_type1_complete - prepare PI prior returning request to the blk layer*@rq: request with PI that should be prepared*@nr_bytes: total bytes to prepare* For Type 1/Type 2, the virtual start sector is the one that was
函数原型:static void t10_pi_type1_complete(struct request *rq, unsigned int nr_bytes)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct request * | rq | |
unsigned int | nr_bytes |
185 | intervals等于nr_bytes右移interval_exp位 |
186 | tuple_sz等于tuple_size |
187 | ref_tag等于t10_pi_ref_tag(rq) |
191 | bip等于bio_integrity(bio) |
192 | virt等于bip_get_seed(bip)按位与0xffffffff |
196 | bip_for_each_vec(iv, bip, iter) |
200 | pmap等于kmap_atomic(bv_page) |
205 | 如果be32_to_cpu(Target LBA or indirect LBA )恒等于ref_tag则Target LBA or indirect LBA 等于cpu_to_be32(virt) |
207 | virt自加 |
208 | ref_tag自加 |
209 | intervals自减 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |