Home
last modified time | relevance | path

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

/titanic_41/usr/src/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 Ddbuf.c225 ASSERT(refcount_is_zero(&db->db_holds)); in dbuf_hash_remove()
644 ASSERT(!refcount_is_zero(&db->db_holds)); in dbuf_read_impl()
723 ASSERT(!refcount_is_zero(&db->db_holds)); in dbuf_read()
806 ASSERT(!refcount_is_zero(&db->db_holds)); in dbuf_noread()
1150 ASSERT(!refcount_is_zero(&db->db_holds)); in dbuf_dirty()
1522 ASSERT(!refcount_is_zero(&db->db_holds)); in dmu_buf_will_dirty()
1550 ASSERT(!refcount_is_zero(&db->db_holds)); in dmu_buf_will_fill()
1625 ASSERT(!refcount_is_zero(&db->db_holds)); in dbuf_assign_arcbuf()
1706 ASSERT(refcount_is_zero(&db->db_holds)); in dbuf_clear()
1927 ASSERT(refcount_is_zero(&db->db_holds)); in dbuf_do_evict()
[all …]
H A Drefcount.c106 refcount_is_zero(refcount_t *rc) in refcount_is_zero() function
H A Dspa_misc.c393 if (!refcount_is_zero(&scl->scl_count)) { in spa_config_tryenter()
426 while (!refcount_is_zero(&scl->scl_count)) { in spa_config_enter()
447 ASSERT(!refcount_is_zero(&scl->scl_count)); in spa_config_exit()
467 if ((rw == RW_READER && !refcount_is_zero(&scl->scl_count)) || in spa_config_held()
H A Ddnode.c569 ASSERT(refcount_is_zero(&dn->dn_tx_holds)); in dnode_allocate()
1045 ASSERT(refcount_is_zero(&dn->dn_holds)); in dnode_buf_evict_async()
1046 ASSERT(refcount_is_zero(&dn->dn_tx_holds)); in dnode_buf_evict_async()
1174 (type != DMU_OT_NONE || !refcount_is_zero(&dn->dn_holds)))) { in dnode_hold_impl()
1214 if (refcount_is_zero(&dn->dn_holds)) { in dnode_add_ref()
1301 ASSERT(!refcount_is_zero(&dn->dn_holds) || in dnode_setdirty()
H A Darc.c2171 ASSERT(refcount_is_zero(&hdr->b_l1hdr.b_refcnt)); in arc_buf_alloc()
2448 ASSERT(refcount_is_zero( in arc_buf_destroy()
2547 ASSERT(refcount_is_zero(&hdr->b_l1hdr.b_refcnt)); in arc_hdr_destroy()
2656 ASSERT(refcount_is_zero(&hdr->b_l1hdr.b_refcnt)); in arc_buf_free()
2699 refcount_is_zero(&hdr->b_l1hdr.b_refcnt)); in arc_buf_remove_ref()
3999 ASSERT(refcount_is_zero(&hdr->b_l1hdr.b_refcnt)); in arc_get_data_buf()
4111 ASSERT(refcount_is_zero(&hdr->b_l1hdr.b_refcnt)); in arc_access()
4265 ASSERT(refcount_is_zero(&hdr->b_l1hdr.b_refcnt) || in arc_read_done()
4274 freeable = refcount_is_zero(&hdr->b_l1hdr.b_refcnt); in arc_read_done()
4294 freeable = refcount_is_zero(&hdr->b_l1hdr.b_refcnt); in arc_read_done()
[all …]
H A Ddnode_sync.c415 refcount_is_zero(&db->db_holds)) { in dnode_evict_dbufs()
442 if (refcount_is_zero(&dn->dn_bonus->db_holds)) { in dnode_evict_bonus()
H A Ddsl_destroy.c249 ASSERT(refcount_is_zero(&ds->ds_longholds)); in dsl_destroy_snapshot_sync_impl()
641 if (!refcount_is_zero(&ds->ds_prev->ds_longholds)) in dsl_destroy_head_check_impl()
H A Ddsl_dataset.c667 return (!refcount_is_zero(&ds->ds_longholds)); in dsl_dataset_long_held()
/titanic_41/usr/src/uts/common/fs/zfs/sys/
H A Drefcount.h67 int refcount_is_zero(refcount_t *rc);
88 #define refcount_is_zero(rc) ((rc)->rc_count == 0)