Lines Matching refs:rbi

894 		struct bio *bi, *rbi;  in ops_run_io()  local
918 rbi = &sh->dev[i].rreq; /* For writing to replacement */ in ops_run_io()
1046 bio_reset(rbi); in ops_run_io()
1047 rbi->bi_bdev = rrdev->bdev; in ops_run_io()
1048 rbi->bi_rw = rw; in ops_run_io()
1050 rbi->bi_end_io = raid5_end_write_request; in ops_run_io()
1051 rbi->bi_private = sh; in ops_run_io()
1056 rbi->bi_rw, i); in ops_run_io()
1061 rbi->bi_iter.bi_sector = (sh->sector in ops_run_io()
1064 rbi->bi_iter.bi_sector = (sh->sector in ops_run_io()
1069 rbi->bi_vcnt = 1; in ops_run_io()
1070 rbi->bi_io_vec[0].bv_len = STRIPE_SIZE; in ops_run_io()
1071 rbi->bi_io_vec[0].bv_offset = 0; in ops_run_io()
1072 rbi->bi_iter.bi_size = STRIPE_SIZE; in ops_run_io()
1078 rbi->bi_vcnt = 0; in ops_run_io()
1080 trace_block_bio_remap(bdev_get_queue(rbi->bi_bdev), in ops_run_io()
1081 rbi, disk_devt(conf->mddev->gendisk), in ops_run_io()
1083 generic_make_request(rbi); in ops_run_io()
1185 struct bio *rbi, *rbi2; in ops_complete_biofill() local
1188 rbi = dev->read; in ops_complete_biofill()
1190 while (rbi && rbi->bi_iter.bi_sector < in ops_complete_biofill()
1192 rbi2 = r5_next_bio(rbi, dev->sector); in ops_complete_biofill()
1193 if (!raid5_dec_bi_active_stripes(rbi)) { in ops_complete_biofill()
1194 rbi->bi_next = return_bi; in ops_complete_biofill()
1195 return_bi = rbi; in ops_complete_biofill()
1197 rbi = rbi2; in ops_complete_biofill()
1222 struct bio *rbi; in ops_run_biofill() local
1224 dev->read = rbi = dev->toread; in ops_run_biofill()
1227 while (rbi && rbi->bi_iter.bi_sector < in ops_run_biofill()
1229 tx = async_copy_data(0, rbi, &dev->page, in ops_run_biofill()
1231 rbi = r5_next_bio(rbi, dev->sector); in ops_run_biofill()