Lines Matching refs:R5_Discard
1185 if (test_bit(R5_Discard, &sh->dev[i].flags)) in ops_run_io()
1968 set_bit(R5_Discard, &dev->flags); in ops_run_biodrain()
2013 discard |= test_bit(R5_Discard, &sh->dev[i].flags); in ops_complete_reconstruct()
2068 if (!test_bit(R5_Discard, &sh->dev[i].flags)) in ops_run_reconstruct5()
2073 set_bit(R5_Discard, &sh->dev[pd_idx].flags); in ops_run_reconstruct5()
2161 if (!test_bit(R5_Discard, &sh->dev[i].flags)) in ops_run_reconstruct6()
2166 set_bit(R5_Discard, &sh->dev[sh->pd_idx].flags); in ops_run_reconstruct6()
2167 set_bit(R5_Discard, &sh->dev[sh->qd_idx].flags); in ops_run_reconstruct6()
4088 test_bit(R5_Discard, &dev->flags) || in handle_stripe_clean_event()
4093 if (test_and_clear_bit(R5_Discard, &dev->flags)) in handle_stripe_clean_event()
4123 } else if (test_bit(R5_Discard, &dev->flags)) in handle_stripe_clean_event()
4130 test_bit(R5_Discard, &sh->dev[sh->pd_idx].flags)) { in handle_stripe_clean_event()
4132 clear_bit(R5_Discard, &sh->dev[sh->pd_idx].flags); in handle_stripe_clean_event()
4135 clear_bit(R5_Discard, &sh->dev[sh->qd_idx].flags); in handle_stripe_clean_event()
5117 !test_bit(R5_Discard, &sh->dev[sh->pd_idx].flags)); in handle_stripe()
5120 !test_bit(R5_Discard, &sh->dev[sh->qd_idx].flags)); in handle_stripe()
5159 test_bit(R5_Discard, &pdev->flags))))) && in handle_stripe()
5163 test_bit(R5_Discard, &qdev->flags)))))) in handle_stripe()