函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:sverity_verify_page() - verify a data page* Verify a page that has just been read from a verity file. The page must be a* pagecache page that is still locked and not yet uptodate.* Return: true if the page is valid, else false.

函数原型:bool fsverity_verify_page(struct page *page)

返回类型:bool

参数:

类型参数名称
struct page *page
189  inode等于host
190  vi等于i_verity_info
194  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
195  如果此条件成立可能性小(为编译器优化)(!req)则返回:false
198  valid等于Verify a single data page against the file's Merkle tree
200  归零并释放数据结构请求
202  返回:valid