| 144 | }; |
| 145 | |
| 146 | static inline void dm_cond_ref(struct dm_cond *cond) |
| 147 | { |
| 148 | if (!cond || cond->type == DM_TYPE_COND) |
| 149 | return; |
| 150 | |
| 151 | __atomic_add_fetch(&cond->ref, 1, __ATOMIC_SEQ_CST); |
| 152 | } |
| 153 | |
| 154 | static inline void dm_cond_unref(struct dm_cond *cond) |
| 155 | { |
no outgoing calls
no test coverage detected