Lines Matching refs:R5_Wantwrite
471 if (test_and_clear_bit(R5_Wantwrite, &sh->dev[i].flags)) { in r5c_handle_data_cached()
488 set_bit(R5_Wantwrite, &sh->dev[i].flags); in r5c_handle_parity_cached()
928 if (!test_bit(R5_Wantwrite, &sh->dev[i].flags) || in r5l_log_stripe()
1007 if (sh->log_io || !test_bit(R5_Wantwrite, &sh->dev[sh->pd_idx].flags) || in r5l_write_stripe()
1019 if (!test_bit(R5_Wantwrite, &sh->dev[i].flags) || in r5l_write_stripe()
1824 set_bit(R5_Wantwrite, &sh->dev[dd_idx].flags); in r5l_recovery_load_data()
1841 set_bit(R5_Wantwrite, &sh->dev[sh->pd_idx].flags); in r5l_recovery_load_parity()
1849 set_bit(R5_Wantwrite, &sh->dev[sh->qd_idx].flags); in r5l_recovery_load_parity()
1874 if (!test_bit(R5_Wantwrite, &sh->dev[disk_index].flags)) in r5l_recovery_replay_one_stripe()
1890 if (!test_bit(R5_Wantwrite, &sh->dev[disk_index].flags)) in r5l_recovery_replay_one_stripe()
2180 test_bit(R5_Wantwrite, &sh->dev[sh->pd_idx].flags)) { in r5c_recovery_analyze_meta_block()
2215 if (test_and_clear_bit(R5_Wantwrite, &dev->flags)) { in r5c_recovery_load_one_stripe()
2737 set_bit(R5_Wantwrite, &dev->flags); in r5c_try_caching_write()
2902 if (!test_bit(R5_Wantwrite, &sh->dev[i].flags)) in r5c_cache_data()