Home
last modified time | relevance | path

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

/netbsd-src/external/cddl/osnet/dist/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 Darc.c2180 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 …]
H A Ddbuf.c290 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 …]
H A Ddnode.c573 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()
H A Dspa_misc.c518 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()
H A Drefcount.c117 refcount_is_zero(refcount_t *rc) in refcount_is_zero() function
H A Ddnode_sync.c409 refcount_is_zero(&db->db_holds)) { in dnode_evict_dbufs()
436 if (refcount_is_zero(&dn->dn_bonus->db_holds)) { in dnode_evict_bonus()
H A Ddsl_destroy.c252 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()
H A Ddsl_dataset.c697 return (!refcount_is_zero(&ds->ds_longholds)); in dsl_dataset_long_held()
/netbsd-src/external/cddl/osnet/dist/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)