Lines Matching refs:l

38 static inline long atomic_long_read##mo(const atomic_long_t *l)		\
40 ATOMIC_LONG_PFX(_t) *v = (ATOMIC_LONG_PFX(_t) *)l; \
50 static inline void atomic_long_set##mo(atomic_long_t *l, long i) \ in ATOMIC_LONG_READ_OP()
52 ATOMIC_LONG_PFX(_t) *v = (ATOMIC_LONG_PFX(_t) *)l; \ in ATOMIC_LONG_READ_OP()
63 atomic_long_##op##_return##mo(long i, atomic_long_t *l) \
65 ATOMIC_LONG_PFX(_t) *v = (ATOMIC_LONG_PFX(_t) *)l; \
80 #define atomic_long_cmpxchg_relaxed(l, old, new) \ argument
81 (ATOMIC_LONG_PFX(_cmpxchg_relaxed)((ATOMIC_LONG_PFX(_t) *)(l), \
83 #define atomic_long_cmpxchg_acquire(l, old, new) \ argument
84 (ATOMIC_LONG_PFX(_cmpxchg_acquire)((ATOMIC_LONG_PFX(_t) *)(l), \
86 #define atomic_long_cmpxchg_release(l, old, new) \ argument
87 (ATOMIC_LONG_PFX(_cmpxchg_release)((ATOMIC_LONG_PFX(_t) *)(l), \
89 #define atomic_long_cmpxchg(l, old, new) \ argument
90 (ATOMIC_LONG_PFX(_cmpxchg)((ATOMIC_LONG_PFX(_t) *)(l), (old), (new)))
101 static inline void atomic_long_inc(atomic_long_t *l)
103 ATOMIC_LONG_PFX(_t) *v = (ATOMIC_LONG_PFX(_t) *)l;
108 static inline void atomic_long_dec(atomic_long_t *l) in atomic_long_dec() argument
110 ATOMIC_LONG_PFX(_t) *v = (ATOMIC_LONG_PFX(_t) *)l; in atomic_long_dec()
117 atomic_long_##op(long i, atomic_long_t *l) \
119 ATOMIC_LONG_PFX(_t) *v = (ATOMIC_LONG_PFX(_t) *)l; \
133 static inline int atomic_long_sub_and_test(long i, atomic_long_t *l) in ATOMIC_LONG_OP()
135 ATOMIC_LONG_PFX(_t) *v = (ATOMIC_LONG_PFX(_t) *)l; in ATOMIC_LONG_OP()
140 static inline int atomic_long_dec_and_test(atomic_long_t *l) in atomic_long_dec_and_test() argument
142 ATOMIC_LONG_PFX(_t) *v = (ATOMIC_LONG_PFX(_t) *)l; in atomic_long_dec_and_test()
147 static inline int atomic_long_inc_and_test(atomic_long_t *l) in atomic_long_inc_and_test() argument
149 ATOMIC_LONG_PFX(_t) *v = (ATOMIC_LONG_PFX(_t) *)l; in atomic_long_inc_and_test()
154 static inline int atomic_long_add_negative(long i, atomic_long_t *l) in atomic_long_add_negative() argument
156 ATOMIC_LONG_PFX(_t) *v = (ATOMIC_LONG_PFX(_t) *)l; in atomic_long_add_negative()
163 atomic_long_##op##_return##mo(atomic_long_t *l) \
165 ATOMIC_LONG_PFX(_t) *v = (ATOMIC_LONG_PFX(_t) *)l; \
180 static inline long atomic_long_add_unless(atomic_long_t *l, long a, long u) in ATOMIC_LONG_INC_DEC_OP()
182 ATOMIC_LONG_PFX(_t) *v = (ATOMIC_LONG_PFX(_t) *)l; in ATOMIC_LONG_INC_DEC_OP()
187 #define atomic_long_inc_not_zero(l) \ argument
188 ATOMIC_LONG_PFX(_inc_not_zero)((ATOMIC_LONG_PFX(_t) *)(l))