Lines Matching refs:R5_UPTODATE

1022 				WARN_ON(test_bit(R5_UPTODATE, &sh->dev[i].flags));  in ops_run_io()
1071 WARN_ON(test_bit(R5_UPTODATE, &sh->dev[i].flags)); in ops_run_io()
1251 set_bit(R5_UPTODATE, &tgt->flags); in mark_target_uptodate()
1635 clear_bit(R5_UPTODATE, &dev->flags); in ops_run_biodrain()
1679 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()
2873 clear_bit(R5_UPTODATE, &dev->flags); in schedule_reconstruction()
2896 BUG_ON(!(test_bit(R5_UPTODATE, &sh->dev[pd_idx].flags) || in schedule_reconstruction()
2899 (!(test_bit(R5_UPTODATE, &sh->dev[qd_idx].flags) || in schedule_reconstruction()
2908 (test_bit(R5_UPTODATE, &dev->flags) || in schedule_reconstruction()
2912 clear_bit(R5_UPTODATE, &dev->flags); in schedule_reconstruction()
2929 clear_bit(R5_UPTODATE, &sh->dev[pd_idx].flags); in schedule_reconstruction()
2937 clear_bit(R5_UPTODATE, &dev->flags); in schedule_reconstruction()
3132 WARN_ON(test_bit(R5_UPTODATE, &sh->dev[i].flags)); in handle_failed_stripe()
3271 test_bit(R5_UPTODATE, &dev->flags)) in need_this_block()
3318 !test_bit(R5_UPTODATE, &fdev[i]->flags) && in need_this_block()
3343 !test_bit(R5_UPTODATE, &fdev[i]->flags) && in need_this_block()
3394 if (!test_bit(R5_UPTODATE, in fetch_block()
3464 (test_bit(R5_UPTODATE, &dev->flags) || in handle_stripe_clean_event()
3471 clear_bit(R5_UPTODATE, &dev->flags); in handle_stripe_clean_event()
3473 WARN_ON(test_bit(R5_UPTODATE, &dev->flags)); in handle_stripe_clean_event()
3517 clear_bit(R5_UPTODATE, &sh->dev[sh->pd_idx].flags); in handle_stripe_clean_event()
3520 clear_bit(R5_UPTODATE, &sh->dev[sh->qd_idx].flags); in handle_stripe_clean_event()
3585 !(test_bit(R5_UPTODATE, &dev->flags) || in handle_stripe_dirtying()
3596 !(test_bit(R5_UPTODATE, &dev->flags) || in handle_stripe_dirtying()
3617 !(test_bit(R5_UPTODATE, &dev->flags) || in handle_stripe_dirtying()
3643 !(test_bit(R5_UPTODATE, &dev->flags) || in handle_stripe_dirtying()
3702 clear_bit(R5_UPTODATE, &sh->dev[sh->pd_idx].flags); in handle_parity_checks5()
3718 BUG_ON(!test_bit(R5_UPTODATE, &dev->flags)); in handle_parity_checks5()
3819 clear_bit(R5_UPTODATE, &sh->dev[pd_idx].flags); in handle_parity_checks6()
3979 set_bit(R5_UPTODATE, &sh2->dev[dd_idx].flags); in handle_stripe_expansion()
4044 if (test_bit(R5_UPTODATE, &dev->flags) && dev->toread && in analyse_stripe()
4051 if (test_bit(R5_UPTODATE, &dev->flags)) in analyse_stripe()
4107 test_bit(R5_UPTODATE, &dev->flags)) { in analyse_stripe()
4119 else if (test_bit(R5_UPTODATE, &dev->flags) && in analyse_stripe()
4391 BUG_ON(!test_bit(R5_UPTODATE, &sh->dev[sh->pd_idx].flags) && in handle_stripe()
4394 !test_bit(R5_UPTODATE, &sh->dev[sh->qd_idx].flags) && in handle_stripe()
4432 && (test_bit(R5_UPTODATE, &pdev->flags) || in handle_stripe()
4436 && (test_bit(R5_UPTODATE, &qdev->flags) || in handle_stripe()
4481 WARN_ON(!test_bit(R5_UPTODATE, &sh->dev[i].flags)); in handle_stripe()
4507 && test_bit(R5_UPTODATE, &dev->flags) in handle_stripe()
5505 set_bit(R5_UPTODATE, &sh->dev[j].flags); in reshape_request()