Lines Matching defs:l
19 #define local_read(l) atomic_long_read(&(l)->a) argument
20 #define local_set(l, i) atomic_long_set(&(l)->a, (i)) argument
22 #define local_add(i, l) atomic_long_add((i), (&(l)->a)) argument
23 #define local_sub(i, l) atomic_long_sub((i), (&(l)->a)) argument
24 #define local_inc(l) atomic_long_inc(&(l)->a) argument
25 #define local_dec(l) atomic_long_dec(&(l)->a) argument
30 static inline long local_add_return(long i, local_t *l) in local_add_return()
44 static inline long local_sub_return(long i, local_t *l) in local_sub_return()
59 static inline long local_cmpxchg(local_t *l, long old, long new) in local_cmpxchg()
64 static inline bool local_try_cmpxchg(local_t *l, long *old, long new) in local_try_cmpxchg()
70 #define local_xchg(l, n) (atomic_long_xchg((&(l)->a), (n))) argument
81 #define local_add_unless(l, a, u) \ argument
89 #define local_inc_not_zero(l) local_add_unless((l), 1, 0) argument
91 #define local_dec_return(l) local_sub_return(1, (l)) argument
92 #define local_inc_return(l) local_add_return(1, (l)) argument
103 #define local_sub_and_test(i, l) (local_sub_return((i), (l)) == 0) argument
113 #define local_inc_and_test(l) (local_inc_return(l) == 0) argument
123 #define local_dec_and_test(l) (local_sub_return(1, (l)) == 0) argument
134 #define local_add_negative(i, l) (local_add_return(i, (l)) < 0) argument
141 #define __local_inc(l) ((l)->a.counter++) argument
142 #define __local_dec(l) ((l)->a.counter++) argument
143 #define __local_add(i, l) ((l)->a.counter += (i)) argument
144 #define __local_sub(i, l) ((l)->a.counter -= (i)) argument