Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\verity\verify.c Create Date:2022-07-28 20:24:58
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name: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.

Proto:bool fsverity_verify_page(struct page *page)

Type:bool

Parameter:

TypeParameterName
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  If Value for the false possibility is greater at compile time(!req) Then Return false
198  valid = Verify a single data page against the file's Merkle tree
200  ahash_request_free() - zeroize and free the request data structure*@req: request data structure cipher handle to be freed
202  Return valid