Lines Matching refs:R5_Discard
1166 if (test_bit(R5_Discard, &sh->dev[i].flags)) in ops_run_io()
1957 set_bit(R5_Discard, &dev->flags); in ops_run_biodrain()
2002 discard |= test_bit(R5_Discard, &sh->dev[i].flags); in ops_complete_reconstruct()
2057 if (!test_bit(R5_Discard, &sh->dev[i].flags)) in ops_run_reconstruct5()
2062 set_bit(R5_Discard, &sh->dev[pd_idx].flags); in ops_run_reconstruct5()
2150 if (!test_bit(R5_Discard, &sh->dev[i].flags)) in ops_run_reconstruct6()
2155 set_bit(R5_Discard, &sh->dev[sh->pd_idx].flags); in ops_run_reconstruct6()
2156 set_bit(R5_Discard, &sh->dev[sh->qd_idx].flags); in ops_run_reconstruct6()
4004 test_bit(R5_Discard, &dev->flags) || in handle_stripe_clean_event()
4009 if (test_and_clear_bit(R5_Discard, &dev->flags)) in handle_stripe_clean_event()
4039 } else if (test_bit(R5_Discard, &dev->flags)) in handle_stripe_clean_event()
4046 test_bit(R5_Discard, &sh->dev[sh->pd_idx].flags)) { in handle_stripe_clean_event()
4048 clear_bit(R5_Discard, &sh->dev[sh->pd_idx].flags); in handle_stripe_clean_event()
4051 clear_bit(R5_Discard, &sh->dev[sh->qd_idx].flags); in handle_stripe_clean_event()
5006 !test_bit(R5_Discard, &sh->dev[sh->pd_idx].flags)); in handle_stripe()
5009 !test_bit(R5_Discard, &sh->dev[sh->qd_idx].flags)); in handle_stripe()
5048 test_bit(R5_Discard, &pdev->flags))))) && in handle_stripe()
5052 test_bit(R5_Discard, &qdev->flags)))))) in handle_stripe()