Home
last modified time | relevance | path

Searched refs:zfs_refcount_remove (Results 1 – 14 of 14) sorted by relevance

/illumos-gate/usr/src/uts/common/fs/zfs/sys/
H A Drefcount.h81 int64_t zfs_refcount_remove(zfs_refcount_t *, const void *);
124 #define zfs_refcount_remove(rc, holder) atomic_dec_64_nv(&(rc)->rc_count)
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Drrwlock.c260 count = zfs_refcount_remove( in rrw_exit()
264 count = zfs_refcount_remove(&rrl->rr_anon_rcount, tag); in rrw_exit()
H A Drefcount.c222 zfs_refcount_remove(zfs_refcount_t *rc, const void *holder) in zfs_refcount_remove() function
234 (void) zfs_refcount_remove(rc, holder); in zfs_refcount_remove_few()
H A Ddmu_zfetch.c252 if (zfs_refcount_remove(&zs->zs_blocks, NULL) != 0) in dmu_zfetch_stream_done()
H A Ddsl_crypt.c91 (void) zfs_refcount_remove(&wkey->wk_refcnt, tag); in dsl_wrapping_key_rele()
544 if (zfs_refcount_remove(&dck->dck_holds, tag) == 0) in dsl_crypto_key_rele()
723 if (zfs_refcount_remove(&dck->dck_holds, tag) == 0) { in spa_keystore_dsl_key_rele()
970 if (zfs_refcount_remove(&km->km_refcnt, tag) != 0) in key_mapping_rele()
983 if (zfs_refcount_remove(&km->km_refcnt, FTAG) != 0) { in key_mapping_rele()
H A Ddmu_tx.c973 if (zfs_refcount_remove(&dn->dn_tx_holds, tx) == 0) { in dmu_tx_unassign()
1140 if (zfs_refcount_remove(&dn->dn_tx_holds, tx) == 0) { in dmu_tx_commit()
H A Dspa_misc.c525 if (zfs_refcount_remove(&scl->scl_count, tag) == 0) { in spa_config_exit()
909 (void) zfs_refcount_remove(&spa->spa_refcount, tag); in spa_close()
923 (void) zfs_refcount_remove(&spa->spa_refcount, tag); in spa_async_close()
H A Darc.c2192 if (((cnt = zfs_refcount_remove(&hdr->b_l1hdr.b_refcnt, tag)) == 0) && in remove_reference()
2748 (void) zfs_refcount_remove(&hdr->b_l1hdr.b_refcnt, arc_onloan_tag); in arc_return_buf()
2762 (void) zfs_refcount_remove(&hdr->b_l1hdr.b_refcnt, tag); in arc_loan_inuse_buf()
3341 (void) zfs_refcount_remove(&nhdr->b_l1hdr.b_refcnt, FTAG); in arc_hdr_realloc_crypt()
7815 zfs_refcount_remove(&dev->l2ad_lb_count, lb_ptr_buf); in l2arc_write_done()
8262 zfs_refcount_remove(&dev->l2ad_lb_count, lb_ptr_buf); in l2arc_evict()
H A Ddbuf.c2059 if (zfs_refcount_remove(&db->db_holds, (void *)(uintptr_t)txg) == 0) { in dbuf_undirty()
3149 holds = zfs_refcount_remove(&db->db_holds, tag); in dbuf_rele_and_unlock()
H A Dsa.c1319 if (zfs_refcount_remove(&idx_tab->sa_refcount, NULL) == 0) { in sa_idx_tab_rele()
H A Ddnode.c1603 refs = zfs_refcount_remove(&dn->dn_holds, tag); in dnode_rele_and_unlock()
H A Ddsl_scan.c1450 if (zfs_refcount_remove(&spc->spc_refcnt, tag) == 0) { in scan_prefetch_ctx_rele()
H A Ddsl_dataset.c823 (void) zfs_refcount_remove(&ds->ds_longholds, tag); in dsl_dataset_long_rele()
H A Dmetaslab.c4492 (void) zfs_refcount_remove(&mg->mg_alloc_queue_depth[allocator], tag); in metaslab_group_alloc_decrement()