Lines Matching refs:R5_UPTODATE
1267 WARN_ON(test_bit(R5_UPTODATE, &sh->dev[i].flags)); in ops_run_io()
1320 WARN_ON(test_bit(R5_UPTODATE, &sh->dev[i].flags)); in ops_run_io()
1502 set_bit(R5_UPTODATE, &tgt->flags); in mark_target_uptodate()
1958 clear_bit(R5_UPTODATE, &dev->flags); in ops_run_biodrain()
2002 set_bit(R5_UPTODATE, &dev->flags); in ops_complete_reconstruct()
2740 set_bit(R5_UPTODATE, &sh->dev[i].flags); in raid5_end_read_request()
2770 clear_bit(R5_UPTODATE, &sh->dev[i].flags); in raid5_end_read_request()
3347 clear_bit(R5_UPTODATE, &dev->flags); in schedule_reconstruction()
3373 BUG_ON(!(test_bit(R5_UPTODATE, &sh->dev[pd_idx].flags) || in schedule_reconstruction()
3376 (!(test_bit(R5_UPTODATE, &sh->dev[qd_idx].flags) || in schedule_reconstruction()
3385 (test_bit(R5_UPTODATE, &dev->flags) || in schedule_reconstruction()
3389 clear_bit(R5_UPTODATE, &dev->flags); in schedule_reconstruction()
3409 clear_bit(R5_UPTODATE, &sh->dev[pd_idx].flags); in schedule_reconstruction()
3417 clear_bit(R5_UPTODATE, &dev->flags); in schedule_reconstruction()
3634 WARN_ON(test_bit(R5_UPTODATE, &sh->dev[i].flags)); in handle_failed_stripe()
3759 test_bit(R5_UPTODATE, &dev->flags)) in need_this_block()
3806 !test_bit(R5_UPTODATE, &fdev[i]->flags) && in need_this_block()
3819 !test_bit(R5_UPTODATE, &fdev[i]->flags)) in need_this_block()
3841 !test_bit(R5_UPTODATE, &fdev[i]->flags) && in need_this_block()
3909 if (!test_bit(R5_UPTODATE, in fetch_block()
3995 (test_bit(R5_UPTODATE, &dev->flags) || in handle_stripe_clean_event()
4002 clear_bit(R5_UPTODATE, &dev->flags); in handle_stripe_clean_event()
4004 WARN_ON(test_bit(R5_UPTODATE, &dev->flags)); in handle_stripe_clean_event()
4041 clear_bit(R5_UPTODATE, &sh->dev[sh->pd_idx].flags); in handle_stripe_clean_event()
4044 clear_bit(R5_UPTODATE, &sh->dev[sh->qd_idx].flags); in handle_stripe_clean_event()
4089 return (test_bit(R5_UPTODATE, &dev->flags)) && in uptodate_for_rmw()
4137 !(test_bit(R5_UPTODATE, &dev->flags) || in handle_stripe_dirtying()
4214 !(test_bit(R5_UPTODATE, &dev->flags) || in handle_stripe_dirtying()
4273 clear_bit(R5_UPTODATE, &sh->dev[sh->pd_idx].flags); in handle_parity_checks5()
4289 BUG_ON(!test_bit(R5_UPTODATE, &dev->flags)); in handle_parity_checks5()
4394 clear_bit(R5_UPTODATE, &sh->dev[pd_idx].flags); in handle_parity_checks6()
4444 if (WARN_ONCE(dev && !test_bit(R5_UPTODATE, &dev->flags), in handle_parity_checks6()
4568 set_bit(R5_UPTODATE, &sh2->dev[dd_idx].flags); in handle_stripe_expansion()
4630 if (test_bit(R5_UPTODATE, &dev->flags) && dev->toread && in analyse_stripe()
4637 if (test_bit(R5_UPTODATE, &dev->flags)) in analyse_stripe()
4692 test_bit(R5_UPTODATE, &dev->flags)) { in analyse_stripe()
4704 else if (test_bit(R5_UPTODATE, &dev->flags) && in analyse_stripe()
4997 BUG_ON(!test_bit(R5_UPTODATE, &sh->dev[sh->pd_idx].flags) && in handle_stripe()
5000 !test_bit(R5_UPTODATE, &sh->dev[sh->qd_idx].flags) && in handle_stripe()
5039 && (test_bit(R5_UPTODATE, &pdev->flags) || in handle_stripe()
5043 && (test_bit(R5_UPTODATE, &qdev->flags) || in handle_stripe()
5129 WARN_ON(!test_bit(R5_UPTODATE, &sh->dev[i].flags)); in handle_stripe()
5155 && test_bit(R5_UPTODATE, &dev->flags) in handle_stripe()
6390 set_bit(R5_UPTODATE, &sh->dev[j].flags); in reshape_request()