Lines Matching refs:R5_Discard
1005 if (test_bit(R5_Discard, &sh->dev[i].flags)) in ops_run_io()
1761 set_bit(R5_Discard, &dev->flags); in ops_run_biodrain()
1805 discard |= test_bit(R5_Discard, &sh->dev[i].flags); in ops_complete_reconstruct()
1858 if (!test_bit(R5_Discard, &sh->dev[i].flags)) in ops_run_reconstruct5()
1863 set_bit(R5_Discard, &sh->dev[pd_idx].flags); in ops_run_reconstruct5()
1941 if (!test_bit(R5_Discard, &sh->dev[i].flags)) in ops_run_reconstruct6()
1946 set_bit(R5_Discard, &sh->dev[sh->pd_idx].flags); in ops_run_reconstruct6()
1947 set_bit(R5_Discard, &sh->dev[sh->qd_idx].flags); in ops_run_reconstruct6()
3764 test_bit(R5_Discard, &dev->flags) || in handle_stripe_clean_event()
3769 if (test_and_clear_bit(R5_Discard, &dev->flags)) in handle_stripe_clean_event()
3802 } else if (test_bit(R5_Discard, &dev->flags)) in handle_stripe_clean_event()
3809 test_bit(R5_Discard, &sh->dev[sh->pd_idx].flags)) { in handle_stripe_clean_event()
3811 clear_bit(R5_Discard, &sh->dev[sh->pd_idx].flags); in handle_stripe_clean_event()
3814 clear_bit(R5_Discard, &sh->dev[sh->qd_idx].flags); in handle_stripe_clean_event()
4780 !test_bit(R5_Discard, &sh->dev[sh->pd_idx].flags)); in handle_stripe()
4783 !test_bit(R5_Discard, &sh->dev[sh->qd_idx].flags)); in handle_stripe()
4822 test_bit(R5_Discard, &pdev->flags))))) && in handle_stripe()
4826 test_bit(R5_Discard, &qdev->flags)))))) in handle_stripe()