Home
last modified time | relevance | path

Searched refs:refcount_remove (Results 1 – 9 of 9) sorted by relevance

/onnv-gate/usr/src/uts/common/fs/zfs/sys/
H A Drefcount.h67 int64_t refcount_remove(refcount_t *rc, void *holder_tag);
87 #define refcount_remove(rc, holder) atomic_add_64_nv(&(rc)->rc_count, -1)
/onnv-gate/usr/src/uts/common/fs/zfs/
H A Drrwlock.c234 count = refcount_remove(&rrl->rr_linked_rcount, tag); in rrw_exit()
236 count = refcount_remove(&rrl->rr_anon_rcount, tag); in rrw_exit()
H A Drefcount.c187 refcount_remove(refcount_t *rc, void *holder) in refcount_remove() function
H A Dspa_misc.c350 if (refcount_remove(&scl->scl_count, tag) == 0) { in spa_config_exit()
592 (void) refcount_remove(&spa->spa_refcount, tag); in spa_close()
H A Ddmu_tx.c1024 if (refcount_remove(&dn->dn_tx_holds, tx) == 0) { in dmu_tx_unassign()
1137 if (refcount_remove(&dn->dn_tx_holds, tx) == 0) { in dmu_tx_commit()
H A Darc.c1034 if (((cnt = refcount_remove(&ab->b_refcnt, tag)) == 0) && in remove_reference()
1268 (void) refcount_remove(&hdr->b_refcnt, arc_onloan_tag); in arc_return_buf()
1282 (void) refcount_remove(&hdr->b_refcnt, tag); in arc_loan_inuse_buf()
H A Ddbuf.c1355 if (refcount_remove(&db->db_holds, (void *)(uintptr_t)txg) == 0) { in dbuf_undirty()
2030 holds = refcount_remove(&db->db_holds, tag); in dbuf_rele_and_unlock()
H A Dsa.c1293 if (refcount_remove(&idx_tab->sa_refcount, NULL) == 0) { in sa_idx_tab_rele()
H A Ddnode.c1170 refs = refcount_remove(&dn->dn_holds, tag); in dnode_rele()