Lines Matching refs:rbi

898 		struct bio *bi, *rbi;  in ops_run_io()  local
922 rbi = &sh->dev[i].rreq; /* For writing to replacement */ in ops_run_io()
1050 bio_reset(rbi); in ops_run_io()
1051 rbi->bi_bdev = rrdev->bdev; in ops_run_io()
1052 rbi->bi_rw = rw; in ops_run_io()
1054 rbi->bi_end_io = raid5_end_write_request; in ops_run_io()
1055 rbi->bi_private = sh; in ops_run_io()
1060 rbi->bi_rw, i); in ops_run_io()
1065 rbi->bi_iter.bi_sector = (sh->sector in ops_run_io()
1068 rbi->bi_iter.bi_sector = (sh->sector in ops_run_io()
1073 rbi->bi_vcnt = 1; in ops_run_io()
1074 rbi->bi_io_vec[0].bv_len = STRIPE_SIZE; in ops_run_io()
1075 rbi->bi_io_vec[0].bv_offset = 0; in ops_run_io()
1076 rbi->bi_iter.bi_size = STRIPE_SIZE; in ops_run_io()
1082 rbi->bi_vcnt = 0; in ops_run_io()
1084 trace_block_bio_remap(bdev_get_queue(rbi->bi_bdev), in ops_run_io()
1085 rbi, disk_devt(conf->mddev->gendisk), in ops_run_io()
1087 generic_make_request(rbi); in ops_run_io()
1189 struct bio *rbi, *rbi2; in ops_complete_biofill() local
1192 rbi = dev->read; in ops_complete_biofill()
1194 while (rbi && rbi->bi_iter.bi_sector < in ops_complete_biofill()
1196 rbi2 = r5_next_bio(rbi, dev->sector); in ops_complete_biofill()
1197 if (!raid5_dec_bi_active_stripes(rbi)) in ops_complete_biofill()
1198 bio_list_add(&return_bi, rbi); in ops_complete_biofill()
1199 rbi = rbi2; in ops_complete_biofill()
1224 struct bio *rbi; in ops_run_biofill() local
1226 dev->read = rbi = dev->toread; in ops_run_biofill()
1229 while (rbi && rbi->bi_iter.bi_sector < in ops_run_biofill()
1231 tx = async_copy_data(0, rbi, &dev->page, in ops_run_biofill()
1233 rbi = r5_next_bio(rbi, dev->sector); in ops_run_biofill()