Searched refs:rc_count (Results 1 - 4 of 4) sorted by relevance

/illumos-gate/usr/src/uts/common/fs/zfs/sys/
H A Drefcount.h57 uint64_t rc_count; member in struct:refcount
85 uint64_t rc_count; member in struct:refcount
88 #define refcount_create(rc) ((rc)->rc_count = 0)
89 #define refcount_create_untracked(rc) ((rc)->rc_count = 0)
90 #define refcount_create_tracked(rc) ((rc)->rc_count = 0)
91 #define refcount_destroy(rc) ((rc)->rc_count = 0)
92 #define refcount_destroy_many(rc, number) ((rc)->rc_count = 0)
93 #define refcount_is_zero(rc) ((rc)->rc_count == 0)
94 #define refcount_count(rc) ((rc)->rc_count)
95 #define refcount_add(rc, holder) atomic_inc_64_nv(&(rc)->rc_count)
[all...]
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Drefcount.c66 rc->rc_count = 0;
90 ASSERT(rc->rc_count == number);
115 return (rc->rc_count == 0);
121 return (rc->rc_count);
136 ASSERT(rc->rc_count >= 0);
139 rc->rc_count += number;
140 count = rc->rc_count;
159 ASSERT(rc->rc_count >= number);
162 rc->rc_count -= number;
163 count = rc->rc_count;
[all...]
H A Drrwlock.c169 rrl->rr_anon_rcount.rc_count++;
244 if (!rrl->rr_writer && rrl->rr_linked_rcount.rc_count == 0) {
245 rrl->rr_anon_rcount.rc_count--;
246 if (rrl->rr_anon_rcount.rc_count == 0)
/illumos-gate/usr/src/cmd/mdb/common/modules/zfs/
H A Dzfs.c463 uint64_t rc_count; member in struct:mdb_dmu_buf_impl::__anon31
503 db.db_holds.rc_count, path);
2826 uint64_t rc_count; member in struct:mdb_refcount
2862 addr, (longlong_t)rc.rc_count);
2874 addr, (longlong_t)rc.rc_count, (longlong_t)rcr.rc_removed_count);
2876 if (rct.rc_tracked && rc.rc_count > 0)

Completed in 55 milliseconds