Lines Matching refs:rbi

1157 		struct bio *bi, *rbi;  in ops_run_io()  local
1181 rbi = &dev->rreq; /* For writing to replacement */ in ops_run_io()
1320 bio_init(rbi, rrdev->bdev, &dev->rvec, 1, op | op_flags); in ops_run_io()
1322 rbi->bi_end_io = raid5_end_write_request; in ops_run_io()
1323 rbi->bi_private = sh; in ops_run_io()
1328 rbi->bi_opf, i); in ops_run_io()
1333 rbi->bi_iter.bi_sector = (sh->sector in ops_run_io()
1336 rbi->bi_iter.bi_sector = (sh->sector in ops_run_io()
1341 rbi->bi_vcnt = 1; in ops_run_io()
1342 rbi->bi_io_vec[0].bv_len = RAID5_STRIPE_SIZE(conf); in ops_run_io()
1343 rbi->bi_io_vec[0].bv_offset = sh->dev[i].offset; in ops_run_io()
1344 rbi->bi_iter.bi_size = RAID5_STRIPE_SIZE(conf); in ops_run_io()
1350 rbi->bi_vcnt = 0; in ops_run_io()
1352 trace_block_bio_remap(rbi, in ops_run_io()
1356 bio_list_add(&pending_bios, rbi); in ops_run_io()
1358 submit_bio_noacct(rbi); in ops_run_io()
1463 struct bio *rbi, *rbi2; in ops_complete_biofill() local
1466 rbi = dev->read; in ops_complete_biofill()
1468 while (rbi && rbi->bi_iter.bi_sector < in ops_complete_biofill()
1470 rbi2 = r5_next_bio(conf, rbi, dev->sector); in ops_complete_biofill()
1471 bio_endio(rbi); in ops_complete_biofill()
1472 rbi = rbi2; in ops_complete_biofill()
1496 struct bio *rbi; in ops_run_biofill() local
1498 dev->read = rbi = dev->toread; in ops_run_biofill()
1501 while (rbi && rbi->bi_iter.bi_sector < in ops_run_biofill()
1503 tx = async_copy_data(0, rbi, &dev->page, in ops_run_biofill()
1506 rbi = r5_next_bio(conf, rbi, dev->sector); in ops_run_biofill()