Home
last modified time | relevance | path

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

/f-stack/freebsd/contrib/openzfs/include/sys/
H A Dzfs_refcount.h74 int64_t zfs_refcount_remove(zfs_refcount_t *, const void *);
102 #define zfs_refcount_remove(rc, holder) atomic_dec_64_nv(&(rc)->rc_count)
/f-stack/freebsd/contrib/openzfs/module/os/linux/zfs/
H A Darc_os.c489 zfs_refcount_remove(&ap->p_refcnt, func); in arc_prune_task()
519 zfs_refcount_remove(&ap->p_refcnt, ap->p_pfunc); in arc_prune_async()
H A Dzfs_ctldir.c183 if (zfs_refcount_remove(&se->se_refcount, NULL) == 0) in zfsctl_snapshot_rele()
H A Dzfs_znode.c312 if (zfs_refcount_remove(&zh->zh_refcount, NULL) == 0) { in zfs_znode_hold_exit()
/f-stack/freebsd/contrib/openzfs/module/zfs/
H A Drrwlock.c260 count = zfs_refcount_remove( in rrw_exit()
264 count = zfs_refcount_remove(&rrl->rr_anon_rcount, tag); in rrw_exit()
H A Drefcount.c202 zfs_refcount_remove(zfs_refcount_t *rc, const void *holder) in zfs_refcount_remove() function
H A Ddmu_zfetch.c250 if (zfs_refcount_remove(&zs->zs_blocks, NULL) != 0) in dmu_zfetch_stream_done()
H A Ddsl_crypt.c91 (void) zfs_refcount_remove(&wkey->wk_refcnt, tag); in dsl_wrapping_key_rele()
520 if (zfs_refcount_remove(&dck->dck_holds, tag) == 0) in dsl_crypto_key_rele()
697 if (zfs_refcount_remove(&dck->dck_holds, tag) == 0) { in spa_keystore_dsl_key_rele()
961 if (zfs_refcount_remove(&km->km_refcnt, tag) != 0) in key_mapping_rele()
974 if (zfs_refcount_remove(&km->km_refcnt, FTAG) != 0) { in key_mapping_rele()
H A Ddmu_tx.c983 if (zfs_refcount_remove(&dn->dn_tx_holds, tx) == 0) { in dmu_tx_unassign()
1155 if (zfs_refcount_remove(&dn->dn_tx_holds, tx) == 0) { in dmu_tx_commit()
H A Dspa_misc.c531 if (zfs_refcount_remove(&scl->scl_count, tag) == 0) { in spa_config_exit()
892 (void) zfs_refcount_remove(&spa->spa_refcount, tag); in spa_close()
906 (void) zfs_refcount_remove(&spa->spa_refcount, tag); in spa_async_close()
H A Darc.c2362 if (((cnt = zfs_refcount_remove(&hdr->b_l1hdr.b_refcnt, tag)) == 0) && in remove_reference()
2956 (void) zfs_refcount_remove(&hdr->b_l1hdr.b_refcnt, arc_onloan_tag); in arc_return_buf()
2970 (void) zfs_refcount_remove(&hdr->b_l1hdr.b_refcnt, tag); in arc_loan_inuse_buf()
3540 (void) zfs_refcount_remove(&nhdr->b_l1hdr.b_refcnt, FTAG); in arc_hdr_realloc_crypt()
6478 if (zfs_refcount_remove(&p->p_refcnt, &arc_prune_list) > 0) in arc_remove_prune_callback()
7729 zfs_refcount_remove(&p->p_refcnt, &arc_prune_list); in arc_fini()
8318 zfs_refcount_remove(&dev->l2ad_lb_count, lb_ptr_buf); in l2arc_write_done()
8801 zfs_refcount_remove(&dev->l2ad_lb_count, lb_ptr_buf); in l2arc_evict()
H A Ddsl_bookmark.c1203 (void) zfs_refcount_remove(&rl->rl_longholds, tag); in dsl_redaction_list_long_rele()
H A Dsa.c1329 if (zfs_refcount_remove(&idx_tab->sa_refcount, NULL) == 0) { in sa_idx_tab_rele()
H A Ddbuf.c2420 if (zfs_refcount_remove(&db->db_holds, (void *)(uintptr_t)txg) == 0) { in dbuf_undirty()
3625 holds = zfs_refcount_remove(&db->db_holds, tag); in dbuf_rele_and_unlock()
H A Dmetaslab.c4540 (void) zfs_refcount_remove(&mga->mga_alloc_queue_depth, tag); in metaslab_group_alloc_decrement()
5641 zfs_refcount_remove(&mca->mca_alloc_slots, zio); in metaslab_class_throttle_unreserve()
H A Ddnode.c1613 refs = zfs_refcount_remove(&dn->dn_holds, tag); in dnode_rele_and_unlock()
H A Ddsl_scan.c1486 if (zfs_refcount_remove(&spc->spc_refcnt, tag) == 0) { in scan_prefetch_ctx_rele()
H A Ddsl_dataset.c910 (void) zfs_refcount_remove(&ds->ds_longholds, tag); in dsl_dataset_long_rele()