Home
last modified time | relevance | path

Searched refs:refcount_count (Results 1 – 13 of 13) sorted by relevance

/freebsd-12.1/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Drrwlock.c88 if (refcount_count(&rrl->rr_linked_rcount) == 0) in rrn_find()
123 if (refcount_count(&rrl->rr_linked_rcount) == 0) in rrn_find_and_remove()
176 ASSERT(refcount_count(&rrl->rr_anon_rcount) >= 0); in rrw_enter_read_impl()
219 while (refcount_count(&rrl->rr_anon_rcount) > 0 || in rrw_enter_write()
220 refcount_count(&rrl->rr_linked_rcount) > 0 || in rrw_enter_write()
H A Darc.c2647 abi->abi_holds = refcount_count(&l1hdr->b_refcnt); in arc_buf_info()
2683 refcnt = refcount_count(&hdr->b_l1hdr.b_refcnt); in arc_change_state()
3796 ASSERT0(refcount_count(&hdr->b_l1hdr.b_refcnt)); in arc_evict_hdr()
4156 if (refcount_count(&ap->p_refcnt) >= 2) in arc_prune_async()
4315 refcount_count(&arc_mru->arcs_size) - arc_p)); in arc_adjust_meta_only()
4325 (int64_t)(refcount_count(&arc_mfu->arcs_size) - in arc_adjust_meta_only()
4537 target = refcount_count(&arc_mru->arcs_size) + in arc_adjust()
5274 (refcount_count(&arc_anon->arcs_size) + in arc_get_data_impl()
5275 refcount_count(&arc_mru->arcs_size) > arc_p)) in arc_get_data_impl()
6180 ASSERT0(refcount_count(&p->p_refcnt)); in arc_remove_prune_callback()
[all …]
H A Ddbuf_stats.c93 (ulong_t)refcount_count(&db->db_holds), in __dbuf_stats_hash_table_data()
118 (ulong_t)refcount_count(&dn->dn_holds), in __dbuf_stats_hash_table_data()
H A Ddmu_tx.c218 if (refcount_count(&txh->txh_space_towrite) > 2 * DMU_MAX_ACCESS) in dmu_tx_count_write()
937 towrite += refcount_count(&txh->txh_space_towrite); in dmu_tx_try_assign()
938 tohold += refcount_count(&txh->txh_memory_tohold); in dmu_tx_try_assign()
1113 refcount_count(&txh->txh_space_towrite)); in dmu_tx_destroy()
1115 refcount_count(&txh->txh_memory_tohold)); in dmu_tx_destroy()
H A Ddbuf.c509 holds = refcount_count(&db->db_holds); in dbuf_verify_user()
719 refcount_count(&dbuf_caches[DB_DBUF_CACHE].size)); in dbuf_evict_one()
782 if (refcount_count(&dbuf_caches[DB_DBUF_CACHE].size) > in dbuf_evict_notify()
801 refcount_count(&dbuf_caches[DB_DBUF_CACHE].size); in dbuf_kstat_update()
1187 ASSERT(refcount_count(&db->db_holds) > 0); in dbuf_read_done()
1608 if (refcount_count(&db->db_holds) == 0) { in dbuf_free_range()
2608 refcount_count(&dn->dn_holds) > 0); in dbuf_create()
3289 refcount_count( in dbuf_rele_and_unlock()
3299 refcount_count( in dbuf_rele_and_unlock()
3323 return (refcount_count(&db->db_holds)); in dbuf_refcount()
[all …]
H A Ddnode.c359 ASSERT3U(refcount_count(&dn->dn_holds), >=, 1); in dnode_setbonuslen()
376 ASSERT3U(refcount_count(&dn->dn_holds), >=, 1); in dnode_setbonus_type()
387 ASSERT3U(refcount_count(&dn->dn_holds), >=, 1); in dnode_rm_spill()
580 ASSERT3U(refcount_count(&dn->dn_holds), <=, 1); in dnode_allocate()
779 ASSERT(refcount_count(&odn->dn_tx_holds) == 0); in dnode_move_impl()
968 refcount = refcount_count(&odn->dn_holds); in dnode_move()
996 ASSERT(refcount == refcount_count(&ndn->dn_holds)); in dnode_move()
1017 while (refcount_count(&dn->dn_holds) > 0) in dnode_special_close()
H A Dspa_misc.c854 ASSERT3U(refcount_count(&spa->spa_refcount), ==, 0); in spa_remove()
961 ASSERT(refcount_count(&spa->spa_refcount) >= spa->spa_minref || in spa_open_ref()
973 ASSERT(refcount_count(&spa->spa_refcount) > spa->spa_minref || in spa_close()
1002 return (refcount_count(&spa->spa_refcount) == spa->spa_minref); in spa_refcount_zero()
H A Drefcount.c123 refcount_count(refcount_t *rc) in refcount_count() function
H A Dmetaslab.c1137 qdepth = refcount_count(&mg->mg_alloc_queue_depth[allocator]); in metaslab_group_allocatable()
1158 qdepth = refcount_count( in metaslab_group_allocatable()
3885 refcount_count(&mc->mc_alloc_slots[allocator]); in metaslab_class_throttle_reserve()
H A Ddsl_destroy.c700 if (refcount_count(&ds->ds_longholds) != expected_holds) in dsl_destroy_head_check_impl()
H A Dspa.c2348 spa->spa_minref = refcount_count(&spa->spa_refcount); in spa_load()
4981 spa->spa_minref = refcount_count(&spa->spa_refcount);
8048 ASSERT0(refcount_count(&(mg->mg_alloc_queue_depth[i])));
8059 ASSERT0(refcount_count(&mc->mc_alloc_slots[i]));
H A Dsa.c1127 ASSERT(refcount_count(&tab->sa_refcount)); in sa_tear_down()
/freebsd-12.1/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/
H A Drefcount.h71 int64_t refcount_count(refcount_t *rc);
96 #define refcount_count(rc) ((rc)->rc_count)