函数逻辑报告

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

函数名称:blk_get_integrity

函数原型:static inline struct blk_integrity *blk_get_integrity(struct gendisk *disk)

返回类型:struct blk_integrity

参数:

类型参数名称
struct gendisk *disk
1548  bi等于integrity
1550  如果非profile则返回:NULL
1553  返回:bi
调用者
名称描述
bio_integrity_process_integrity_process - Process integrity metadata for a bio*@bio: bio to generate/verify integrity metadata for*@proc_iter: iterator to process*@proc_fn: Pointer to the relevant processing function
bio_integrity_prep_integrity_prep - Prepare bio for integrity I/O*@bio: bio to prepare* Description: Checks if the bio already has an integrity payload attached.* If it does, the payload has been generated by another kernel subsystem,* and we just pass it through
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_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.
bdev_get_integrity