Lines Matching refs:R5_Discard
1167 if (test_bit(R5_Discard, &sh->dev[i].flags)) in ops_run_io()
1975 set_bit(R5_Discard, &dev->flags); in ops_run_biodrain()
2020 discard |= test_bit(R5_Discard, &sh->dev[i].flags); in ops_complete_reconstruct()
2075 if (!test_bit(R5_Discard, &sh->dev[i].flags)) in ops_run_reconstruct5()
2080 set_bit(R5_Discard, &sh->dev[pd_idx].flags); in ops_run_reconstruct5()
2168 if (!test_bit(R5_Discard, &sh->dev[i].flags)) in ops_run_reconstruct6()
2173 set_bit(R5_Discard, &sh->dev[sh->pd_idx].flags); in ops_run_reconstruct6()
2174 set_bit(R5_Discard, &sh->dev[sh->qd_idx].flags); in ops_run_reconstruct6()
4086 test_bit(R5_Discard, &dev->flags) || in handle_stripe_clean_event()
4091 if (test_and_clear_bit(R5_Discard, &dev->flags)) in handle_stripe_clean_event()
4124 } else if (test_bit(R5_Discard, &dev->flags)) in handle_stripe_clean_event()
4131 test_bit(R5_Discard, &sh->dev[sh->pd_idx].flags)) { in handle_stripe_clean_event()
4133 clear_bit(R5_Discard, &sh->dev[sh->pd_idx].flags); in handle_stripe_clean_event()
4136 clear_bit(R5_Discard, &sh->dev[sh->qd_idx].flags); in handle_stripe_clean_event()
5105 !test_bit(R5_Discard, &sh->dev[sh->pd_idx].flags)); in handle_stripe()
5108 !test_bit(R5_Discard, &sh->dev[sh->qd_idx].flags)); in handle_stripe()
5147 test_bit(R5_Discard, &pdev->flags))))) && in handle_stripe()
5151 test_bit(R5_Discard, &qdev->flags)))))) in handle_stripe()