/arch/x86/include/asm/ |
D | atomic64_64.h | 174 static inline long atomic64_cmpxchg(atomic64_t *v, long old, long new) in atomic64_cmpxchg() function 200 old = atomic64_cmpxchg((v), c, c + (a)); in atomic64_add_unless() 225 old = atomic64_cmpxchg((v), c, dec); in atomic64_dec_if_positive() 247 old = atomic64_cmpxchg(v, val, val c_op i); \
|
D | atomic64_32.h | 73 static inline long long atomic64_cmpxchg(atomic64_t *v, long long o, long long n) in atomic64_cmpxchg() function 319 while ((old = atomic64_cmpxchg(v, c, c c_op i)) != c) \ 327 while ((old = atomic64_cmpxchg(v, c, c c_op i)) != c) \
|
/arch/tile/include/asm/ |
D | atomic.h | 185 static inline long long atomic64_cmpxchg(atomic64_t *v, long long o, in atomic64_cmpxchg() function 200 old = atomic64_cmpxchg((v), c, dec); in atomic64_dec_if_positive()
|
/arch/frv/include/asm/ |
D | atomic.h | 146 #define atomic64_cmpxchg(v, old, new) (__cmpxchg_64(old, new, &(v)->counter)) macro 172 old = atomic64_cmpxchg(v, c, c + i); in atomic64_add_unless() 189 old = atomic64_cmpxchg((v), c, dec); in atomic64_dec_if_positive()
|
/arch/sparc/include/asm/ |
D | atomic_64.h | 102 #define atomic64_cmpxchg(v, o, n) \ macro 113 old = atomic64_cmpxchg((v), c, c + (a)); in atomic64_add_unless()
|
/arch/s390/include/asm/ |
D | atomic.h | 271 static inline long long atomic64_cmpxchg(atomic64_t *v, in atomic64_cmpxchg() function 307 old = atomic64_cmpxchg(v, c, c + i); in ATOMIC64_OPS() 324 old = atomic64_cmpxchg((v), c, dec); in atomic64_dec_if_positive()
|
/arch/parisc/include/asm/ |
D | atomic.h | 277 #define atomic64_cmpxchg(v, o, n) \ macro 297 old = atomic64_cmpxchg((v), c, c + (a)); in atomic64_add_unless() 322 old = atomic64_cmpxchg((v), c, dec); in atomic64_dec_if_positive()
|
/arch/ia64/include/asm/ |
D | atomic.h | 235 #define atomic64_cmpxchg(v, old, new) \ macro 262 old = atomic64_cmpxchg((v), c, c + (a)); in atomic64_add_unless() 280 old = atomic64_cmpxchg((v), c, dec); in atomic64_dec_if_positive()
|
/arch/x86/kernel/ |
D | pvclock.c | 114 last = atomic64_cmpxchg(&last_value, last, ret); in pvclock_clocksource_read()
|
/arch/mips/include/asm/ |
D | atomic.h | 619 #define atomic64_cmpxchg(v, o, n) \ macro 639 old = atomic64_cmpxchg((v), c, c + (a)); in atomic64_add_unless()
|
/arch/arm64/include/asm/ |
D | atomic.h | 196 #define atomic64_cmpxchg atomic_cmpxchg macro
|
/arch/alpha/include/asm/ |
D | atomic.h | 188 #define atomic64_cmpxchg(v, old, new) (cmpxchg(&((v)->counter), old, new)) in ATOMIC_OPS() macro
|
/arch/powerpc/include/asm/ |
D | atomic.h | 516 #define atomic64_cmpxchg(v, o, n) (cmpxchg(&((v)->counter), (o), (n))) macro
|
/arch/arc/include/asm/ |
D | atomic.h | 488 atomic64_cmpxchg(atomic64_t *ptr, long long expected, long long new)
|