Lines Matching refs:count
107 Returns the value of the object's reference count.
110 Increments the reference count of the given SV.
113 Decrements the reference count of the given SV.
132 # define ATOMIC_INC(count) __ATOMIC_INCREMENT_LONG(&count)
133 # define ATOMIC_DEC_AND_TEST(res,count) res=(1==__ATOMIC_DECREMENT_LONG(&count))
136 # define ATOMIC_INC(count) STMT_START { \
138 ++count; \
141 # define ATOMIC_DEC_AND_TEST(res,count) STMT_START { \
143 res = (--count == 0); \
147 # define ATOMIC_INC(count) atomic_inc(&count)
148 # define ATOMIC_DEC_AND_TEST(res,count) (res = atomic_dec_and_test(&count))
152 # define ATOMIC_INC(count) (++count)
153 # define ATOMIC_DEC_AND_TEST(res, count) (res = (--count == 0))
1138 Creates an RV wrapper for an SV. The reference count for the original SV is