Lines Matching refs:counter
22 : "+m" (l->a.counter)); in local_inc()
28 : "+m" (l->a.counter)); in local_dec()
34 : "+m" (l->a.counter) in local_add()
41 : "+m" (l->a.counter) in local_sub()
56 return GEN_BINARY_RMWcc(_ASM_SUB, l->a.counter, e, "er", i); in local_sub_and_test()
69 return GEN_UNARY_RMWcc(_ASM_DEC, l->a.counter, e); in local_dec_and_test()
82 return GEN_UNARY_RMWcc(_ASM_INC, l->a.counter, e); in local_inc_and_test()
96 return GEN_BINARY_RMWcc(_ASM_ADD, l->a.counter, s, "er", i); in local_add_negative()
110 : "+r" (i), "+m" (l->a.counter) in local_add_return()
124 (cmpxchg_local(&((l)->a.counter), (o), (n)))
126 #define local_xchg(l, n) (xchg(&((l)->a.counter), (n)))