Home
last modified time | relevance | path

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

/openbmc/linux/drivers/md/
H A 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()
1071 if (unlikely(get_clone_mode(clone) >= CM_READ_ONLY)) in do_hydration()
1191 if (unlikely(get_clone_mode(clone) >= CM_READ_ONLY)) in process_deferred_discards()
[all …]
H A Ddm-cache-target.c249 CM_READ_ONLY, /* metadata may not be changed */ enumerator
890 new_mode = CM_READ_ONLY; in set_cache_mode()
899 case CM_READ_ONLY: in set_cache_mode()
918 if (get_cache_mode(cache) >= CM_READ_ONLY) in abort_transaction()
938 set_cache_mode(cache, CM_READ_ONLY); in metadata_operation_failed()
958 if (get_cache_mode(cache) >= CM_READ_ONLY) in save_stats()
1745 if (get_cache_mode(cache) >= CM_READ_ONLY) in commit()
2687 if (get_cache_mode(cache) >= CM_READ_ONLY) in write_dirty_bitset()
2701 if (get_cache_mode(cache) >= CM_READ_ONLY) in write_discard_bitset()
2728 if (get_cache_mode(cache) >= CM_READ_ONLY) in write_hints()
[all …]