Lines Matching refs:R5_UPTODATE

1018 				WARN_ON(test_bit(R5_UPTODATE, &sh->dev[i].flags));  in ops_run_io()
1067 WARN_ON(test_bit(R5_UPTODATE, &sh->dev[i].flags)); in ops_run_io()
1249 set_bit(R5_UPTODATE, &tgt->flags); in mark_target_uptodate()
1633 clear_bit(R5_UPTODATE, &dev->flags); in ops_run_biodrain()
1677 set_bit(R5_UPTODATE, &dev->flags); in ops_complete_reconstruct()
2322 set_bit(R5_UPTODATE, &sh->dev[i].flags); in raid5_end_read_request()
2348 clear_bit(R5_UPTODATE, &sh->dev[i].flags); in raid5_end_read_request()
2875 clear_bit(R5_UPTODATE, &dev->flags); in schedule_reconstruction()
2898 BUG_ON(!(test_bit(R5_UPTODATE, &sh->dev[pd_idx].flags) || in schedule_reconstruction()
2901 (!(test_bit(R5_UPTODATE, &sh->dev[qd_idx].flags) || in schedule_reconstruction()
2910 (test_bit(R5_UPTODATE, &dev->flags) || in schedule_reconstruction()
2914 clear_bit(R5_UPTODATE, &dev->flags); in schedule_reconstruction()
2931 clear_bit(R5_UPTODATE, &sh->dev[pd_idx].flags); in schedule_reconstruction()
2939 clear_bit(R5_UPTODATE, &dev->flags); in schedule_reconstruction()
3132 WARN_ON(test_bit(R5_UPTODATE, &sh->dev[i].flags)); in handle_failed_stripe()
3267 test_bit(R5_UPTODATE, &dev->flags)) in need_this_block()
3314 !test_bit(R5_UPTODATE, &fdev[i]->flags) && in need_this_block()
3339 !test_bit(R5_UPTODATE, &fdev[i]->flags) && in need_this_block()
3390 if (!test_bit(R5_UPTODATE, in fetch_block()
3460 (test_bit(R5_UPTODATE, &dev->flags) || in handle_stripe_clean_event()
3467 clear_bit(R5_UPTODATE, &dev->flags); in handle_stripe_clean_event()
3469 WARN_ON(test_bit(R5_UPTODATE, &dev->flags)); in handle_stripe_clean_event()
3511 clear_bit(R5_UPTODATE, &sh->dev[sh->pd_idx].flags); in handle_stripe_clean_event()
3514 clear_bit(R5_UPTODATE, &sh->dev[sh->qd_idx].flags); in handle_stripe_clean_event()
3579 !(test_bit(R5_UPTODATE, &dev->flags) || in handle_stripe_dirtying()
3590 !(test_bit(R5_UPTODATE, &dev->flags) || in handle_stripe_dirtying()
3611 !(test_bit(R5_UPTODATE, &dev->flags) || in handle_stripe_dirtying()
3637 !(test_bit(R5_UPTODATE, &dev->flags) || in handle_stripe_dirtying()
3696 clear_bit(R5_UPTODATE, &sh->dev[sh->pd_idx].flags); in handle_parity_checks5()
3712 BUG_ON(!test_bit(R5_UPTODATE, &dev->flags)); in handle_parity_checks5()
3813 clear_bit(R5_UPTODATE, &sh->dev[pd_idx].flags); in handle_parity_checks6()
3973 set_bit(R5_UPTODATE, &sh2->dev[dd_idx].flags); in handle_stripe_expansion()
4037 if (test_bit(R5_UPTODATE, &dev->flags) && dev->toread && in analyse_stripe()
4044 if (test_bit(R5_UPTODATE, &dev->flags)) in analyse_stripe()
4098 test_bit(R5_UPTODATE, &dev->flags)) { in analyse_stripe()
4110 else if (test_bit(R5_UPTODATE, &dev->flags) && in analyse_stripe()
4379 BUG_ON(!test_bit(R5_UPTODATE, &sh->dev[sh->pd_idx].flags) && in handle_stripe()
4382 !test_bit(R5_UPTODATE, &sh->dev[sh->qd_idx].flags) && in handle_stripe()
4420 && (test_bit(R5_UPTODATE, &pdev->flags) || in handle_stripe()
4424 && (test_bit(R5_UPTODATE, &qdev->flags) || in handle_stripe()
4469 WARN_ON(!test_bit(R5_UPTODATE, &sh->dev[i].flags)); in handle_stripe()
4495 && test_bit(R5_UPTODATE, &dev->flags) in handle_stripe()
5492 set_bit(R5_UPTODATE, &sh->dev[j].flags); in reshape_request()