Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:_integrity_trim - Trim integrity vector*@bio: bio whose integrity vector to update* Description: Used to trim the integrity vector in a cloned bio.

Proto:void bio_integrity_trim(struct bio *bio)

Type:void

Parameter:

TypeParameterName
struct bio *bio
391  bip = bio_integrity(bio)
392  bi = blk_get_integrity(bi_disk)
394  residual I/O count = bio_integrity_bytes(bi, bio_sectors(bio))
Caller
NameDescribe
bio_trim_trim - trim a bio*@bio: bio to trim*@offset: number of sectors to trim from the front of @bio*@size: size we want to trim @bio to, in sectors