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_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

Proto:void fsverity_verify_bio(struct bio *bio)

Type:void

Parameter:

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