Lines Matching refs:R5_UPTODATE

1286 				WARN_ON(test_bit(R5_UPTODATE, &sh->dev[i].flags));  in ops_run_io()
1339 WARN_ON(test_bit(R5_UPTODATE, &sh->dev[i].flags)); in ops_run_io()
1521 set_bit(R5_UPTODATE, &tgt->flags); in mark_target_uptodate()
1977 clear_bit(R5_UPTODATE, &dev->flags); in ops_run_biodrain()
2021 set_bit(R5_UPTODATE, &dev->flags); in ops_complete_reconstruct()
2757 set_bit(R5_UPTODATE, &sh->dev[i].flags); in raid5_end_read_request()
2788 clear_bit(R5_UPTODATE, &sh->dev[i].flags); in raid5_end_read_request()
3361 clear_bit(R5_UPTODATE, &dev->flags); in schedule_reconstruction()
3387 BUG_ON(!(test_bit(R5_UPTODATE, &sh->dev[pd_idx].flags) || in schedule_reconstruction()
3390 (!(test_bit(R5_UPTODATE, &sh->dev[qd_idx].flags) || in schedule_reconstruction()
3399 (test_bit(R5_UPTODATE, &dev->flags) || in schedule_reconstruction()
3403 clear_bit(R5_UPTODATE, &dev->flags); in schedule_reconstruction()
3423 clear_bit(R5_UPTODATE, &sh->dev[pd_idx].flags); in schedule_reconstruction()
3431 clear_bit(R5_UPTODATE, &dev->flags); in schedule_reconstruction()
3647 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()
4087 (test_bit(R5_UPTODATE, &dev->flags) || in handle_stripe_clean_event()
4094 clear_bit(R5_UPTODATE, &dev->flags); in handle_stripe_clean_event()
4096 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()
4236 !(test_bit(R5_UPTODATE, &dev->flags) || in handle_stripe_dirtying()
4313 !(test_bit(R5_UPTODATE, &dev->flags) || in handle_stripe_dirtying()
4372 clear_bit(R5_UPTODATE, &sh->dev[sh->pd_idx].flags); in handle_parity_checks5()
4388 BUG_ON(!test_bit(R5_UPTODATE, &dev->flags)); in handle_parity_checks5()
4493 clear_bit(R5_UPTODATE, &sh->dev[pd_idx].flags); in handle_parity_checks6()
4543 if (WARN_ONCE(dev && !test_bit(R5_UPTODATE, &dev->flags), in handle_parity_checks6()
4667 set_bit(R5_UPTODATE, &sh2->dev[dd_idx].flags); in handle_stripe_expansion()
4715 if (test_bit(R5_UPTODATE, &dev->flags) && dev->toread && in analyse_stripe()
4722 if (test_bit(R5_UPTODATE, &dev->flags)) in analyse_stripe()
4778 test_bit(R5_UPTODATE, &dev->flags)) { in analyse_stripe()
4801 } else if (test_bit(R5_UPTODATE, &dev->flags) && in analyse_stripe()
5116 BUG_ON(!test_bit(R5_UPTODATE, &sh->dev[sh->pd_idx].flags) && in handle_stripe()
5119 !test_bit(R5_UPTODATE, &sh->dev[sh->qd_idx].flags) && in handle_stripe()
5158 && (test_bit(R5_UPTODATE, &pdev->flags) || in handle_stripe()
5162 && (test_bit(R5_UPTODATE, &qdev->flags) || in handle_stripe()
5248 WARN_ON(!test_bit(R5_UPTODATE, &sh->dev[i].flags)); in handle_stripe()
5274 && test_bit(R5_UPTODATE, &dev->flags) in handle_stripe()
6576 set_bit(R5_UPTODATE, &sh->dev[j].flags); in reshape_request()