Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:_integrity_advance - Advance integrity vector*@bio: bio whose integrity vector to update*@bytes_done: number of data bytes that have been completed* Description: This function calculates how many integrity bytes the* number of completed data bytes

Proto:void bio_integrity_advance(struct bio *bio, unsigned int bytes_done)

Type:void

Parameter:

TypeParameterName
struct bio *bio
unsigned intbytes_done
375  bip = bio_integrity(bio)
376  bi = blk_get_integrity(bi_disk)
377  bytes = bio_integrity_bytes(bi, bytes_done >> 9)
379  device address in 512 byte sectors += bytes_done >> 9
380  bvec_iter_advance(bip_vec, & bip_iter, bytes)