Searched refs:refcount_count (Results 1 - 12 of 12) sorted by relevance
/illumos-gate/usr/src/uts/common/fs/zfs/sys/ |
H A D | refcount.h | 69 int64_t refcount_count(refcount_t *rc); 94 #define refcount_count(rc) ((rc)->rc_count) macro
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | rrwlock.c | 88 if (refcount_count(&rrl->rr_linked_rcount) == 0) 123 if (refcount_count(&rrl->rr_linked_rcount) == 0) 176 ASSERT(refcount_count(&rrl->rr_anon_rcount) >= 0); 219 while (refcount_count(&rrl->rr_anon_rcount) > 0 || 220 refcount_count(&rrl->rr_linked_rcount) > 0 ||
|
H A D | dmu_tx.c | 400 if (refcount_count(&txh->txh_space_towrite) + 401 refcount_count(&txh->txh_space_tooverwrite) > 1217 towrite += refcount_count(&txh->txh_space_towrite); 1218 tofree += refcount_count(&txh->txh_space_tofree); 1219 tooverwrite += refcount_count(&txh->txh_space_tooverwrite); 1220 tounref += refcount_count(&txh->txh_space_tounref); 1221 tohold += refcount_count(&txh->txh_memory_tohold); 1222 fudge += refcount_count(&txh->txh_fudge); 1416 ASSERT3U(refcount_count(&tx->tx_space_written) + delta, <=, 1435 refcount_count( [all...] |
H A D | arc.c | 2140 refcnt = refcount_count(&hdr->b_l1hdr.b_refcnt); 3206 ASSERT0(refcount_count(&hdr->b_l1hdr.b_refcnt)); 3507 while (refcount_count(&state->arcs_esize[type]) != 0) { 3531 if (bytes > 0 && refcount_count(&state->arcs_esize[type]) > 0) { 3532 delta = MIN(refcount_count(&state->arcs_esize[type]), bytes); 3557 (int64_t)(refcount_count(&arc_anon->arcs_size) + 3558 refcount_count(&arc_mru->arcs_size) - arc_p)); 3568 (int64_t)(refcount_count(&arc_mfu->arcs_size) - (arc_c - arc_p))); 3677 (int64_t)(refcount_count(&arc_anon->arcs_size) + 3678 refcount_count( [all...] |
H A D | refcount.c | 119 refcount_count(refcount_t *rc) function
|
H A D | dbuf.c | 326 holds = refcount_count(&db->db_holds); 437 return (refcount_count(&dbuf_cache_size) > 447 return (refcount_count(&dbuf_cache_size) > 563 if (refcount_count(&dbuf_cache_size) > dbuf_cache_max_bytes) { 567 if (refcount_count(&dbuf_cache_size) > dbuf_cache_max_bytes) { 848 if (arc_released(db->db_buf) || refcount_count(&db->db_holds) > 1) { 910 ASSERT(refcount_count(&db->db_holds) > 0); 1067 } else if (refcount_count(&db->db_holds) > db->db_dirtycnt) { 1306 if (refcount_count(&db->db_holds) == 0) { 2023 refcount_count( [all...] |
H A D | dnode.c | 353 ASSERT3U(refcount_count(&dn->dn_holds), >=, 1); 370 ASSERT3U(refcount_count(&dn->dn_holds), >=, 1); 381 ASSERT3U(refcount_count(&dn->dn_holds), >=, 1); 568 ASSERT3U(refcount_count(&dn->dn_holds), <=, 1); 753 ASSERT(refcount_count(&odn->dn_tx_holds) == 0); 942 refcount = refcount_count(&odn->dn_holds); 970 ASSERT(refcount == refcount_count(&ndn->dn_holds)); 990 while (refcount_count(&dn->dn_holds) > 0) 1337 /* ASSERT3U(refcount_count(&dn->dn_holds), ==, 1); */
|
H A D | spa_misc.c | 692 ASSERT3U(refcount_count(&spa->spa_refcount), ==, 0); 787 ASSERT(refcount_count(&spa->spa_refcount) >= spa->spa_minref || 799 ASSERT(refcount_count(&spa->spa_refcount) > spa->spa_minref || 828 return (refcount_count(&spa->spa_refcount) == spa->spa_minref);
|
H A D | metaslab.c | 906 qdepth = refcount_count(&mg->mg_alloc_queue_depth); 927 qdepth = refcount_count(&mgp->mg_alloc_queue_depth); 3247 uint64_t reserved_slots = refcount_count(&mc->mc_alloc_slots);
|
H A D | dsl_destroy.c | 616 if (refcount_count(&ds->ds_longholds) != expected_holds)
|
H A D | sa.c | 1129 ASSERT(refcount_count(&tab->sa_refcount));
|
H A D | spa.c | 2173 spa->spa_minref = refcount_count(&spa->spa_refcount); 3830 spa->spa_minref = refcount_count(&spa->spa_refcount); 6592 ASSERT0(refcount_count(&mg->mg_alloc_queue_depth)); 6597 ASSERT0(refcount_count(&mc->mc_alloc_slots));
|
Completed in 142 milliseconds