Lines Matching refs:align_bi
5194 struct bio* align_bi; in raid5_read_one_chunk() local
5205 align_bi = bio_clone_fast(raid_bio, GFP_NOIO, &mddev->bio_set); in raid5_read_one_chunk()
5206 if (!align_bi) in raid5_read_one_chunk()
5212 align_bi->bi_end_io = raid5_align_endio; in raid5_read_one_chunk()
5213 align_bi->bi_private = raid_bio; in raid5_read_one_chunk()
5217 align_bi->bi_iter.bi_sector = in raid5_read_one_chunk()
5221 end_sector = bio_end_sector(align_bi); in raid5_read_one_chunk()
5234 if (r5c_big_stripe_cached(conf, align_bi->bi_iter.bi_sector)) { in raid5_read_one_chunk()
5236 bio_put(align_bi); in raid5_read_one_chunk()
5247 bio_set_dev(align_bi, rdev->bdev); in raid5_read_one_chunk()
5248 bio_clear_flag(align_bi, BIO_SEG_VALID); in raid5_read_one_chunk()
5250 if (is_badblock(rdev, align_bi->bi_iter.bi_sector, in raid5_read_one_chunk()
5251 bio_sectors(align_bi), in raid5_read_one_chunk()
5253 bio_put(align_bi); in raid5_read_one_chunk()
5259 align_bi->bi_iter.bi_sector += rdev->data_offset; in raid5_read_one_chunk()
5269 trace_block_bio_remap(align_bi->bi_disk->queue, in raid5_read_one_chunk()
5270 align_bi, disk_devt(mddev->gendisk), in raid5_read_one_chunk()
5272 generic_make_request(align_bi); in raid5_read_one_chunk()
5276 bio_put(align_bi); in raid5_read_one_chunk()