Lines Matching refs:rbi
1152 struct bio *bi, *rbi; in ops_run_io() local
1176 rbi = &dev->rreq; /* For writing to replacement */ in ops_run_io()
1315 bio_init(rbi, rrdev->bdev, &dev->rvec, 1, op | op_flags); in ops_run_io()
1317 rbi->bi_end_io = raid5_end_write_request; in ops_run_io()
1318 rbi->bi_private = sh; in ops_run_io()
1323 rbi->bi_opf, i); in ops_run_io()
1328 rbi->bi_iter.bi_sector = (sh->sector in ops_run_io()
1331 rbi->bi_iter.bi_sector = (sh->sector in ops_run_io()
1336 rbi->bi_vcnt = 1; in ops_run_io()
1337 rbi->bi_io_vec[0].bv_len = RAID5_STRIPE_SIZE(conf); in ops_run_io()
1338 rbi->bi_io_vec[0].bv_offset = sh->dev[i].offset; in ops_run_io()
1339 rbi->bi_iter.bi_size = RAID5_STRIPE_SIZE(conf); in ops_run_io()
1345 rbi->bi_vcnt = 0; in ops_run_io()
1347 trace_block_bio_remap(rbi, in ops_run_io()
1351 bio_list_add(&pending_bios, rbi); in ops_run_io()
1353 submit_bio_noacct(rbi); in ops_run_io()
1460 struct bio *rbi, *rbi2; in ops_complete_biofill() local
1463 rbi = dev->read; in ops_complete_biofill()
1465 while (rbi && rbi->bi_iter.bi_sector < in ops_complete_biofill()
1467 rbi2 = r5_next_bio(conf, rbi, dev->sector); in ops_complete_biofill()
1468 bio_endio(rbi); in ops_complete_biofill()
1469 rbi = rbi2; in ops_complete_biofill()
1493 struct bio *rbi; in ops_run_biofill() local
1495 dev->read = rbi = dev->toread; in ops_run_biofill()
1498 while (rbi && rbi->bi_iter.bi_sector < in ops_run_biofill()
1500 tx = async_copy_data(0, rbi, &dev->page, in ops_run_biofill()
1503 rbi = r5_next_bio(conf, rbi, dev->sector); in ops_run_biofill()