函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\bio-integrity.c Create Date:2022-07-27 19:38:04
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:_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

函数原型:static void bio_integrity_verify_fn(struct work_struct *work)

返回类型:void

参数:

类型参数名称
struct work_struct *work
321  bip等于container_of - cast a member of a structure out to the containing structure*@ptr: the pointer to the member.*@type: the type of the container struct this is embedded in.*@member: the name of the member within the struct.(work, structbio_integrity_payload, bip_work)
323  bio等于parent bio
324  bi等于blk_get_integrity(bi_disk)
331  bi_status等于_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
333  _integrity_free - Free bio integrity payload*@bio: bio containing bip to be freed* Description: Used to free the integrity portion of a bio. Usually* called from bio_free().
334  _endio - end I/O on a bio*@bio: bio* Description:* bio_endio() will end I/O on the whole bio. bio_endio() is the preferred* way to end I/O on a bio. No one should call bi_end_io() directly on a