Lines Matching refs:R5_Discard
903 if (test_bit(R5_Discard, &sh->dev[i].flags)) in ops_run_io()
1627 set_bit(R5_Discard, &dev->flags); in ops_run_biodrain()
1669 discard |= test_bit(R5_Discard, &sh->dev[i].flags); in ops_complete_reconstruct()
1719 if (!test_bit(R5_Discard, &sh->dev[i].flags)) in ops_run_reconstruct5()
1724 set_bit(R5_Discard, &sh->dev[pd_idx].flags); in ops_run_reconstruct5()
1801 if (!test_bit(R5_Discard, &sh->dev[i].flags)) in ops_run_reconstruct6()
1806 set_bit(R5_Discard, &sh->dev[sh->pd_idx].flags); in ops_run_reconstruct6()
1807 set_bit(R5_Discard, &sh->dev[sh->qd_idx].flags); in ops_run_reconstruct6()
3461 test_bit(R5_Discard, &dev->flags) || in handle_stripe_clean_event()
3466 if (test_and_clear_bit(R5_Discard, &dev->flags)) in handle_stripe_clean_event()
3502 } else if (test_bit(R5_Discard, &dev->flags)) in handle_stripe_clean_event()
3508 test_bit(R5_Discard, &sh->dev[sh->pd_idx].flags)) { in handle_stripe_clean_event()
3510 clear_bit(R5_Discard, &sh->dev[sh->pd_idx].flags); in handle_stripe_clean_event()
3513 clear_bit(R5_Discard, &sh->dev[sh->qd_idx].flags); in handle_stripe_clean_event()
4380 !test_bit(R5_Discard, &sh->dev[sh->pd_idx].flags)); in handle_stripe()
4383 !test_bit(R5_Discard, &sh->dev[sh->qd_idx].flags)); in handle_stripe()
4421 test_bit(R5_Discard, &pdev->flags))))) && in handle_stripe()
4425 test_bit(R5_Discard, &qdev->flags)))))) in handle_stripe()