函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\bio-integrity.c Create Date:2022-07-27 19:37:45
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:_integrity_free - Free bio integrity payload*@bio: bio containing bip to be freed* Description: Used to free the integrity portion of a bio. Usually* called from bio_free().

函数原型:void bio_integrity_free(struct bio *bio)

返回类型:void

参数:

类型参数名称
struct bio *bio
92  bip等于bio_integrity(bio)
93  bs等于bi_pool
95  如果control flags 按位与BIP_BLOCK_INTEGRITY释放内存
99  如果bsmempool_initialized( & bio_integrity_pool)则
100  bvec_free( & bvec_integrity_pool, bip_vec, slab the bip came from )
102  mempool_free - return an element to the pool.*@element: pool element pointer.*@pool: pointer to the memory pool which was allocated via* mempool_create().* this function only sleeps if the free_fn() function sleeps.
103  否则
104  释放内存
107  data integrity = NULL
108  bottom bits req flags, * top bits REQ_OP. Use * accessors.与等于REQ_INTEGRITY的反
调用者
名称描述
bio_integrity_verify_fn_integrity_verify_fn - Integrity I/O completion worker*@work: Work struct stored in bio to be verified* Description: This workqueue function is called to complete a READ* request. The function verifies the transferred integrity metadata
__bio_integrity_endio__bio_integrity_endio - Integrity I/O completion function*@bio: Protected bio* Description: Completion for integrity I/O* Normally I/O completion is done in interrupt context. However,* verifying I/O integrity is a time-consuming task which must be run
bio_uninit