Lines Matching refs:bi

159 	struct blk_integrity *bi = blk_get_integrity(bio->bi_bdev->bd_disk);  in bio_integrity_process()  local
167 iter.interval = 1 << bi->interval_exp; in bio_integrity_process()
201 struct blk_integrity *bi = blk_get_integrity(bio->bi_bdev->bd_disk); in bio_integrity_prep() local
209 if (!bi) in bio_integrity_prep()
223 if (!bi->profile->verify_fn || in bio_integrity_prep()
224 !(bi->flags & BLK_INTEGRITY_VERIFY)) in bio_integrity_prep()
227 if (!bi->profile->generate_fn || in bio_integrity_prep()
228 !(bi->flags & BLK_INTEGRITY_GENERATE)) in bio_integrity_prep()
231 intervals = bio_integrity_intervals(bi, bio_sectors(bio)); in bio_integrity_prep()
234 len = intervals * bi->tuple_size; in bio_integrity_prep()
259 if (bi->flags & BLK_INTEGRITY_IP_CHECKSUM) in bio_integrity_prep()
294 bi->profile->generate_fn); in bio_integrity_prep()
321 struct blk_integrity *bi = blk_get_integrity(bio->bi_bdev->bd_disk); in bio_integrity_verify_fn() local
329 bi->profile->verify_fn); in bio_integrity_verify_fn()
347 struct blk_integrity *bi = blk_get_integrity(bio->bi_bdev->bd_disk); in __bio_integrity_endio() local
351 (bip->bip_flags & BIP_BLOCK_INTEGRITY) && bi->profile->verify_fn) { in __bio_integrity_endio()
373 struct blk_integrity *bi = blk_get_integrity(bio->bi_bdev->bd_disk); in bio_integrity_advance() local
374 unsigned bytes = bio_integrity_bytes(bi, bytes_done >> 9); in bio_integrity_advance()
389 struct blk_integrity *bi = blk_get_integrity(bio->bi_bdev->bd_disk); in bio_integrity_trim() local
391 bip->bip_iter.bi_size = bio_integrity_bytes(bi, bio_sectors(bio)); in bio_integrity_trim()