Lines Matching refs:wbi
1747 struct bio *wbi; in ops_run_biodrain() local
1761 wbi = dev->written = chosen; in ops_run_biodrain()
1765 while (wbi && wbi->bi_iter.bi_sector < in ops_run_biodrain()
1767 if (wbi->bi_opf & REQ_FUA) in ops_run_biodrain()
1769 if (wbi->bi_opf & REQ_SYNC) in ops_run_biodrain()
1771 if (bio_op(wbi) == REQ_OP_DISCARD) in ops_run_biodrain()
1774 tx = async_copy_data(1, wbi, &dev->page, in ops_run_biodrain()
1784 wbi = r5_next_bio(wbi, dev->sector); in ops_run_biodrain()
3760 struct bio *wbi, *wbi2; in handle_stripe_clean_event() local
3771 wbi = dev->written; in handle_stripe_clean_event()
3773 while (wbi && wbi->bi_iter.bi_sector < in handle_stripe_clean_event()
3775 wbi2 = r5_next_bio(wbi, dev->sector); in handle_stripe_clean_event()
3777 bio_endio(wbi); in handle_stripe_clean_event()
3778 wbi = wbi2; in handle_stripe_clean_event()