Lines Matching refs:get_cache_mode
386 static enum cache_metadata_mode get_cache_mode(struct cache *cache);
701 if (get_cache_mode(cache) >= CM_READ_ONLY) in save_stats()
965 static enum cache_metadata_mode get_cache_mode(struct cache *cache) in get_cache_mode() function
991 enum cache_metadata_mode old_mode = get_cache_mode(cache); in set_cache_mode()
1032 if (get_cache_mode(cache) >= CM_READ_ONLY) in abort_transaction()
1927 if (get_cache_mode(cache) >= CM_READ_ONLY) in commit()
2838 if (get_cache_mode(cache) != CM_WRITE) { in cache_create()
3177 if (get_cache_mode(cache) >= CM_READ_ONLY) in write_dirty_bitset()
3196 if (get_cache_mode(cache) >= CM_READ_ONLY) in write_discard_bitset()
3223 if (get_cache_mode(cache) >= CM_READ_ONLY) in write_hints()
3279 if (get_cache_mode(cache) == CM_WRITE) in cache_postsuspend()
3525 if (get_cache_mode(cache) == CM_FAIL) { in cache_status()
3590 if (get_cache_mode(cache) == CM_READ_ONLY) in cache_status()
3761 if (get_cache_mode(cache) >= CM_READ_ONLY) { in cache_message()