Searched refs:zfs_refcount_remove (Results 1 – 15 of 15) sorted by relevance
/freebsd/sys/contrib/openzfs/include/sys/ |
H A D | zfs_refcount.h | 79 int64_t zfs_refcount_remove(zfs_refcount_t *, const void *); 117 #define zfs_refcount_remove(rc, holder) atomic_dec_64_nv(&(rc)->rc_count)
|
/freebsd/sys/contrib/openzfs/module/zfs/ |
H A D | refcount.c | 211 zfs_refcount_remove(zfs_refcount_t *rc, const void *holder) in zfs_refcount_remove() function 222 (void) zfs_refcount_remove(rc, holder); in zfs_refcount_remove_few() 350 EXPORT_SYMBOL(zfs_refcount_remove);
|
H A D | dmu_zfetch.c | 218 if (zfs_refcount_remove(&zs->zs_refs, NULL) == 0) in dmu_zfetch_stream_remove() 338 if (zfs_refcount_remove(&zs->zs_refs, NULL) == 0) in dmu_zfetch_done() 706 if (zfs_refcount_remove(&zs->zs_callers, NULL) != 0) { in dmu_zfetch_run() 708 if (zfs_refcount_remove(&zs->zs_refs, NULL) == 0) in dmu_zfetch_run() 736 if (zfs_refcount_remove(&zs->zs_refs, NULL) == 0) in dmu_zfetch_run()
|
H A D | rrwlock.c | 261 count = zfs_refcount_remove( in rrw_exit() 265 count = zfs_refcount_remove(&rrl->rr_anon_rcount, tag); in rrw_exit()
|
H A D | dsl_crypt.c | 92 (void) zfs_refcount_remove(&wkey->wk_refcnt, tag); in dsl_wrapping_key_rele() 554 if (zfs_refcount_remove(&dck->dck_holds, tag) == 0) in dsl_crypto_key_rele() 737 if (zfs_refcount_remove(&dck->dck_holds, tag) == 0) { in spa_keystore_dsl_key_rele() 1001 if (zfs_refcount_remove(&km->km_refcnt, tag) != 0) in key_mapping_rele() 1014 if (zfs_refcount_remove(&km->km_refcnt, FTAG) != 0) { in key_mapping_rele()
|
H A D | dmu_tx.c | 1154 if (zfs_refcount_remove(&dn->dn_tx_holds, tx) == 0) { in dmu_tx_unassign() 1342 if (zfs_refcount_remove(&dn->dn_tx_holds, tx) == 0) { in dmu_tx_commit()
|
H A D | arc.c | 2332 if ((cnt = zfs_refcount_remove(&hdr->b_l1hdr.b_refcnt, tag)) != 0) in remove_reference() 2898 (void) zfs_refcount_remove(&hdr->b_l1hdr.b_refcnt, arc_onloan_tag); in arc_return_buf() 2912 (void) zfs_refcount_remove(&hdr->b_l1hdr.b_refcnt, tag); in arc_loan_inuse_buf() 6286 if (zfs_refcount_remove(&p->p_refcnt, &arc_prune_list) > 0) in arc_remove_prune_callback() 6311 (void) zfs_refcount_remove(&ap->p_refcnt, func); in arc_prune_task() 6340 (void) zfs_refcount_remove(&ap->p_refcnt, ap->p_pfunc); in arc_prune_async() 7961 (void) zfs_refcount_remove(&p->p_refcnt, &arc_prune_list); in arc_fini() 8554 (void) zfs_refcount_remove(&dev->l2ad_lb_count, in l2arc_write_done() 9029 (void) zfs_refcount_remove(&dev->l2ad_lb_count, in l2arc_evict()
|
H A D | spa_misc.c | 955 (void) zfs_refcount_remove(&spa->spa_refcount, tag); in spa_close() 969 (void) zfs_refcount_remove(&spa->spa_refcount, tag); in spa_async_close()
|
H A D | dsl_bookmark.c | 1234 (void) zfs_refcount_remove(&rl->rl_longholds, tag); in dsl_redaction_list_long_rele()
|
H A D | sa.c | 1335 if (zfs_refcount_remove(&idx_tab->sa_refcount, NULL) == 0) { in sa_idx_tab_rele()
|
H A D | dbuf.c | 2635 if (zfs_refcount_remove(&db->db_holds, (void *)(uintptr_t)txg) == 0) { in dbuf_undirty() 4127 holds = zfs_refcount_remove(&db->db_holds, tag); in dbuf_rele_and_unlock()
|
H A D | dnode.c | 1775 refs = zfs_refcount_remove(&dn->dn_holds, tag); in dnode_rele_and_unlock()
|
H A D | dsl_scan.c | 1865 if (zfs_refcount_remove(&spc->spc_refcnt, tag) == 0) { in scan_prefetch_ctx_rele()
|
H A D | dsl_dataset.c | 950 (void) zfs_refcount_remove(&ds->ds_longholds, tag); in dsl_dataset_long_rele()
|
/freebsd/sys/contrib/openzfs/module/os/linux/zfs/ |
H A D | zfs_ctldir.c | 188 if (zfs_refcount_remove(&se->se_refcount, NULL) == 0) in zfsctl_snapshot_rele()
|