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()
3317 clear_bit(R5_UPTODATE, &dev->flags); in schedule_reconstruction()
3343 BUG_ON(!(test_bit(R5_UPTODATE, &sh->dev[pd_idx].flags) || in schedule_reconstruction()
3346 (!(test_bit(R5_UPTODATE, &sh->dev[qd_idx].flags) || in schedule_reconstruction()
3355 (test_bit(R5_UPTODATE, &dev->flags) || in schedule_reconstruction()
3359 clear_bit(R5_UPTODATE, &dev->flags); in schedule_reconstruction()
3379 clear_bit(R5_UPTODATE, &sh->dev[pd_idx].flags); in schedule_reconstruction()
3387 clear_bit(R5_UPTODATE, &dev->flags); in schedule_reconstruction()
3609 WARN_ON(test_bit(R5_UPTODATE, &sh->dev[i].flags)); in handle_failed_stripe()
3740 test_bit(R5_UPTODATE, &dev->flags)) in need_this_block()
3787 !test_bit(R5_UPTODATE, &fdev[i]->flags) && in need_this_block()
3800 !test_bit(R5_UPTODATE, &fdev[i]->flags)) in need_this_block()
3822 !test_bit(R5_UPTODATE, &fdev[i]->flags) && in need_this_block()
3890 if (!test_bit(R5_UPTODATE, in fetch_block()
3976 (test_bit(R5_UPTODATE, &dev->flags) || in handle_stripe_clean_event()
3983 clear_bit(R5_UPTODATE, &dev->flags); in handle_stripe_clean_event()
3985 WARN_ON(test_bit(R5_UPTODATE, &dev->flags)); in handle_stripe_clean_event()
4025 clear_bit(R5_UPTODATE, &sh->dev[sh->pd_idx].flags); in handle_stripe_clean_event()
4028 clear_bit(R5_UPTODATE, &sh->dev[sh->qd_idx].flags); in handle_stripe_clean_event()
4073 return (test_bit(R5_UPTODATE, &dev->flags)) && in uptodate_for_rmw()
4121 !(test_bit(R5_UPTODATE, &dev->flags) || in handle_stripe_dirtying()
4199 !(test_bit(R5_UPTODATE, &dev->flags) || in handle_stripe_dirtying()
4257 clear_bit(R5_UPTODATE, &sh->dev[sh->pd_idx].flags); in handle_parity_checks5()
4273 BUG_ON(!test_bit(R5_UPTODATE, &dev->flags)); in handle_parity_checks5()
4379 clear_bit(R5_UPTODATE, &sh->dev[pd_idx].flags); in handle_parity_checks6()
4429 if (WARN_ONCE(dev && !test_bit(R5_UPTODATE, &dev->flags), in handle_parity_checks6()
4553 set_bit(R5_UPTODATE, &sh2->dev[dd_idx].flags); in handle_stripe_expansion()
4618 if (test_bit(R5_UPTODATE, &dev->flags) && dev->toread && in analyse_stripe()
4625 if (test_bit(R5_UPTODATE, &dev->flags)) in analyse_stripe()
4681 test_bit(R5_UPTODATE, &dev->flags)) { in analyse_stripe()
4693 else if (test_bit(R5_UPTODATE, &dev->flags) && in analyse_stripe()
4994 BUG_ON(!test_bit(R5_UPTODATE, &sh->dev[sh->pd_idx].flags) && in handle_stripe()
4997 !test_bit(R5_UPTODATE, &sh->dev[sh->qd_idx].flags) && in handle_stripe()
5036 && (test_bit(R5_UPTODATE, &pdev->flags) || in handle_stripe()
5040 && (test_bit(R5_UPTODATE, &qdev->flags) || in handle_stripe()
5126 WARN_ON(!test_bit(R5_UPTODATE, &sh->dev[i].flags)); in handle_stripe()
5152 && test_bit(R5_UPTODATE, &dev->flags) in handle_stripe()
6128 set_bit(R5_UPTODATE, &sh->dev[j].flags); in reshape_request()