Lines Matching refs:R5_Discard
1082 if (test_bit(R5_Discard, &sh->dev[i].flags)) in ops_run_io()
1896 set_bit(R5_Discard, &dev->flags); in ops_run_biodrain()
1941 discard |= test_bit(R5_Discard, &sh->dev[i].flags); in ops_complete_reconstruct()
1996 if (!test_bit(R5_Discard, &sh->dev[i].flags)) in ops_run_reconstruct5()
2001 set_bit(R5_Discard, &sh->dev[pd_idx].flags); in ops_run_reconstruct5()
2089 if (!test_bit(R5_Discard, &sh->dev[i].flags)) in ops_run_reconstruct6()
2094 set_bit(R5_Discard, &sh->dev[sh->pd_idx].flags); in ops_run_reconstruct6()
2095 set_bit(R5_Discard, &sh->dev[sh->qd_idx].flags); in ops_run_reconstruct6()
3976 test_bit(R5_Discard, &dev->flags) || in handle_stripe_clean_event()
3981 if (test_and_clear_bit(R5_Discard, &dev->flags)) in handle_stripe_clean_event()
4014 } else if (test_bit(R5_Discard, &dev->flags)) in handle_stripe_clean_event()
4021 test_bit(R5_Discard, &sh->dev[sh->pd_idx].flags)) { in handle_stripe_clean_event()
4023 clear_bit(R5_Discard, &sh->dev[sh->pd_idx].flags); in handle_stripe_clean_event()
4026 clear_bit(R5_Discard, &sh->dev[sh->qd_idx].flags); in handle_stripe_clean_event()
4994 !test_bit(R5_Discard, &sh->dev[sh->pd_idx].flags)); in handle_stripe()
4997 !test_bit(R5_Discard, &sh->dev[sh->qd_idx].flags)); in handle_stripe()
5036 test_bit(R5_Discard, &pdev->flags))))) && in handle_stripe()
5040 test_bit(R5_Discard, &qdev->flags)))))) in handle_stripe()