Lines Matching refs:R5_Discard
1083 if (test_bit(R5_Discard, &sh->dev[i].flags)) in ops_run_io()
1897 set_bit(R5_Discard, &dev->flags); in ops_run_biodrain()
1942 discard |= test_bit(R5_Discard, &sh->dev[i].flags); in ops_complete_reconstruct()
1997 if (!test_bit(R5_Discard, &sh->dev[i].flags)) in ops_run_reconstruct5()
2002 set_bit(R5_Discard, &sh->dev[pd_idx].flags); in ops_run_reconstruct5()
2090 if (!test_bit(R5_Discard, &sh->dev[i].flags)) in ops_run_reconstruct6()
2095 set_bit(R5_Discard, &sh->dev[sh->pd_idx].flags); in ops_run_reconstruct6()
2096 set_bit(R5_Discard, &sh->dev[sh->qd_idx].flags); in ops_run_reconstruct6()
3974 test_bit(R5_Discard, &dev->flags) || in handle_stripe_clean_event()
3979 if (test_and_clear_bit(R5_Discard, &dev->flags)) in handle_stripe_clean_event()
4012 } else if (test_bit(R5_Discard, &dev->flags)) in handle_stripe_clean_event()
4019 test_bit(R5_Discard, &sh->dev[sh->pd_idx].flags)) { in handle_stripe_clean_event()
4021 clear_bit(R5_Discard, &sh->dev[sh->pd_idx].flags); in handle_stripe_clean_event()
4024 clear_bit(R5_Discard, &sh->dev[sh->qd_idx].flags); in handle_stripe_clean_event()
4992 !test_bit(R5_Discard, &sh->dev[sh->pd_idx].flags)); in handle_stripe()
4995 !test_bit(R5_Discard, &sh->dev[sh->qd_idx].flags)); in handle_stripe()
5034 test_bit(R5_Discard, &pdev->flags))))) && in handle_stripe()
5038 test_bit(R5_Discard, &qdev->flags)))))) in handle_stripe()