| 937 | } |
| 938 | |
| 939 | void |
| 940 | key_mapping_add_ref(dsl_key_mapping_t *km, void *tag) |
| 941 | { |
| 942 | ASSERT3U(zfs_refcount_count(&km->km_refcnt), >=, 1); |
| 943 | zfs_refcount_add(&km->km_refcnt, tag); |
| 944 | } |
| 945 | |
| 946 | /* |
| 947 | * The locking here is a little tricky to ensure we don't cause unnecessary |
no test coverage detected