Lines Matching refs:R5_UPTODATE
1281 WARN_ON(test_bit(R5_UPTODATE, &sh->dev[i].flags)); in ops_run_io()
1341 WARN_ON(test_bit(R5_UPTODATE, &sh->dev[i].flags)); in ops_run_io()
1528 set_bit(R5_UPTODATE, &tgt->flags); in mark_target_uptodate()
1984 clear_bit(R5_UPTODATE, &dev->flags); in ops_run_biodrain()
2028 set_bit(R5_UPTODATE, &dev->flags); in ops_complete_reconstruct()
2790 set_bit(R5_UPTODATE, &sh->dev[i].flags); in raid5_end_read_request()
2820 clear_bit(R5_UPTODATE, &sh->dev[i].flags); in raid5_end_read_request()
3402 clear_bit(R5_UPTODATE, &dev->flags); in schedule_reconstruction()
3428 BUG_ON(!(test_bit(R5_UPTODATE, &sh->dev[pd_idx].flags) || in schedule_reconstruction()
3431 (!(test_bit(R5_UPTODATE, &sh->dev[qd_idx].flags) || in schedule_reconstruction()
3440 (test_bit(R5_UPTODATE, &dev->flags) || in schedule_reconstruction()
3444 clear_bit(R5_UPTODATE, &dev->flags); in schedule_reconstruction()
3464 clear_bit(R5_UPTODATE, &sh->dev[pd_idx].flags); in schedule_reconstruction()
3472 clear_bit(R5_UPTODATE, &dev->flags); in schedule_reconstruction()
3718 WARN_ON(test_bit(R5_UPTODATE, &sh->dev[i].flags)); in handle_failed_stripe()
3849 test_bit(R5_UPTODATE, &dev->flags)) in need_this_block()
3896 !test_bit(R5_UPTODATE, &fdev[i]->flags) && in need_this_block()
3909 !test_bit(R5_UPTODATE, &fdev[i]->flags)) in need_this_block()
3931 !test_bit(R5_UPTODATE, &fdev[i]->flags) && in need_this_block()
3999 if (!test_bit(R5_UPTODATE, in fetch_block()
4085 (test_bit(R5_UPTODATE, &dev->flags) || in handle_stripe_clean_event()
4092 clear_bit(R5_UPTODATE, &dev->flags); in handle_stripe_clean_event()
4094 WARN_ON(test_bit(R5_UPTODATE, &dev->flags)); in handle_stripe_clean_event()
4134 clear_bit(R5_UPTODATE, &sh->dev[sh->pd_idx].flags); in handle_stripe_clean_event()
4137 clear_bit(R5_UPTODATE, &sh->dev[sh->qd_idx].flags); in handle_stripe_clean_event()
4182 return (test_bit(R5_UPTODATE, &dev->flags)) && in uptodate_for_rmw()
4230 !(test_bit(R5_UPTODATE, &dev->flags) || in handle_stripe_dirtying()
4308 !(test_bit(R5_UPTODATE, &dev->flags) || in handle_stripe_dirtying()
4366 clear_bit(R5_UPTODATE, &sh->dev[sh->pd_idx].flags); in handle_parity_checks5()
4382 BUG_ON(!test_bit(R5_UPTODATE, &dev->flags)); in handle_parity_checks5()
4488 clear_bit(R5_UPTODATE, &sh->dev[pd_idx].flags); in handle_parity_checks6()
4538 if (WARN_ONCE(dev && !test_bit(R5_UPTODATE, &dev->flags), in handle_parity_checks6()
4663 set_bit(R5_UPTODATE, &sh2->dev[dd_idx].flags); in handle_stripe_expansion()
4728 if (test_bit(R5_UPTODATE, &dev->flags) && dev->toread && in analyse_stripe()
4735 if (test_bit(R5_UPTODATE, &dev->flags)) in analyse_stripe()
4791 test_bit(R5_UPTODATE, &dev->flags)) { in analyse_stripe()
4803 else if (test_bit(R5_UPTODATE, &dev->flags) && in analyse_stripe()
5104 BUG_ON(!test_bit(R5_UPTODATE, &sh->dev[sh->pd_idx].flags) && in handle_stripe()
5107 !test_bit(R5_UPTODATE, &sh->dev[sh->qd_idx].flags) && in handle_stripe()
5146 && (test_bit(R5_UPTODATE, &pdev->flags) || in handle_stripe()
5150 && (test_bit(R5_UPTODATE, &qdev->flags) || in handle_stripe()
5236 WARN_ON(!test_bit(R5_UPTODATE, &sh->dev[i].flags)); in handle_stripe()
5262 && test_bit(R5_UPTODATE, &dev->flags) in handle_stripe()
6445 set_bit(R5_UPTODATE, &sh->dev[j].flags); in reshape_request()