fsverity_verify_blocks(9)
fsverity_verify_blocks(9) π
okay so bestie, this is fsverity_verify_blocks(9) from the Kernel API Manual, and it's giving βverify data in a folioβ energy. no cap, let's go π«Άβ¨
π NAME π
fsverity_verify_blocks β verify data in a folio πΈ
β¨ SYNOPSIS β¨
bool fsverity_verify_blocks (struct fsverity_info *vi , struct folio
*folio , size_t len , size_t offset );
π§Ύ ARGUMENTS π§Ύ
viβfsverity_infofor the inode to be read πfolioβ the folio containing the data to verify π¦lenβ the length of the data to verify in the foliooffsetβ the offset of the data to verify in the folio
π₯ DESCRIPTION π₯
Verify data that has just been read from a verity file. The data must be located in a pagecache folio that is still locked and not yet uptodate. The length and offset of the data must be Merkle tree block size aligned β literally non-negotiable, bestie π
okay so vibe check: locked folio, not yet uptodate, and aligned length + offset. that's the whole assignment. periodt. π«Ά
π RETURN π
true if the data is valid, else false. simple as that, icon behavior β¨
π SEE ALSO π
- Kernel file
./fs/verity/verify.c fsverity_readahead(9)fsverity_verify_bio(9)fsverity_enqueue_verify_work(9)
okay bye bestie β this page comes from source/version ./fs/verity, dated October 2026, and it's fsverity_verify_blocks(9) from the Kernel API Manual ππ«Άπ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms