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

/freebsd-9.3-release/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/
H A Drefcount.h59 uint64_t rc_count; member in struct:refcount
83 uint64_t rc_count; member in struct:refcount
86 #define refcount_create(rc) ((rc)->rc_count = 0)
87 #define refcount_create_untracked(rc) ((rc)->rc_count = 0)
88 #define refcount_destroy(rc) ((rc)->rc_count = 0)
89 #define refcount_destroy_many(rc, number) ((rc)->rc_count = 0)
90 #define refcount_is_zero(rc) ((rc)->rc_count == 0)
91 #define refcount_count(rc) ((rc)->rc_count)
92 #define refcount_add(rc, holder) atomic_add_64_nv(&(rc)->rc_count, 1)
93 #define refcount_remove(rc, holder) atomic_add_64_nv(&(rc)->rc_count,
[all...]
/freebsd-9.3-release/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Drefcount.c66 rc->rc_count = 0;
83 ASSERT(rc->rc_count == number);
108 return (rc->rc_count == 0);
114 return (rc->rc_count);
129 ASSERT(rc->rc_count >= 0);
132 rc->rc_count += number;
133 count = rc->rc_count;
152 ASSERT(rc->rc_count >= number);
155 rc->rc_count -= number;
156 count = rc->rc_count;
[all...]
H A Drrwlock.c169 rrl->rr_anon_rcount.rc_count++;
225 if (!rrl->rr_writer && rrl->rr_linked_rcount.rc_count == 0) {
226 rrl->rr_anon_rcount.rc_count--;
227 if (rrl->rr_anon_rcount.rc_count == 0)
/freebsd-9.3-release/sys/rpc/
H A Dreplay.c68 int rc_count; member in struct:replay_cache
118 rc->rc_count++;
138 rc->rc_count--;
155 if (rc->rc_count < REPLAY_MAX && rc->rc_size <= rc->rc_maxsize)
169 } while (rce && (rc->rc_count >= REPLAY_MAX

Completed in 180 milliseconds