Home
last modified time | relevance | path

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

/titanic_50/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.c226 ASSERT(refcount_is_zero(&db->db_holds)); in dbuf_hash_remove()
645 ASSERT(!refcount_is_zero(&db->db_holds)); in dbuf_read_impl()
721 ASSERT(!refcount_is_zero(&db->db_holds)); in dbuf_read()
801 ASSERT(!refcount_is_zero(&db->db_holds)); in dbuf_noread()
1171 ASSERT(!refcount_is_zero(&db->db_holds)); in dbuf_dirty()
1534 ASSERT(!refcount_is_zero(&db->db_holds)); in dmu_buf_will_dirty()
1586 ASSERT(!refcount_is_zero(&db->db_holds)); in dmu_buf_will_fill()
1661 ASSERT(!refcount_is_zero(&db->db_holds)); in dbuf_assign_arcbuf()
1742 ASSERT(refcount_is_zero(&db->db_holds)); in dbuf_clear()
1963 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.c396 if (!refcount_is_zero(&scl->scl_count)) { in spa_config_tryenter()
430 while (!refcount_is_zero(&scl->scl_count)) { in spa_config_enter()
451 ASSERT(!refcount_is_zero(&scl->scl_count)); in spa_config_exit()
471 if ((rw == RW_READER && !refcount_is_zero(&scl->scl_count)) || in spa_config_held()
H A Ddnode.c570 ASSERT(refcount_is_zero(&dn->dn_tx_holds)); in dnode_allocate()
1044 ASSERT(refcount_is_zero(&dn->dn_holds)); in dnode_buf_evict_async()
1045 ASSERT(refcount_is_zero(&dn->dn_tx_holds)); in dnode_buf_evict_async()
1173 (type != DMU_OT_NONE || !refcount_is_zero(&dn->dn_holds)))) { in dnode_hold_impl()
1213 if (refcount_is_zero(&dn->dn_holds)) { in dnode_add_ref()
1300 ASSERT(!refcount_is_zero(&dn->dn_holds) || in dnode_setdirty()
H A Darc.c2175 ASSERT(refcount_is_zero(&hdr->b_l1hdr.b_refcnt)); in arc_buf_alloc()
2452 ASSERT(refcount_is_zero( in arc_buf_destroy()
2551 ASSERT(refcount_is_zero(&hdr->b_l1hdr.b_refcnt)); in arc_hdr_destroy()
2660 ASSERT(refcount_is_zero(&hdr->b_l1hdr.b_refcnt)); in arc_buf_free()
2703 refcount_is_zero(&hdr->b_l1hdr.b_refcnt)); in arc_buf_remove_ref()
4003 ASSERT(refcount_is_zero(&hdr->b_l1hdr.b_refcnt)); in arc_get_data_buf()
4115 ASSERT(refcount_is_zero(&hdr->b_l1hdr.b_refcnt)); in arc_access()
4269 ASSERT(refcount_is_zero(&hdr->b_l1hdr.b_refcnt) || in arc_read_done()
4278 freeable = refcount_is_zero(&hdr->b_l1hdr.b_refcnt); in arc_read_done()
4298 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.c250 ASSERT(refcount_is_zero(&ds->ds_longholds)); in dsl_destroy_snapshot_sync_impl()
642 if (!refcount_is_zero(&ds->ds_prev->ds_longholds)) in dsl_destroy_head_check_impl()
H A Ddsl_dataset.c681 return (!refcount_is_zero(&ds->ds_longholds)); in dsl_dataset_long_held()
/titanic_50/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)