Lines Matching refs:rbi

1159 		struct bio *bi, *rbi;  in ops_run_io()  local
1183 rbi = &dev->rreq; /* For writing to replacement */ in ops_run_io()
1322 bio_init(rbi, rrdev->bdev, &dev->rvec, 1, op | op_flags); in ops_run_io()
1324 rbi->bi_end_io = raid5_end_write_request; in ops_run_io()
1325 rbi->bi_private = sh; in ops_run_io()
1330 rbi->bi_opf, i); in ops_run_io()
1335 rbi->bi_iter.bi_sector = (sh->sector in ops_run_io()
1338 rbi->bi_iter.bi_sector = (sh->sector in ops_run_io()
1343 rbi->bi_vcnt = 1; in ops_run_io()
1344 rbi->bi_io_vec[0].bv_len = RAID5_STRIPE_SIZE(conf); in ops_run_io()
1345 rbi->bi_io_vec[0].bv_offset = sh->dev[i].offset; in ops_run_io()
1346 rbi->bi_iter.bi_size = RAID5_STRIPE_SIZE(conf); in ops_run_io()
1352 rbi->bi_vcnt = 0; in ops_run_io()
1354 trace_block_bio_remap(rbi, in ops_run_io()
1358 bio_list_add(&pending_bios, rbi); in ops_run_io()
1360 submit_bio_noacct(rbi); in ops_run_io()
1467 struct bio *rbi, *rbi2; in ops_complete_biofill() local
1470 rbi = dev->read; in ops_complete_biofill()
1472 while (rbi && rbi->bi_iter.bi_sector < in ops_complete_biofill()
1474 rbi2 = r5_next_bio(conf, rbi, dev->sector); in ops_complete_biofill()
1475 bio_endio(rbi); in ops_complete_biofill()
1476 rbi = rbi2; in ops_complete_biofill()
1500 struct bio *rbi; in ops_run_biofill() local
1502 dev->read = rbi = dev->toread; in ops_run_biofill()
1505 while (rbi && rbi->bi_iter.bi_sector < in ops_run_biofill()
1507 tx = async_copy_data(0, rbi, &dev->page, in ops_run_biofill()
1510 rbi = r5_next_bio(conf, rbi, dev->sector); in ops_run_biofill()