Lines Matching refs:cache_state
795 if (!test_bit(R5_INACTIVE_BLOCKED, &conf->cache_state)) in is_inactive_blocked()
838 if (!test_bit(R5_INACTIVE_BLOCKED, &conf->cache_state)) { in raid5_get_active_stripe()
847 if (!test_bit(R5_DID_ALLOC, &conf->cache_state)) in raid5_get_active_stripe()
848 set_bit(R5_ALLOC_MORE, &conf->cache_state); in raid5_get_active_stripe()
854 set_bit(R5_INACTIVE_BLOCKED, &conf->cache_state); in raid5_get_active_stripe()
866 clear_bit(R5_INACTIVE_BLOCKED, &conf->cache_state); in raid5_get_active_stripe()
3364 if (test_bit(R5C_LOG_CRITICAL, &conf->cache_state) && in delay_towrite()
4227 &conf->cache_state)) { in handle_stripe_dirtying()
5581 bool try_loprio = test_bit(R5C_LOG_TIGHT, &conf->cache_state) || in __get_priority_stripe()
6837 clear_bit(R5_DID_ALLOC, &conf->cache_state); in raid5d()
6876 if (test_and_clear_bit(R5_ALLOC_MORE, &conf->cache_state) && in raid5d()
6882 set_bit(R5_DID_ALLOC, &conf->cache_state); in raid5d()