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

/freebsd-11.0-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_inc_64_nv(&(rc)->rc_count)
93 #define refcount_remove(rc, holder) atomic_dec_64_nv(&(rc)->rc_count)
[all...]
/freebsd-11.0-release/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Drefcount.c70 rc->rc_count = 0;
87 ASSERT(rc->rc_count == number);
112 return (rc->rc_count == 0);
118 return (rc->rc_count);
133 ASSERT(rc->rc_count >= 0);
136 rc->rc_count += number;
137 count = rc->rc_count;
156 ASSERT(rc->rc_count >= number);
159 rc->rc_count -= number;
160 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)
H A Darc.c1113 &ARC_anon.arcs_size.rc_count, 0, "size of anonymous state");
1120 &ARC_mru.arcs_size.rc_count, 0, "size of mru state");
1127 &ARC_mru_ghost.arcs_size.rc_count, 0, "size of mru ghost state");
1136 &ARC_mfu.arcs_size.rc_count, 0, "size of mfu state");
1143 &ARC_mfu_ghost.arcs_size.rc_count, 0, "size of mfu ghost state");
1152 &ARC_l2c_only.arcs_size.rc_count, 0, "size of mru state");
/freebsd-11.0-release/sys/rpc/
H A Dreplay.c69 int rc_count; member in struct:replay_cache
119 rc->rc_count++;
139 rc->rc_count--;
156 if (rc->rc_count < REPLAY_MAX && rc->rc_size <= rc->rc_maxsize)
170 } while (rce && (rc->rc_count >= REPLAY_MAX

Completed in 80 milliseconds