Home
last modified time | relevance | path

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

/drivers/md/
Ddm-clone-target.c63 CM_READ_ONLY, /* metadata may not be changed */ enumerator
178 case CM_READ_ONLY: in __set_clone_mode()
200 if (get_clone_mode(clone) >= CM_READ_ONLY) in __abort_transaction()
231 __set_clone_mode(clone, CM_READ_ONLY); in __metadata_operation_failed()
350 if (unlikely(get_clone_mode(clone) >= CM_READ_ONLY)) { in issue_bio()
433 if (unlikely(get_clone_mode(clone) >= CM_READ_ONLY)) { in complete_overwrite_bio()
509 if (unlikely(get_clone_mode(clone) >= CM_READ_ONLY)) { in process_discard_bio()
706 if (unlikely(get_clone_mode(clone) >= CM_READ_ONLY)) in hydration_update_metadata()
933 if (unlikely(get_clone_mode(clone) >= CM_READ_ONLY)) { in hydrate_bio_region()
1071 if (unlikely(get_clone_mode(clone) >= CM_READ_ONLY)) in do_hydration()
[all …]
Ddm-cache-target.c248 CM_READ_ONLY, /* metadata may not be changed */ enumerator
879 new_mode = CM_READ_ONLY; in set_cache_mode()
888 case CM_READ_ONLY: in set_cache_mode()
907 if (get_cache_mode(cache) >= CM_READ_ONLY) in abort_transaction()
927 set_cache_mode(cache, CM_READ_ONLY); in metadata_operation_failed()
947 if (get_cache_mode(cache) >= CM_READ_ONLY) in save_stats()
1723 if (get_cache_mode(cache) >= CM_READ_ONLY) in commit()
2660 if (get_cache_mode(cache) >= CM_READ_ONLY) in write_dirty_bitset()
2674 if (get_cache_mode(cache) >= CM_READ_ONLY) in write_discard_bitset()
2701 if (get_cache_mode(cache) >= CM_READ_ONLY) in write_hints()
[all …]