Lines Matching refs:wbi
1950 struct bio *wbi; in ops_run_biodrain() local
1964 wbi = dev->written = chosen; in ops_run_biodrain()
1968 while (wbi && wbi->bi_iter.bi_sector < in ops_run_biodrain()
1970 if (wbi->bi_opf & REQ_FUA) in ops_run_biodrain()
1972 if (wbi->bi_opf & REQ_SYNC) in ops_run_biodrain()
1974 if (bio_op(wbi) == REQ_OP_DISCARD) in ops_run_biodrain()
1977 tx = async_copy_data(1, wbi, &dev->page, in ops_run_biodrain()
1988 wbi = r5_next_bio(conf, wbi, dev->sector); in ops_run_biodrain()
4089 struct bio *wbi, *wbi2; in handle_stripe_clean_event() local
4100 wbi = dev->written; in handle_stripe_clean_event()
4102 while (wbi && wbi->bi_iter.bi_sector < in handle_stripe_clean_event()
4104 wbi2 = r5_next_bio(conf, wbi, dev->sector); in handle_stripe_clean_event()
4106 bio_endio(wbi); in handle_stripe_clean_event()
4107 wbi = wbi2; in handle_stripe_clean_event()