Home
last modified time | relevance | path

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

/freebsd-12-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/
Drefcount.h77 int64_t zfs_refcount_remove(zfs_refcount_t *, void *);
102 #define zfs_refcount_remove(rc, holder) atomic_dec_64_nv(&(rc)->rc_count)
/freebsd-12-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
Drrwlock.c260 count = zfs_refcount_remove( in rrw_exit()
264 count = zfs_refcount_remove(&rrl->rr_anon_rcount, tag); in rrw_exit()
Drefcount.c205 zfs_refcount_remove(zfs_refcount_t *rc, void *holder) in zfs_refcount_remove() function
Dspa_misc.c601 if (zfs_refcount_remove(&scl->scl_count, tag) == 0) { in spa_config_exit()
1006 (void) zfs_refcount_remove(&spa->spa_refcount, tag); in spa_close()
1020 (void) zfs_refcount_remove(&spa->spa_refcount, tag); in spa_async_close()
Ddmu_tx.c979 if (zfs_refcount_remove(&dn->dn_tx_holds, tx) == 0) { in dmu_tx_unassign()
1146 if (zfs_refcount_remove(&dn->dn_tx_holds, tx) == 0) { in dmu_tx_commit()
Darc.c2602 if (((cnt = zfs_refcount_remove(&hdr->b_l1hdr.b_refcnt, tag)) == 0) && in remove_reference()
3107 (void) zfs_refcount_remove(&hdr->b_l1hdr.b_refcnt, arc_onloan_tag); in arc_return_buf()
3121 (void) zfs_refcount_remove(&hdr->b_l1hdr.b_refcnt, tag); in arc_loan_inuse_buf()
4137 zfs_refcount_remove(&ap->p_refcnt, func); in arc_prune_task()
4167 zfs_refcount_remove(&ap->p_refcnt, ap->p_pfunc); in arc_prune_async()
6176 if (zfs_refcount_remove(&p->p_refcnt, &arc_prune_list) > 0) in arc_remove_prune_callback()
7367 zfs_refcount_remove(&p->p_refcnt, &arc_prune_list); in arc_fini()
Dmetaslab.c3371 (void) zfs_refcount_remove(&mg->mg_alloc_queue_depth[allocator], tag); in metaslab_group_alloc_decrement()
4285 (void) zfs_refcount_remove(&mc->mc_alloc_slots[allocator], in metaslab_class_throttle_unreserve()
Dsa.c1315 if (zfs_refcount_remove(&idx_tab->sa_refcount, NULL) == 0) { in sa_idx_tab_rele()
Ddbuf.c2104 if (zfs_refcount_remove(&db->db_holds, (void *)(uintptr_t)txg) == 0) { in dbuf_undirty()
3180 holds = zfs_refcount_remove(&db->db_holds, tag); in dbuf_rele_and_unlock()
Ddnode.c1587 refs = zfs_refcount_remove(&dn->dn_holds, tag); in dnode_rele_and_unlock()
Ddsl_scan.c1333 if (zfs_refcount_remove(&spc->spc_refcnt, tag) == 0) { in scan_prefetch_ctx_rele()
Ddsl_dataset.c714 (void) zfs_refcount_remove(&ds->ds_longholds, tag); in dsl_dataset_long_rele()