Lines Matching refs:R5_Discard
1166 if (test_bit(R5_Discard, &sh->dev[i].flags)) in ops_run_io()
1949 set_bit(R5_Discard, &dev->flags); in ops_run_biodrain()
1994 discard |= test_bit(R5_Discard, &sh->dev[i].flags); in ops_complete_reconstruct()
2049 if (!test_bit(R5_Discard, &sh->dev[i].flags)) in ops_run_reconstruct5()
2054 set_bit(R5_Discard, &sh->dev[pd_idx].flags); in ops_run_reconstruct5()
2142 if (!test_bit(R5_Discard, &sh->dev[i].flags)) in ops_run_reconstruct6()
2147 set_bit(R5_Discard, &sh->dev[sh->pd_idx].flags); in ops_run_reconstruct6()
2148 set_bit(R5_Discard, &sh->dev[sh->qd_idx].flags); in ops_run_reconstruct6()
3996 test_bit(R5_Discard, &dev->flags) || in handle_stripe_clean_event()
4001 if (test_and_clear_bit(R5_Discard, &dev->flags)) in handle_stripe_clean_event()
4031 } else if (test_bit(R5_Discard, &dev->flags)) in handle_stripe_clean_event()
4038 test_bit(R5_Discard, &sh->dev[sh->pd_idx].flags)) { in handle_stripe_clean_event()
4040 clear_bit(R5_Discard, &sh->dev[sh->pd_idx].flags); in handle_stripe_clean_event()
4043 clear_bit(R5_Discard, &sh->dev[sh->qd_idx].flags); in handle_stripe_clean_event()
4998 !test_bit(R5_Discard, &sh->dev[sh->pd_idx].flags)); in handle_stripe()
5001 !test_bit(R5_Discard, &sh->dev[sh->qd_idx].flags)); in handle_stripe()
5040 test_bit(R5_Discard, &pdev->flags))))) && in handle_stripe()
5044 test_bit(R5_Discard, &qdev->flags)))))) in handle_stripe()