Lines Matching refs:R5_Discard
907 if (test_bit(R5_Discard, &sh->dev[i].flags)) in ops_run_io()
1629 set_bit(R5_Discard, &dev->flags); in ops_run_biodrain()
1671 discard |= test_bit(R5_Discard, &sh->dev[i].flags); in ops_complete_reconstruct()
1721 if (!test_bit(R5_Discard, &sh->dev[i].flags)) in ops_run_reconstruct5()
1726 set_bit(R5_Discard, &sh->dev[pd_idx].flags); in ops_run_reconstruct5()
1803 if (!test_bit(R5_Discard, &sh->dev[i].flags)) in ops_run_reconstruct6()
1808 set_bit(R5_Discard, &sh->dev[sh->pd_idx].flags); in ops_run_reconstruct6()
1809 set_bit(R5_Discard, &sh->dev[sh->qd_idx].flags); in ops_run_reconstruct6()
3465 test_bit(R5_Discard, &dev->flags) || in handle_stripe_clean_event()
3470 if (test_and_clear_bit(R5_Discard, &dev->flags)) in handle_stripe_clean_event()
3505 } else if (test_bit(R5_Discard, &dev->flags)) in handle_stripe_clean_event()
3514 test_bit(R5_Discard, &sh->dev[sh->pd_idx].flags)) { in handle_stripe_clean_event()
3516 clear_bit(R5_Discard, &sh->dev[sh->pd_idx].flags); in handle_stripe_clean_event()
3519 clear_bit(R5_Discard, &sh->dev[sh->qd_idx].flags); in handle_stripe_clean_event()
4392 !test_bit(R5_Discard, &sh->dev[sh->pd_idx].flags)); in handle_stripe()
4395 !test_bit(R5_Discard, &sh->dev[sh->qd_idx].flags)); in handle_stripe()
4433 test_bit(R5_Discard, &pdev->flags))))) && in handle_stripe()
4437 test_bit(R5_Discard, &qdev->flags)))))) in handle_stripe()