Searched refs:refcount_is_zero (Results 1 – 10 of 10) sorted by relevance
179 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()
2180 ASSERT(refcount_is_zero(&hdr->b_l1hdr.b_refcnt)); in add_reference()2502 ASSERT(refcount_is_zero(&hdr->b_l1hdr.b_refcnt)); in arc_buf_alloc_impl()2641 ASSERT(refcount_is_zero(&hdr->b_l1hdr.b_refcnt)); in arc_hdr_free_on_write()2895 ASSERT(refcount_is_zero(&hdr->b_l1hdr.b_refcnt)); in arc_hdr_alloc()3048 ASSERT(refcount_is_zero(&hdr->b_l1hdr.b_refcnt)); in arc_hdr_destroy()4446 ASSERT(refcount_is_zero(&hdr->b_l1hdr.b_refcnt)); in arc_get_data_buf()4475 ASSERT(refcount_is_zero(&hdr->b_l1hdr.b_refcnt)); in arc_free_data_buf()4591 ASSERT(refcount_is_zero(&hdr->b_l1hdr.b_refcnt)); in arc_access()4775 ASSERT(refcount_is_zero(&hdr->b_l1hdr.b_refcnt) || in arc_read_done()4786 freeable = refcount_is_zero(&hdr->b_l1hdr.b_refcnt); in arc_read_done()[all …]
290 ASSERT(refcount_is_zero(&db->db_holds)); in dbuf_hash_remove()944 ASSERT(!refcount_is_zero(&db->db_holds)); in dbuf_read_impl()1039 ASSERT(!refcount_is_zero(&db->db_holds)); in dbuf_read()1119 ASSERT(!refcount_is_zero(&db->db_holds)); in dbuf_noread()1468 ASSERT(!refcount_is_zero(&db->db_holds)); in dbuf_dirty()1858 ASSERT(!refcount_is_zero(&db->db_holds)); in dmu_buf_will_dirty()1910 ASSERT(!refcount_is_zero(&db->db_holds)); in dmu_buf_will_fill()1985 ASSERT(!refcount_is_zero(&db->db_holds)); in dbuf_assign_arcbuf()2049 ASSERT(refcount_is_zero(&db->db_holds)); in dbuf_destroy()2113 ASSERT(refcount_is_zero(&db->db_holds)); in dbuf_destroy()[all …]
573 ASSERT(refcount_is_zero(&dn->dn_tx_holds)); in dnode_allocate()1047 ASSERT(refcount_is_zero(&dn->dn_holds)); in dnode_buf_evict_async()1048 ASSERT(refcount_is_zero(&dn->dn_tx_holds)); in dnode_buf_evict_async()1176 (type != DMU_OT_NONE || !refcount_is_zero(&dn->dn_holds)))) { in dnode_hold_impl()1216 if (refcount_is_zero(&dn->dn_holds)) { in dnode_add_ref()1303 ASSERT(!refcount_is_zero(&dn->dn_holds) || in dnode_setdirty()
518 if (!refcount_is_zero(&scl->scl_count)) { in spa_config_tryenter()552 while (!refcount_is_zero(&scl->scl_count)) { in spa_config_enter()573 ASSERT(!refcount_is_zero(&scl->scl_count)); in spa_config_exit()593 if ((rw == RW_READER && !refcount_is_zero(&scl->scl_count)) || in spa_config_held()
117 refcount_is_zero(refcount_t *rc) in refcount_is_zero() function
409 refcount_is_zero(&db->db_holds)) { in dnode_evict_dbufs()436 if (refcount_is_zero(&dn->dn_bonus->db_holds)) { in dnode_evict_bonus()
252 ASSERT(refcount_is_zero(&ds->ds_longholds)); in dsl_destroy_snapshot_sync_impl()644 if (!refcount_is_zero(&ds->ds_prev->ds_longholds)) in dsl_destroy_head_check_impl()
697 return (!refcount_is_zero(&ds->ds_longholds)); in dsl_dataset_long_held()
70 int refcount_is_zero(refcount_t *rc);95 #define refcount_is_zero(rc) ((rc)->rc_count == 0)