Home
last modified time | relevance | path

Searched refs:refcount_is_zero (Results 1 – 10 of 10) sorted by relevance

/freebsd-12.1/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Drrwlock.c179 refcount_is_zero(&rrl->rr_anon_rcount) && !prio && in rrw_enter_read_impl()
253 ASSERT(!refcount_is_zero(&rrl->rr_anon_rcount) || in rrw_exit()
254 !refcount_is_zero(&rrl->rr_linked_rcount) || in rrw_exit()
269 ASSERT(refcount_is_zero(&rrl->rr_anon_rcount) && in rrw_exit()
270 refcount_is_zero(&rrl->rr_linked_rcount)); in rrw_exit()
291 held = (!refcount_is_zero(&rrl->rr_anon_rcount) || in rrw_held()
H A Ddnode.c579 ASSERT(refcount_is_zero(&dn->dn_tx_holds)); in dnode_allocate()
1066 ASSERT(refcount_is_zero(&dn->dn_holds)); in dnode_buf_evict_async()
1067 ASSERT(refcount_is_zero(&dn->dn_tx_holds)); in dnode_buf_evict_async()
1329 (type != DMU_OT_NONE || !refcount_is_zero(&dn->dn_holds)))) { in dnode_hold_impl()
1370 if (refcount_is_zero(&dn->dn_holds)) { in dnode_add_ref()
1459 ASSERT(!refcount_is_zero(&dn->dn_holds) || in dnode_setdirty()
H A Darc.c2564 ASSERT(refcount_is_zero(&hdr->b_l1hdr.b_refcnt)); in add_reference()
3146 ASSERT(refcount_is_zero(&hdr->b_l1hdr.b_refcnt)); in arc_hdr_free_on_write()
3439 ASSERT(refcount_is_zero(&hdr->b_l1hdr.b_refcnt)); in arc_hdr_alloc()
3632 ASSERT(refcount_is_zero(&hdr->b_l1hdr.b_refcnt)); in arc_hdr_destroy()
5263 ASSERT(refcount_is_zero(&hdr->b_l1hdr.b_refcnt)); in arc_get_data_impl()
5313 ASSERT(refcount_is_zero(&hdr->b_l1hdr.b_refcnt)); in arc_free_data_impl()
5681 ASSERT(refcount_is_zero(&hdr->b_l1hdr.b_refcnt) || in arc_read_done()
6224 refcount_is_zero(&hdr->b_l1hdr.b_refcnt))) { in arc_freed()
6390 if (refcount_is_zero(&hdr->b_l1hdr.b_refcnt)) { in arc_release()
6627 ASSERT(refcount_is_zero( in arc_write_done()
[all …]
H A Dspa_misc.c519 if (!refcount_is_zero(&scl->scl_count)) { in spa_config_tryenter()
553 while (!refcount_is_zero(&scl->scl_count)) { in spa_config_enter()
574 ASSERT(!refcount_is_zero(&scl->scl_count)); in spa_config_exit()
594 if ((rw == RW_READER && !refcount_is_zero(&scl->scl_count)) || in spa_config_held()
H A Ddbuf.c469 ASSERT(refcount_is_zero(&db->db_holds)); in dbuf_hash_remove()
1228 ASSERT(!refcount_is_zero(&db->db_holds)); in dbuf_read_impl()
1391 ASSERT(!refcount_is_zero(&db->db_holds)); in dbuf_read()
1489 ASSERT(!refcount_is_zero(&db->db_holds)); in dbuf_noread()
1753 ASSERT(!refcount_is_zero(&db->db_holds)); in dbuf_dirty()
2134 ASSERT(!refcount_is_zero(&db->db_holds)); in dmu_buf_will_dirty()
2186 ASSERT(!refcount_is_zero(&db->db_holds)); in dmu_buf_will_fill()
2261 ASSERT(!refcount_is_zero(&db->db_holds)); in dbuf_assign_arcbuf()
2325 ASSERT(refcount_is_zero(&db->db_holds)); in dbuf_destroy()
2407 ASSERT(refcount_is_zero(&db->db_holds)); in dbuf_destroy()
[all …]
H A Drefcount.c117 refcount_is_zero(refcount_t *rc) in refcount_is_zero() function
H A Ddnode_sync.c435 refcount_is_zero(&db->db_holds)) { in dnode_evict_dbufs()
475 if (refcount_is_zero(&dn->dn_bonus->db_holds)) { in dnode_evict_bonus()
H A Ddsl_destroy.c266 ASSERT(refcount_is_zero(&ds->ds_longholds)); in dsl_destroy_snapshot_sync_impl()
728 if (!refcount_is_zero(&ds->ds_prev->ds_longholds)) in dsl_destroy_head_check_impl()
H A Ddsl_dataset.c717 return (!refcount_is_zero(&ds->ds_longholds)); in dsl_dataset_long_held()
/freebsd-12.1/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/
H A Drefcount.h70 int refcount_is_zero(refcount_t *rc);
95 #define refcount_is_zero(rc) ((rc)->rc_count == 0)