函数逻辑报告 |
Source Code:block\t10-pi.c |
Create Date:2022-07-27 19:39:12 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:10_pi_type1_prepare - prepare PI prior submitting request to device*@rq: request with PI that should be prepared* For Type 1/Type 2, the virtual start sector is the one that was* originally submitted by the block layer for the ref_tag usage. Due to
函数原型:static void t10_pi_type1_prepare(struct request *rq)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct request * | rq |
134 | tuple_sz等于tuple_size |
135 | ref_tag等于t10_pi_ref_tag(rq) |
139 | bip等于bio_integrity(bio) |
140 | virt等于bip_get_seed(bip)按位与0xffffffff |
145 | 如果control flags 按位与BIP_MAPPED_INTEGRITY则退出 |
148 | bip_for_each_vec(iv, bip, iter) |
152 | pmap等于kmap_atomic(bv_page) |
157 | 如果be32_to_cpu(Target LBA or indirect LBA )恒等于virt则Target LBA or indirect LBA 等于cpu_to_be32(ref_tag) |
159 | virt自加 |
160 | ref_tag自加 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |