Home
last modified time | relevance | path

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

/netbsd-src/external/cddl/osnet/dist/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)
/netbsd-src/external/cddl/osnet/dist/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 Drefcount.c151 refcount_add(refcount_t *rc, void *holder) in refcount_add() function
H A Dspa_misc.c526 (void) refcount_add(&scl->scl_count, tag); in spa_config_tryenter()
559 (void) refcount_add(&scl->scl_count, tag); in spa_config_enter()
965 (void) refcount_add(&spa->spa_refcount, tag); in spa_open_ref()
H A Ddnode.c1098 (void) refcount_add(&dn->dn_holds, tag); in dnode_hold_impl()
1182 if (refcount_add(&dn->dn_holds, tag) == 1) in dnode_hold_impl()
1220 VERIFY(1 < refcount_add(&dn->dn_holds, tag)); in dnode_add_ref()
H A Ddmu_tx.c124 (void) refcount_add(&dn->dn_tx_holds, tx); in dmu_tx_hold_object_impl()
1231 (void) refcount_add(&dn->dn_tx_holds, tx); in dmu_tx_try_assign()
H A Ddbuf.c2282 (void) refcount_add(&dn->dn_holds, db); in dbuf_create()
2600 (void) refcount_add(&db->db_holds, tag); in dbuf_hold_impl()
2672 int64_t holds = refcount_add(&db->db_holds, tag); in dbuf_add_ref()
2692 (void) refcount_add(&db->db_holds, tag); in dbuf_try_add_ref()
H A Darc.c2186 if ((refcount_add(&hdr->b_l1hdr.b_refcnt, tag) == 1) && in add_reference()
2599 (void) refcount_add(&hdr->b_l1hdr.b_refcnt, tag); in arc_return_buf()
2613 (void) refcount_add(&hdr->b_l1hdr.b_refcnt, arc_onloan_tag); in arc_loan_inuse_buf()
5451 (void) refcount_add(&nhdr->b_l1hdr.b_refcnt, tag); in arc_release()
H A Dmetaslab.c2687 (void) refcount_add(&mg->mg_alloc_queue_depth, tag); in metaslab_group_alloc_increment()
3346 reserved_slots = refcount_add(&mc->mc_alloc_slots, zio); in metaslab_class_throttle_reserve()
H A Dsa.c1344 (void) refcount_add(&idx_tab->sa_refcount, NULL); in sa_idx_tab_hold()
H A Ddmu.c342 if (refcount_add(&db->db_holds, tag) == 1) { in dmu_bonus_hold()
H A Ddsl_dataset.c684 (void) refcount_add(&ds->ds_longholds, tag); in dsl_dataset_long_hold()