Lines Matching refs:toread
598 if (dev->toread || dev->read || dev->towrite || dev->written || in init_stripe()
601 (unsigned long long)sh->sector, i, dev->toread, in init_stripe()
1495 dev->read = rbi = dev->toread; in ops_run_biofill()
1496 dev->toread = NULL; in ops_run_biofill()
3496 bip = &sh->dev[dd_idx].toread; in stripe_bio_overlaps()
3552 bip = &sh->dev[dd_idx].toread; in __add_stripe_bio()
3733 bi = sh->dev[i].toread; in handle_failed_stripe()
3734 sh->dev[i].toread = NULL; in handle_failed_stripe()
3848 if (dev->toread || in need_this_block()
3860 if ((s->failed >= 1 && fdev[0]->toread) || in need_this_block()
3861 (s->failed >= 2 && fdev[1]->toread)) in need_this_block()
4715 dev->toread, dev->towrite, dev->written); in analyse_stripe()
4721 if (test_bit(R5_UPTODATE, &dev->flags) && dev->toread && in analyse_stripe()
4737 else if (dev->toread) in analyse_stripe()
5836 if (sh->dev[d].towrite || sh->dev[d].toread) { in make_discard_request()