Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\bio-integrity.c Create Date:2022-07-28 18:02:13
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:_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().

Proto:void bio_integrity_free(struct bio *bio)

Type:void

Parameter:

TypeParameterName
struct bio *bio
92  bip = bio_integrity(bio)
93  bs = bi_pool
95  If control flags & BIP_BLOCK_INTEGRITY Then kfree(page_address(bv_page) + bv_offset)
99  If bs && mempool_initialized( & bio_integrity_pool) Then
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  Else
104  kfree(bip)
107  data integrity = NULL
108  bottom bits req flags, * top bits REQ_OP. Use * accessors. &= ~REQ_INTEGRITY
Caller
NameDescribe
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