Lines Matching defs:bio
11 #include <linux/bio.h>
302 * fsverity_verify_bio() - verify a 'read' bio that has just completed
303 * @bio: the bio to verify
305 * Verify the bio's data against the file's Merkle tree. All bio data segments
307 * verification, then bio->bi_status is set to an error status.
315 void fsverity_verify_bio(struct bio *bio)
320 if (bio->bi_opf & REQ_RAHEAD) {
322 * If this bio is for data readahead, then we also do readahead
330 max_ra_pages = bio->bi_iter.bi_size >> (PAGE_SHIFT + 2);
333 bio_for_each_folio_all(fi, bio) {
336 bio->bi_status = BLK_STS_IOERR;