Lines Matching refs:refs
103 isc_int32_t refs;
106 #define isc_refcount_destroy(rp) REQUIRE((rp)->refs == 0)
107 #define isc_refcount_current(rp) ((unsigned int)((rp)->refs))
113 prev = isc_atomic_xadd(&(rp)->refs, 1); \
122 prev = isc_atomic_xadd(&(rp)->refs, 1); \
132 prev = isc_atomic_xadd(&(rp)->refs, -1); \
141 int refs;
148 REQUIRE((rp)->refs == 0); \
152 #define isc_refcount_current(rp) ((unsigned int)((rp)->refs))
159 ++((rp)->refs); \
161 *_tmp = ((rp)->refs); \
169 REQUIRE((rp)->refs > 0); \
170 ++((rp)->refs); \
172 *_tmp = ((rp)->refs); \
181 REQUIRE((rp)->refs > 0); \
182 --((rp)->refs); \
184 *_tmp = ((rp)->refs); \
192 int refs;
195 #define isc_refcount_destroy(rp) REQUIRE((rp)->refs == 0)
196 #define isc_refcount_current(rp) ((unsigned int)((rp)->refs))
201 int _n = ++(rp)->refs; \
210 REQUIRE((rp)->refs > 0); \
211 _n = ++(rp)->refs; \
220 REQUIRE((rp)->refs > 0); \
221 _n = --(rp)->refs; \