Lines Matching refs:i
22 #define ATOMIC_INIT(i) { (i) } argument
23 #define ATOMIC64_INIT(i) { (i) } argument
28 #define atomic_set(v,i) WRITE_ONCE(((v)->counter), (i)) argument
29 #define atomic64_set(v,i) WRITE_ONCE(((v)->counter), (i)) argument
33 ia64_atomic_##op (int i, atomic_t *v) \
41 new = old c_op i; \
48 ia64_atomic_fetch_##op (int i, atomic_t *v) \
56 new = old c_op i; \
69 #define __ia64_atomic_const(i) \ argument
70 static const int __ia64_atomic_p = __builtin_constant_p(i) ? \
71 ((i) == 1 || (i) == 4 || (i) == 8 || (i) == 16 || \
72 (i) == -1 || (i) == -4 || (i) == -8 || (i) == -16) : 0;\
75 #define __ia64_atomic_const(i) 0
78 #define atomic_add_return(i,v) \ argument
80 int __ia64_aar_i = (i); \
81 __ia64_atomic_const(i) \
86 #define atomic_sub_return(i,v) \ argument
88 int __ia64_asr_i = (i); \
89 __ia64_atomic_const(i) \
94 #define atomic_fetch_add(i,v) \ argument
96 int __ia64_aar_i = (i); \
97 __ia64_atomic_const(i) \
102 #define atomic_fetch_sub(i,v) \ argument
104 int __ia64_asr_i = (i); \
105 __ia64_atomic_const(i) \
114 #define atomic_and(i,v) (void)ia64_atomic_fetch_and(i,v) argument
115 #define atomic_or(i,v) (void)ia64_atomic_fetch_or(i,v) argument
116 #define atomic_xor(i,v) (void)ia64_atomic_fetch_xor(i,v) argument
118 #define atomic_fetch_and(i,v) ia64_atomic_fetch_and(i,v) argument
119 #define atomic_fetch_or(i,v) ia64_atomic_fetch_or(i,v) argument
120 #define atomic_fetch_xor(i,v) ia64_atomic_fetch_xor(i,v) argument
128 ia64_atomic64_##op (s64 i, atomic64_t *v) \
136 new = old c_op i; \
143 ia64_atomic64_fetch_##op (s64 i, atomic64_t *v) \
151 new = old c_op i; \
163 #define atomic64_add_return(i,v) \ argument
165 s64 __ia64_aar_i = (i); \
166 __ia64_atomic_const(i) \
171 #define atomic64_sub_return(i,v) \ argument
173 s64 __ia64_asr_i = (i); \
174 __ia64_atomic_const(i) \
179 #define atomic64_fetch_add(i,v) \ argument
181 s64 __ia64_aar_i = (i); \
182 __ia64_atomic_const(i) \
187 #define atomic64_fetch_sub(i,v) \ argument
189 s64 __ia64_asr_i = (i); \
190 __ia64_atomic_const(i) \
199 #define atomic64_and(i,v) (void)ia64_atomic64_fetch_and(i,v) argument
200 #define atomic64_or(i,v) (void)ia64_atomic64_fetch_or(i,v) argument
201 #define atomic64_xor(i,v) (void)ia64_atomic64_fetch_xor(i,v) argument
203 #define atomic64_fetch_and(i,v) ia64_atomic64_fetch_and(i,v) argument
204 #define atomic64_fetch_or(i,v) ia64_atomic64_fetch_or(i,v) argument
205 #define atomic64_fetch_xor(i,v) ia64_atomic64_fetch_xor(i,v) argument
218 #define atomic_add(i,v) (void)atomic_add_return((i), (v)) argument
219 #define atomic_sub(i,v) (void)atomic_sub_return((i), (v)) argument
221 #define atomic64_add(i,v) (void)atomic64_add_return((i), (v)) argument
222 #define atomic64_sub(i,v) (void)atomic64_sub_return((i), (v)) argument