Lines Matching refs:uptodate
1723 int uptodate = test_bit(BIO_UPTODATE, &bi->bi_flags); in raid5_end_read_request() local
1734 uptodate); in raid5_end_read_request()
1753 if (uptodate) { in raid5_end_read_request()
1844 int uptodate = test_bit(BIO_UPTODATE, &bi->bi_flags); in raid5_end_write_request() local
1869 uptodate); in raid5_end_write_request()
1876 if (!uptodate) in raid5_end_write_request()
1883 if (!uptodate) { in raid5_end_write_request()
2670 if ((s->uptodate == disks - 1) && in fetch_block()
2690 s->uptodate++; in fetch_block()
2692 } else if (s->uptodate == disks-2 && s->failed >= 2) { in fetch_block()
2714 s->uptodate += 2; in fetch_block()
2950 BUG_ON(s->uptodate != disks); in handle_parity_checks5()
2954 s->uptodate--; in handle_parity_checks5()
2970 BUG_ON(s->uptodate != disks); in handle_parity_checks5()
3012 s->uptodate++; in handle_parity_checks5()
3071 s->uptodate--; in handle_parity_checks6()
3095 BUG_ON(s->uptodate < disks - 1); /* We don't need Q to recover */ in handle_parity_checks6()
3169 s->uptodate++; in handle_parity_checks6()
3175 s->uptodate++; in handle_parity_checks6()
3301 s->uptodate++; in analyse_stripe()
3501 s.locked, s.uptodate, s.to_read, s.to_write, s.failed, in handle_stripe()
3581 || (s.syncing && (s.uptodate + s.compute < disks)) in handle_stripe()
3914 int uptodate = test_bit(BIO_UPTODATE, &bi->bi_flags); in raid5_align_endio() local
3926 if (!error && uptodate) { in raid5_align_endio()