Home
last modified time | relevance | path

Searched refs:refcount_add (Results 1 – 13 of 13) sorted by relevance

/freebsd-12.1/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/
H A Drefcount.h72 int64_t refcount_add(refcount_t *rc, void *holder_tag);
97 #define refcount_add(rc, holder) atomic_inc_64_nv(&(rc)->rc_count)
/freebsd-12.1/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Drrwlock.c186 (void) refcount_add(&rrl->rr_linked_rcount, tag); in rrw_enter_read_impl()
188 (void) refcount_add(&rrl->rr_anon_rcount, tag); in rrw_enter_read_impl()
H A Ddmu_tx.c102 (void) refcount_add(&dn->dn_holds, tx); in dmu_tx_hold_dnode_impl()
112 (void) refcount_add(&dn->dn_tx_holds, tx); in dmu_tx_hold_dnode_impl()
934 (void) refcount_add(&dn->dn_tx_holds, tx); in dmu_tx_try_assign()
H A Drefcount.c151 refcount_add(refcount_t *rc, void *holder) in refcount_add() function
H A Dspa_misc.c527 (void) refcount_add(&scl->scl_count, tag); in spa_config_tryenter()
560 (void) refcount_add(&scl->scl_count, tag); in spa_config_enter()
963 (void) refcount_add(&spa->spa_refcount, tag); in spa_open_ref()
H A Ddnode.c1245 (void) refcount_add(&dn->dn_holds, tag); in dnode_hold_impl()
1335 if (refcount_add(&dn->dn_holds, tag) == 1) in dnode_hold_impl()
1374 VERIFY(1 < refcount_add(&dn->dn_holds, tag)); in dnode_add_ref()
H A Darc.c2570 if ((refcount_add(&hdr->b_l1hdr.b_refcnt, tag) == 1) && in add_reference()
3104 (void) refcount_add(&hdr->b_l1hdr.b_refcnt, tag); in arc_return_buf()
3118 (void) refcount_add(&hdr->b_l1hdr.b_refcnt, arc_onloan_tag); in arc_loan_inuse_buf()
4159 refcount_add(&ap->p_refcnt, ap->p_pfunc); in arc_prune_async()
6160 refcount_add(&p->p_refcnt, &arc_prune_list); in arc_add_prune_callback()
6417 (void) refcount_add(&nhdr->b_l1hdr.b_refcnt, tag); in arc_release()
H A Ddbuf.c2609 (void) refcount_add(&dn->dn_holds, db); in dbuf_create()
2997 (void) refcount_add(&dh->dh_db->db_holds, dh->dh_tag); in __dbuf_hold_impl()
3121 int64_t holds = refcount_add(&db->db_holds, tag); in dbuf_add_ref()
3141 (void) refcount_add(&db->db_holds, tag); in dbuf_try_add_ref()
H A Ddsl_scan.c1342 refcount_add(&spc->spc_refcnt, tag); in scan_prefetch_ctx_create()
1360 refcount_add(&spc->spc_refcnt, tag); in scan_prefetch_ctx_add_ref()
H A Dmetaslab.c2954 (void) refcount_add(&mg->mg_alloc_queue_depth[allocator], tag); in metaslab_group_alloc_increment()
3896 refcount_add(&mc->mc_alloc_slots[allocator], in metaslab_class_throttle_reserve()
H A Dsa.c1332 (void) refcount_add(&idx_tab->sa_refcount, NULL); in sa_idx_tab_hold()
H A Ddmu.c350 if (refcount_add(&db->db_holds, tag) == 1) { in dmu_bonus_hold()
H A Ddsl_dataset.c704 (void) refcount_add(&ds->ds_longholds, tag); in dsl_dataset_long_hold()