Lines Matching refs:wbi
1943 struct bio *wbi; in ops_run_biodrain() local
1957 wbi = dev->written = chosen; in ops_run_biodrain()
1961 while (wbi && wbi->bi_iter.bi_sector < in ops_run_biodrain()
1963 if (wbi->bi_opf & REQ_FUA) in ops_run_biodrain()
1965 if (wbi->bi_opf & REQ_SYNC) in ops_run_biodrain()
1967 if (bio_op(wbi) == REQ_OP_DISCARD) in ops_run_biodrain()
1970 tx = async_copy_data(1, wbi, &dev->page, in ops_run_biodrain()
1981 wbi = r5_next_bio(conf, wbi, dev->sector); in ops_run_biodrain()
4082 struct bio *wbi, *wbi2; in handle_stripe_clean_event() local
4093 wbi = dev->written; in handle_stripe_clean_event()
4095 while (wbi && wbi->bi_iter.bi_sector < in handle_stripe_clean_event()
4097 wbi2 = r5_next_bio(conf, wbi, dev->sector); in handle_stripe_clean_event()
4099 bio_endio(wbi); in handle_stripe_clean_event()
4100 wbi = wbi2; in handle_stripe_clean_event()