Home
last modified time | relevance | path

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

/titanic_50/usr/src/uts/common/fs/zfs/sys/
H A Drefcount.h70 int64_t refcount_remove(refcount_t *rc, void *holder_tag);
91 #define refcount_remove(rc, holder) atomic_dec_64_nv(&(rc)->rc_count)
/titanic_50/usr/src/uts/common/fs/zfs/
H A Drrwlock.c260 count = refcount_remove(&rrl->rr_linked_rcount, tag); in rrw_exit()
263 count = refcount_remove(&rrl->rr_anon_rcount, tag); in rrw_exit()
H A Drefcount.c194 refcount_remove(refcount_t *rc, void *holder) in refcount_remove() function
H A Dspa_misc.c452 if (refcount_remove(&scl->scl_count, tag) == 0) { in spa_config_exit()
790 (void) refcount_remove(&spa->spa_refcount, tag); in spa_close()
804 (void) refcount_remove(&spa->spa_refcount, tag); in spa_async_close()
H A Ddmu_tx.c1246 if (refcount_remove(&dn->dn_tx_holds, tx) == 0) { in dmu_tx_unassign()
1401 if (refcount_remove(&dn->dn_tx_holds, tx) == 0) { in dmu_tx_commit()
H A Ddbuf.c1514 if (refcount_remove(&db->db_holds, (void *)(uintptr_t)txg) == 0) { in dbuf_undirty()
2441 holds = refcount_remove(&db->db_holds, tag); in dbuf_rele_and_unlock()
H A Darc.c1900 if (((cnt = refcount_remove(&hdr->b_l1hdr.b_refcnt, tag)) == 0) && in remove_reference()
2245 (void) refcount_remove(&hdr->b_l1hdr.b_refcnt, arc_onloan_tag); in arc_return_buf()
2259 (void) refcount_remove(&hdr->b_l1hdr.b_refcnt, tag); in arc_loan_inuse_buf()
H A Dsa.c1314 if (refcount_remove(&idx_tab->sa_refcount, NULL) == 0) { in sa_idx_tab_rele()
H A Ddnode.c1237 refs = refcount_remove(&dn->dn_holds, tag); in dnode_rele_and_unlock()
H A Ddsl_dataset.c674 (void) refcount_remove(&ds->ds_longholds, tag); in dsl_dataset_long_rele()