Lines Matching refs:wbi
1872 struct bio *wbi; in ops_run_biodrain() local
1886 wbi = dev->written = chosen; in ops_run_biodrain()
1890 while (wbi && wbi->bi_iter.bi_sector < in ops_run_biodrain()
1892 if (wbi->bi_opf & REQ_FUA) in ops_run_biodrain()
1894 if (wbi->bi_opf & REQ_SYNC) in ops_run_biodrain()
1896 if (bio_op(wbi) == REQ_OP_DISCARD) in ops_run_biodrain()
1899 tx = async_copy_data(1, wbi, &dev->page, in ops_run_biodrain()
1910 wbi = r5_next_bio(conf, wbi, dev->sector); in ops_run_biodrain()
3977 struct bio *wbi, *wbi2; in handle_stripe_clean_event() local
3988 wbi = dev->written; in handle_stripe_clean_event()
3990 while (wbi && wbi->bi_iter.bi_sector < in handle_stripe_clean_event()
3992 wbi2 = r5_next_bio(conf, wbi, dev->sector); in handle_stripe_clean_event()
3994 bio_endio(wbi); in handle_stripe_clean_event()
3995 wbi = wbi2; in handle_stripe_clean_event()