Lines Matching refs:cache_state
643 if (!test_bit(R5_INACTIVE_BLOCKED, &conf->cache_state)) { in raid5_get_active_stripe()
646 &conf->cache_state)) in raid5_get_active_stripe()
648 &conf->cache_state); in raid5_get_active_stripe()
656 &conf->cache_state); in raid5_get_active_stripe()
664 &conf->cache_state)), in raid5_get_active_stripe()
667 &conf->cache_state); in raid5_get_active_stripe()
3082 if (test_bit(R5C_LOG_CRITICAL, &conf->cache_state) && in delay_towrite()
3944 &conf->cache_state)) { in handle_stripe_dirtying()
5103 if (test_bit(R5_INACTIVE_BLOCKED, &conf->cache_state)) in raid5_congested()
5107 if (test_bit(R5C_LOG_TIGHT, &conf->cache_state)) in raid5_congested()
5332 bool try_loprio = test_bit(R5C_LOG_TIGHT, &conf->cache_state) || in __get_priority_stripe()
6301 clear_bit(R5_DID_ALLOC, &conf->cache_state); in raid5d()
6340 if (test_and_clear_bit(R5_ALLOC_MORE, &conf->cache_state) && in raid5d()
6346 set_bit(R5_DID_ALLOC, &conf->cache_state); in raid5d()