Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/md/
Ddm-clone-target.c63 CM_READ_ONLY, /* metadata may not be changed */ enumerator
179 case CM_READ_ONLY: in __set_clone_mode()
201 if (get_clone_mode(clone) >= CM_READ_ONLY) in __abort_transaction()
232 __set_clone_mode(clone, CM_READ_ONLY); in __metadata_operation_failed()
346 if (unlikely(get_clone_mode(clone) >= CM_READ_ONLY)) { in issue_bio()
429 if (unlikely(get_clone_mode(clone) >= CM_READ_ONLY)) { in complete_overwrite_bio()
496 if (unlikely(get_clone_mode(clone) >= CM_READ_ONLY)) { in process_discard_bio()
687 if (unlikely(get_clone_mode(clone) >= CM_READ_ONLY)) in hydration_update_metadata()
912 if (unlikely(get_clone_mode(clone) >= CM_READ_ONLY)) { in hydrate_bio_region()
1051 if (unlikely(get_clone_mode(clone) >= CM_READ_ONLY)) in do_hydration()
[all …]
Ddm-cache-target.c325 CM_READ_ONLY, /* metadata may not be changed */ enumerator
983 new_mode = CM_READ_ONLY; in set_cache_mode()
992 case CM_READ_ONLY: in set_cache_mode()
1011 if (get_cache_mode(cache) >= CM_READ_ONLY) in abort_transaction()
1031 set_cache_mode(cache, CM_READ_ONLY); in metadata_operation_failed()
1051 if (get_cache_mode(cache) >= CM_READ_ONLY) in save_stats()
1827 if (get_cache_mode(cache) >= CM_READ_ONLY) in commit()
2777 if (get_cache_mode(cache) >= CM_READ_ONLY) in write_dirty_bitset()
2791 if (get_cache_mode(cache) >= CM_READ_ONLY) in write_discard_bitset()
2818 if (get_cache_mode(cache) >= CM_READ_ONLY) in write_hints()
[all …]