Lines Matching refs:R5_UPTODATE

1280 				WARN_ON(test_bit(R5_UPTODATE, &sh->dev[i].flags));  in ops_run_io()
1340 WARN_ON(test_bit(R5_UPTODATE, &sh->dev[i].flags)); in ops_run_io()
1527 set_bit(R5_UPTODATE, &tgt->flags); in mark_target_uptodate()
1983 clear_bit(R5_UPTODATE, &dev->flags); in ops_run_biodrain()
2027 set_bit(R5_UPTODATE, &dev->flags); in ops_complete_reconstruct()
2789 set_bit(R5_UPTODATE, &sh->dev[i].flags); in raid5_end_read_request()
2819 clear_bit(R5_UPTODATE, &sh->dev[i].flags); in raid5_end_read_request()
3401 clear_bit(R5_UPTODATE, &dev->flags); in schedule_reconstruction()
3427 BUG_ON(!(test_bit(R5_UPTODATE, &sh->dev[pd_idx].flags) || in schedule_reconstruction()
3430 (!(test_bit(R5_UPTODATE, &sh->dev[qd_idx].flags) || in schedule_reconstruction()
3439 (test_bit(R5_UPTODATE, &dev->flags) || in schedule_reconstruction()
3443 clear_bit(R5_UPTODATE, &dev->flags); in schedule_reconstruction()
3463 clear_bit(R5_UPTODATE, &sh->dev[pd_idx].flags); in schedule_reconstruction()
3471 clear_bit(R5_UPTODATE, &dev->flags); in schedule_reconstruction()
3717 WARN_ON(test_bit(R5_UPTODATE, &sh->dev[i].flags)); in handle_failed_stripe()
3848 test_bit(R5_UPTODATE, &dev->flags)) in need_this_block()
3895 !test_bit(R5_UPTODATE, &fdev[i]->flags) && in need_this_block()
3908 !test_bit(R5_UPTODATE, &fdev[i]->flags)) in need_this_block()
3930 !test_bit(R5_UPTODATE, &fdev[i]->flags) && in need_this_block()
3998 if (!test_bit(R5_UPTODATE, in fetch_block()
4084 (test_bit(R5_UPTODATE, &dev->flags) || in handle_stripe_clean_event()
4091 clear_bit(R5_UPTODATE, &dev->flags); in handle_stripe_clean_event()
4093 WARN_ON(test_bit(R5_UPTODATE, &dev->flags)); in handle_stripe_clean_event()
4133 clear_bit(R5_UPTODATE, &sh->dev[sh->pd_idx].flags); in handle_stripe_clean_event()
4136 clear_bit(R5_UPTODATE, &sh->dev[sh->qd_idx].flags); in handle_stripe_clean_event()
4181 return (test_bit(R5_UPTODATE, &dev->flags)) && in uptodate_for_rmw()
4229 !(test_bit(R5_UPTODATE, &dev->flags) || in handle_stripe_dirtying()
4307 !(test_bit(R5_UPTODATE, &dev->flags) || in handle_stripe_dirtying()
4365 clear_bit(R5_UPTODATE, &sh->dev[sh->pd_idx].flags); in handle_parity_checks5()
4381 BUG_ON(!test_bit(R5_UPTODATE, &dev->flags)); in handle_parity_checks5()
4487 clear_bit(R5_UPTODATE, &sh->dev[pd_idx].flags); in handle_parity_checks6()
4537 if (WARN_ONCE(dev && !test_bit(R5_UPTODATE, &dev->flags), in handle_parity_checks6()
4662 set_bit(R5_UPTODATE, &sh2->dev[dd_idx].flags); in handle_stripe_expansion()
4727 if (test_bit(R5_UPTODATE, &dev->flags) && dev->toread && in analyse_stripe()
4734 if (test_bit(R5_UPTODATE, &dev->flags)) in analyse_stripe()
4790 test_bit(R5_UPTODATE, &dev->flags)) { in analyse_stripe()
4802 else if (test_bit(R5_UPTODATE, &dev->flags) && in analyse_stripe()
5103 BUG_ON(!test_bit(R5_UPTODATE, &sh->dev[sh->pd_idx].flags) && in handle_stripe()
5106 !test_bit(R5_UPTODATE, &sh->dev[sh->qd_idx].flags) && in handle_stripe()
5145 && (test_bit(R5_UPTODATE, &pdev->flags) || in handle_stripe()
5149 && (test_bit(R5_UPTODATE, &qdev->flags) || in handle_stripe()
5235 WARN_ON(!test_bit(R5_UPTODATE, &sh->dev[i].flags)); in handle_stripe()
5261 && test_bit(R5_UPTODATE, &dev->flags) in handle_stripe()
6450 set_bit(R5_UPTODATE, &sh->dev[j].flags); in reshape_request()