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 D | refcount.h | 72 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 D | rrwlock.c | 186 (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 D | dmu_tx.c | 102 (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 D | refcount.c | 151 refcount_add(refcount_t *rc, void *holder) in refcount_add() function
|
| H A D | spa_misc.c | 527 (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 D | dnode.c | 1245 (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 D | arc.c | 2570 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 D | dbuf.c | 2609 (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 D | dsl_scan.c | 1342 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 D | metaslab.c | 2954 (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 D | sa.c | 1332 (void) refcount_add(&idx_tab->sa_refcount, NULL); in sa_idx_tab_hold()
|
| H A D | dmu.c | 350 if (refcount_add(&db->db_holds, tag) == 1) { in dmu_bonus_hold()
|
| H A D | dsl_dataset.c | 704 (void) refcount_add(&ds->ds_longholds, tag); in dsl_dataset_long_hold()
|