函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\blkdev.h Create Date:2022-07-27 06:47:14
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:bio_integrity_bytes

函数原型:static inline unsigned int bio_integrity_bytes(struct blk_integrity *bi, unsigned int sectors)

返回类型:unsigned int

参数:

类型参数名称
struct blk_integrity *bi
unsigned intsectors
1598  返回:_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
调用者
名称描述
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.