函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\verity\verify.c Create Date:2022-07-29 10:58:45
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:sverity_verify_bio() - verify a 'read' bio that has just completed* Verify a set of pages that have just been read from a verity file. The pages* must be pagecache pages that are still locked and not yet uptodate. Pages

函数原型:void fsverity_verify_bio(struct bio *bio)

返回类型:void

参数:

类型参数名称
struct bio *bio
223  inode等于host
224  vi等于i_verity_info
229  req等于ahash_request_alloc() - allocate request data structure*@tfm: cipher handle to be registered with the request*@gfp: memory allocation flag that is handed to kmalloc by the API call.* Allocate the request data structure that must be used with the ahash
230  如果此条件成立可能性小(为编译器优化)(!req)则
231  drivers should _never_ use the all version - the bio may have been split* before it got to the driver and the driver won't own all of it(bv, bio, iter_all)
232  SetPageError(bv_page)
233  返回
237  page等于bv_page
239  如果非PageError(page)且非Verify a single data page against the file's Merkle treeSetPageError(page)
243  归零并释放数据结构请求