Lines Matching refs:counter
38 #define atomic_read(v) ACCESS_ONCE((v)->counter)
39 #define atomic_set(v,i) (((v)->counter) = (i))
58 : "=&r" (result), "=&r" (tmp), "+Q" (v->counter) \
73 : "=&r" (result), "=&r" (tmp), "+Q" (v->counter) \
106 : "=&r" (tmp), "=&r" (oldval), "+Q" (ptr->counter) in ATOMIC_OPS()
114 #define atomic_xchg(v, new) (xchg(&((v)->counter), new))
142 #define atomic64_read(v) ACCESS_ONCE((v)->counter)
143 #define atomic64_set(v,i) (((v)->counter) = (i))
156 : "=&r" (result), "=&r" (tmp), "+Q" (v->counter) \
171 : "=&r" (result), "=&r" (tmp), "+Q" (v->counter) \
204 : "=&r" (res), "=&r" (oldval), "+Q" (ptr->counter) in ATOMIC64_OPS()
212 #define atomic64_xchg(v, new) (xchg(&((v)->counter), new))
227 : "=&r" (result), "=&r" (tmp), "+Q" (v->counter) in atomic64_dec_if_positive()