Lines Matching defs:l
16 #define local_read(l) atomic_long_read(&(l)->a) argument
17 #define local_set(l, i) atomic_long_set(&(l)->a, (i)) argument
19 static inline void local_inc(local_t *l) in local_inc()
25 static inline void local_dec(local_t *l) in local_dec()
31 static inline void local_add(long i, local_t *l) in local_add()
38 static inline void local_sub(long i, local_t *l) in local_sub()
54 static inline bool local_sub_and_test(long i, local_t *l) in local_sub_and_test()
67 static inline bool local_dec_and_test(local_t *l) in local_dec_and_test()
80 static inline bool local_inc_and_test(local_t *l) in local_inc_and_test()
94 static inline bool local_add_negative(long i, local_t *l) in local_add_negative()
106 static inline long local_add_return(long i, local_t *l) in local_add_return()
115 static inline long local_sub_return(long i, local_t *l) in local_sub_return()
120 #define local_inc_return(l) (local_add_return(1, l)) argument
121 #define local_dec_return(l) (local_sub_return(1, l)) argument
123 #define local_cmpxchg(l, o, n) \ argument
126 #define local_xchg(l, n) (xchg(&((l)->a.counter), (n))) argument
137 #define local_add_unless(l, a, u) \ argument
151 #define local_inc_not_zero(l) local_add_unless((l), 1, 0) argument
157 #define __local_inc(l) local_inc(l) argument
158 #define __local_dec(l) local_dec(l) argument
159 #define __local_add(i, l) local_add((i), (l)) argument
160 #define __local_sub(i, l) local_sub((i), (l)) argument