Home
last modified time | relevance | path

Searched refs:get_cache_mode (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/md/
H A Ddm-cache-target.c848 static enum cache_metadata_mode get_cache_mode(struct cache *cache) in get_cache_mode() function
874 enum cache_metadata_mode old_mode = get_cache_mode(cache); in set_cache_mode()
916 if (get_cache_mode(cache) >= CM_READ_ONLY) in abort_transaction()
956 if (get_cache_mode(cache) >= CM_READ_ONLY) in save_stats()
1743 if (get_cache_mode(cache) >= CM_READ_ONLY) in commit()
2461 if (get_cache_mode(cache) != CM_WRITE) { in cache_create()
2689 if (get_cache_mode(cache) >= CM_READ_ONLY) in write_dirty_bitset()
2703 if (get_cache_mode(cache) >= CM_READ_ONLY) in write_discard_bitset()
2730 if (get_cache_mode(cache) >= CM_READ_ONLY) in write_hints()
2792 if (get_cache_mode(cache) == CM_WRITE) in cache_postsuspend()
[all …]
/linux/fs/9p/
H A Dv9fs.c70 static int get_cache_mode(char *s) in get_cache_mode() function
299 r = get_cache_mode(s); in v9fs_parse_options()