Lines Matching refs:R5_Wantwrite
468 if (test_and_clear_bit(R5_Wantwrite, &sh->dev[i].flags)) { in r5c_handle_data_cached()
485 set_bit(R5_Wantwrite, &sh->dev[i].flags); in r5c_handle_parity_cached()
925 if (!test_bit(R5_Wantwrite, &sh->dev[i].flags) || in r5l_log_stripe()
1004 if (sh->log_io || !test_bit(R5_Wantwrite, &sh->dev[sh->pd_idx].flags) || in r5l_write_stripe()
1016 if (!test_bit(R5_Wantwrite, &sh->dev[i].flags) || in r5l_write_stripe()
1820 set_bit(R5_Wantwrite, &sh->dev[dd_idx].flags); in r5l_recovery_load_data()
1837 set_bit(R5_Wantwrite, &sh->dev[sh->pd_idx].flags); in r5l_recovery_load_parity()
1845 set_bit(R5_Wantwrite, &sh->dev[sh->qd_idx].flags); in r5l_recovery_load_parity()
1870 if (!test_bit(R5_Wantwrite, &sh->dev[disk_index].flags)) in r5l_recovery_replay_one_stripe()
1886 if (!test_bit(R5_Wantwrite, &sh->dev[disk_index].flags)) in r5l_recovery_replay_one_stripe()
2176 test_bit(R5_Wantwrite, &sh->dev[sh->pd_idx].flags)) { in r5c_recovery_analyze_meta_block()
2211 if (test_and_clear_bit(R5_Wantwrite, &dev->flags)) { in r5c_recovery_load_one_stripe()
2733 set_bit(R5_Wantwrite, &dev->flags); in r5c_try_caching_write()
2898 if (!test_bit(R5_Wantwrite, &sh->dev[i].flags)) in r5c_cache_data()