Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\blkdev.h Create Date:2022-07-28 05:46:36
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:bio_integrity_bytes

Proto:static inline unsigned int bio_integrity_bytes(struct blk_integrity *bi, unsigned int sectors)

Type:unsigned int

Parameter:

TypeParameterName
struct blk_integrity *bi
unsigned intsectors
1598  Return _integrity_intervals - Return number of integrity intervals for a bio*@bi: blk_integrity profile for device*@sectors: Size of the bio in 512-byte sectors* Description: The block layer calculates everything in 512 byte* sectors but integrity metadata is * tuple_size
Caller
NameDescribe
bio_integrity_advance_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
bio_integrity_trim_integrity_trim - Trim integrity vector*@bio: bio whose integrity vector to update* Description: Used to trim the integrity vector in a cloned bio.