Searched refs:zfs_refcount_remove (Results 1 – 14 of 14) sorted by relevance
/illumos-gate/usr/src/uts/common/fs/zfs/sys/ |
H A D | refcount.h | 81 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 D | rrwlock.c | 260 count = zfs_refcount_remove( in rrw_exit() 264 count = zfs_refcount_remove(&rrl->rr_anon_rcount, tag); in rrw_exit()
|
H A D | refcount.c | 222 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 D | dmu_zfetch.c | 252 if (zfs_refcount_remove(&zs->zs_blocks, NULL) != 0) in dmu_zfetch_stream_done()
|
H A D | dsl_crypt.c | 91 (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 D | dmu_tx.c | 973 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 D | spa_misc.c | 525 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 D | arc.c | 2192 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 D | dbuf.c | 2059 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 D | sa.c | 1319 if (zfs_refcount_remove(&idx_tab->sa_refcount, NULL) == 0) { in sa_idx_tab_rele()
|
H A D | dnode.c | 1603 refs = zfs_refcount_remove(&dn->dn_holds, tag); in dnode_rele_and_unlock()
|
H A D | dsl_scan.c | 1450 if (zfs_refcount_remove(&spc->spc_refcnt, tag) == 0) { in scan_prefetch_ctx_rele()
|
H A D | dsl_dataset.c | 823 (void) zfs_refcount_remove(&ds->ds_longholds, tag); in dsl_dataset_long_rele()
|
H A D | metaslab.c | 4492 (void) zfs_refcount_remove(&mg->mg_alloc_queue_depth[allocator], tag); in metaslab_group_alloc_decrement()
|