Lines Matching refs:R5_UPTODATE
1197 WARN_ON(test_bit(R5_UPTODATE, &sh->dev[i].flags)); in ops_run_io()
1261 WARN_ON(test_bit(R5_UPTODATE, &sh->dev[i].flags)); in ops_run_io()
1450 set_bit(R5_UPTODATE, &tgt->flags); in mark_target_uptodate()
1906 clear_bit(R5_UPTODATE, &dev->flags); in ops_run_biodrain()
1950 set_bit(R5_UPTODATE, &dev->flags); in ops_complete_reconstruct()
2699 set_bit(R5_UPTODATE, &sh->dev[i].flags); in raid5_end_read_request()
2730 clear_bit(R5_UPTODATE, &sh->dev[i].flags); in raid5_end_read_request()
3314 clear_bit(R5_UPTODATE, &dev->flags); in schedule_reconstruction()
3340 BUG_ON(!(test_bit(R5_UPTODATE, &sh->dev[pd_idx].flags) || in schedule_reconstruction()
3343 (!(test_bit(R5_UPTODATE, &sh->dev[qd_idx].flags) || in schedule_reconstruction()
3352 (test_bit(R5_UPTODATE, &dev->flags) || in schedule_reconstruction()
3356 clear_bit(R5_UPTODATE, &dev->flags); in schedule_reconstruction()
3376 clear_bit(R5_UPTODATE, &sh->dev[pd_idx].flags); in schedule_reconstruction()
3384 clear_bit(R5_UPTODATE, &dev->flags); in schedule_reconstruction()
3606 WARN_ON(test_bit(R5_UPTODATE, &sh->dev[i].flags)); in handle_failed_stripe()
3737 test_bit(R5_UPTODATE, &dev->flags)) in need_this_block()
3784 !test_bit(R5_UPTODATE, &fdev[i]->flags) && in need_this_block()
3797 !test_bit(R5_UPTODATE, &fdev[i]->flags)) in need_this_block()
3819 !test_bit(R5_UPTODATE, &fdev[i]->flags) && in need_this_block()
3887 if (!test_bit(R5_UPTODATE, in fetch_block()
3973 (test_bit(R5_UPTODATE, &dev->flags) || in handle_stripe_clean_event()
3980 clear_bit(R5_UPTODATE, &dev->flags); in handle_stripe_clean_event()
3982 WARN_ON(test_bit(R5_UPTODATE, &dev->flags)); in handle_stripe_clean_event()
4022 clear_bit(R5_UPTODATE, &sh->dev[sh->pd_idx].flags); in handle_stripe_clean_event()
4025 clear_bit(R5_UPTODATE, &sh->dev[sh->qd_idx].flags); in handle_stripe_clean_event()
4070 return (test_bit(R5_UPTODATE, &dev->flags)) && in uptodate_for_rmw()
4118 !(test_bit(R5_UPTODATE, &dev->flags) || in handle_stripe_dirtying()
4196 !(test_bit(R5_UPTODATE, &dev->flags) || in handle_stripe_dirtying()
4254 clear_bit(R5_UPTODATE, &sh->dev[sh->pd_idx].flags); in handle_parity_checks5()
4270 BUG_ON(!test_bit(R5_UPTODATE, &dev->flags)); in handle_parity_checks5()
4376 clear_bit(R5_UPTODATE, &sh->dev[pd_idx].flags); in handle_parity_checks6()
4426 if (WARN_ONCE(dev && !test_bit(R5_UPTODATE, &dev->flags), in handle_parity_checks6()
4550 set_bit(R5_UPTODATE, &sh2->dev[dd_idx].flags); in handle_stripe_expansion()
4615 if (test_bit(R5_UPTODATE, &dev->flags) && dev->toread && in analyse_stripe()
4622 if (test_bit(R5_UPTODATE, &dev->flags)) in analyse_stripe()
4678 test_bit(R5_UPTODATE, &dev->flags)) { in analyse_stripe()
4690 else if (test_bit(R5_UPTODATE, &dev->flags) && in analyse_stripe()
4991 BUG_ON(!test_bit(R5_UPTODATE, &sh->dev[sh->pd_idx].flags) && in handle_stripe()
4994 !test_bit(R5_UPTODATE, &sh->dev[sh->qd_idx].flags) && in handle_stripe()
5033 && (test_bit(R5_UPTODATE, &pdev->flags) || in handle_stripe()
5037 && (test_bit(R5_UPTODATE, &qdev->flags) || in handle_stripe()
5123 WARN_ON(!test_bit(R5_UPTODATE, &sh->dev[i].flags)); in handle_stripe()
5149 && test_bit(R5_UPTODATE, &dev->flags) in handle_stripe()
6122 set_bit(R5_UPTODATE, &sh->dev[j].flags); in reshape_request()