函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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
注解内核,赢得工具下载SCCTEnglish

函数名称: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 intnr_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)
201  p等于pmapbv_offset
202 j小于bv_lenintervals循环
203  pi等于p
207  virt自加
208  ref_tag自加
209  intervals自减
210  p加等于tuple_sz
213  Prevent people trying to call kunmap_atomic() as if it were kunmap()* kunmap_atomic() should get the return value of kmap_atomic, not the page.(pmap)