Lines Matching refs:get_cache_mode
839 static enum cache_metadata_mode get_cache_mode(struct cache *cache) in get_cache_mode() function
865 enum cache_metadata_mode old_mode = get_cache_mode(cache); in set_cache_mode()
907 if (get_cache_mode(cache) >= CM_READ_ONLY) in abort_transaction()
947 if (get_cache_mode(cache) >= CM_READ_ONLY) in save_stats()
1723 if (get_cache_mode(cache) >= CM_READ_ONLY) in commit()
2428 if (get_cache_mode(cache) != CM_WRITE) { in cache_create()
2656 if (get_cache_mode(cache) >= CM_READ_ONLY) in write_dirty_bitset()
2670 if (get_cache_mode(cache) >= CM_READ_ONLY) in write_discard_bitset()
2697 if (get_cache_mode(cache) >= CM_READ_ONLY) in write_hints()
2759 if (get_cache_mode(cache) == CM_WRITE) in cache_postsuspend()
3040 if (get_cache_mode(cache) == CM_FAIL) { in cache_status()
3092 if (get_cache_mode(cache) == CM_READ_ONLY) in cache_status()
3122 if (get_cache_mode(cache) == CM_FAIL) in cache_status()
3124 else if (get_cache_mode(cache) == CM_READ_ONLY) in cache_status()
3305 if (get_cache_mode(cache) >= CM_READ_ONLY) { in cache_message()