Lines Matching refs:wbi
1871 struct bio *wbi; in ops_run_biodrain() local
1885 wbi = dev->written = chosen; in ops_run_biodrain()
1889 while (wbi && wbi->bi_iter.bi_sector < in ops_run_biodrain()
1891 if (wbi->bi_opf & REQ_FUA) in ops_run_biodrain()
1893 if (wbi->bi_opf & REQ_SYNC) in ops_run_biodrain()
1895 if (bio_op(wbi) == REQ_OP_DISCARD) in ops_run_biodrain()
1898 tx = async_copy_data(1, wbi, &dev->page, in ops_run_biodrain()
1909 wbi = r5_next_bio(conf, wbi, dev->sector); in ops_run_biodrain()
3979 struct bio *wbi, *wbi2; in handle_stripe_clean_event() local
3990 wbi = dev->written; in handle_stripe_clean_event()
3992 while (wbi && wbi->bi_iter.bi_sector < in handle_stripe_clean_event()
3994 wbi2 = r5_next_bio(conf, wbi, dev->sector); in handle_stripe_clean_event()
3996 bio_endio(wbi); in handle_stripe_clean_event()
3997 wbi = wbi2; in handle_stripe_clean_event()