Searched refs:rc_count (Results 1 – 4 of 4) sorted by relevance
57 uint64_t rc_count; member81 uint64_t rc_count;84 #define refcount_create(rc) ((rc)->rc_count = 0)85 #define refcount_create_untracked(rc) ((rc)->rc_count = 0)86 #define refcount_destroy(rc) ((rc)->rc_count = 0)87 #define refcount_destroy_many(rc, number) ((rc)->rc_count = 0)88 #define refcount_is_zero(rc) ((rc)->rc_count == 0)89 #define refcount_count(rc) ((rc)->rc_count)90 #define refcount_add(rc, holder) atomic_inc_64_nv(&(rc)->rc_count)91 #define refcount_remove(rc, holder) atomic_dec_64_nv(&(rc)->rc_count)[all …]
66 rc->rc_count = 0; in refcount_create()83 ASSERT(rc->rc_count == number); in refcount_destroy_many()108 return (rc->rc_count == 0); in refcount_is_zero()114 return (rc->rc_count); in refcount_count()129 ASSERT(rc->rc_count >= 0); in refcount_add_many()132 rc->rc_count += number; in refcount_add_many()133 count = rc->rc_count; in refcount_add_many()152 ASSERT(rc->rc_count >= number); in refcount_remove_many()155 rc->rc_count -= number; in refcount_remove_many()156 count = rc->rc_count; in refcount_remove_many()[all …]
169 rrl->rr_anon_rcount.rc_count++; in rrw_enter_read_impl()244 if (!rrl->rr_writer && rrl->rr_linked_rcount.rc_count == 0) { in rrw_exit()245 rrl->rr_anon_rcount.rc_count--; in rrw_exit()246 if (rrl->rr_anon_rcount.rc_count == 0) in rrw_exit()
458 uint64_t rc_count; member496 db.db_holds.rc_count, path); in dbuf()2552 uint64_t rc_count; member2588 addr, (longlong_t)rc.rc_count); in refcount()2600 addr, (longlong_t)rc.rc_count, (longlong_t)rcr.rc_removed_count); in refcount()2602 if (rct.rc_tracked && rc.rc_count > 0) in refcount()