Lines Matching refs:uptodate
2291 int uptodate = test_bit(BIO_UPTODATE, &bi->bi_flags); in raid5_end_read_request() local
2302 uptodate); in raid5_end_read_request()
2321 if (uptodate) { in raid5_end_read_request()
2415 int uptodate = test_bit(BIO_UPTODATE, &bi->bi_flags); in raid5_end_write_request() local
2440 uptodate); in raid5_end_write_request()
2447 if (!uptodate) in raid5_end_write_request()
2454 if (!uptodate) { in raid5_end_write_request()
2475 if (sh->batch_head && !uptodate && !replacement) in raid5_end_write_request()
3360 if ((s->uptodate == disks - 1) && in fetch_block()
3380 s->uptodate++; in fetch_block()
3382 } else if (s->uptodate == disks-2 && s->failed >= 2) { in fetch_block()
3404 s->uptodate += 2; in fetch_block()
3693 BUG_ON(s->uptodate != disks); in handle_parity_checks5()
3697 s->uptodate--; in handle_parity_checks5()
3713 BUG_ON(s->uptodate != disks); in handle_parity_checks5()
3755 s->uptodate++; in handle_parity_checks5()
3814 s->uptodate--; in handle_parity_checks6()
3838 BUG_ON(s->uptodate < disks - 1); /* We don't need Q to recover */ in handle_parity_checks6()
3912 s->uptodate++; in handle_parity_checks6()
3918 s->uptodate++; in handle_parity_checks6()
4045 s->uptodate++; in analyse_stripe()
4351 s.locked, s.uptodate, s.to_read, s.to_write, s.failed, in handle_stripe()
4434 || (s.syncing && (s.uptodate + s.compute < disks)) in handle_stripe()
4765 int uptodate = test_bit(BIO_UPTODATE, &bi->bi_flags); in raid5_align_endio() local
4777 if (!error && uptodate) { in raid5_align_endio()