/linux-4.1.27/arch/x86/include/asm/ |
D | atomic64_64.h | 164 static inline long atomic64_cmpxchg(atomic64_t *v, long old, long new) in atomic64_cmpxchg() function 190 old = atomic64_cmpxchg((v), c, c + (a)); in atomic64_add_unless() 215 old = atomic64_cmpxchg((v), c, dec); in atomic64_dec_if_positive()
|
D | atomic64_32.h | 74 static inline long long atomic64_cmpxchg(atomic64_t *v, long long o, long long n) in atomic64_cmpxchg() function
|
/linux-4.1.27/arch/tile/include/asm/ |
D | atomic.h | 183 static inline long long atomic64_cmpxchg(atomic64_t *v, long long o, in atomic64_cmpxchg() function 198 old = atomic64_cmpxchg((v), c, dec); in atomic64_dec_if_positive()
|
/linux-4.1.27/arch/parisc/include/asm/ |
D | atomic.h | 223 #define atomic64_cmpxchg(v, o, n) \ macro 243 old = atomic64_cmpxchg((v), c, c + (a)); in atomic64_add_unless() 268 old = atomic64_cmpxchg((v), c, dec); in atomic64_dec_if_positive()
|
/linux-4.1.27/arch/s390/include/asm/ |
D | atomic.h | 262 static inline long long atomic64_cmpxchg(atomic64_t *v, in atomic64_cmpxchg() function 283 old = atomic64_cmpxchg(v, c, c + i); in atomic64_add_unless() 300 old = atomic64_cmpxchg((v), c, dec); in atomic64_dec_if_positive()
|
/linux-4.1.27/arch/sparc/include/asm/ |
D | atomic_64.h | 90 #define atomic64_cmpxchg(v, o, n) \ macro 101 old = atomic64_cmpxchg((v), c, c + (a)); in atomic64_add_unless()
|
/linux-4.1.27/lib/ |
D | atomic64.c | 125 long long atomic64_cmpxchg(atomic64_t *v, long long o, long long n) in atomic64_cmpxchg() function 138 EXPORT_SYMBOL(atomic64_cmpxchg);
|
D | atomic64_test.c | 103 BUG_ON(atomic64_cmpxchg(&v, v0, v1) != v0); in test_atomic64() 108 BUG_ON(atomic64_cmpxchg(&v, v2, v1) != v0); in test_atomic64()
|
/linux-4.1.27/arch/arm64/include/asm/ |
D | atomic.h | 190 static inline long atomic64_cmpxchg(atomic64_t *ptr, long old, long new) in ATOMIC64_OPS() 239 while (c != u && (old = atomic64_cmpxchg((v), c, c + a)) != c) in atomic64_add_unless()
|
/linux-4.1.27/arch/ia64/include/asm/ |
D | atomic.h | 121 #define atomic64_cmpxchg(v, old, new) \ macro 148 old = atomic64_cmpxchg((v), c, c + (a)); in atomic64_add_unless()
|
/linux-4.1.27/include/asm-generic/ |
D | atomic64.h | 40 extern long long atomic64_cmpxchg(atomic64_t *v, long long o, long long n);
|
D | local64.h | 82 #define local64_cmpxchg(l, o, n) atomic64_cmpxchg((&(l)->a), (o), (n))
|
D | atomic-long.h | 135 (atomic64_cmpxchg((atomic64_t *)(l), (old), (new)))
|
/linux-4.1.27/arch/mips/include/asm/ |
D | atomic.h | 492 #define atomic64_cmpxchg(v, o, n) \ macro 512 old = atomic64_cmpxchg((v), c, c + (a)); in atomic64_add_unless()
|
/linux-4.1.27/arch/x86/kernel/ |
D | pvclock.c | 112 last = atomic64_cmpxchg(&last_value, last, ret); in pvclock_clocksource_read()
|
/linux-4.1.27/arch/frv/include/asm/ |
D | atomic.h | 181 #define atomic64_cmpxchg(v, old, new) (__cmpxchg_64(old, new, &(v)->counter)) macro
|
/linux-4.1.27/arch/alpha/include/asm/ |
D | atomic.h | 119 #define atomic64_cmpxchg(v, old, new) (cmpxchg(&((v)->counter), old, new)) in ATOMIC_OPS() macro
|
/linux-4.1.27/net/core/ |
D | sock_diag.c | 24 atomic64_cmpxchg(&sk->sk_cookie, 0, res); in sock_gen_cookie()
|
/linux-4.1.27/arch/powerpc/include/asm/ |
D | atomic.h | 415 #define atomic64_cmpxchg(v, o, n) (cmpxchg(&((v)->counter), (o), (n))) macro
|
/linux-4.1.27/arch/arm/include/asm/ |
D | atomic.h | 328 static inline long long atomic64_cmpxchg(atomic64_t *ptr, long long old, in ATOMIC64_OPS()
|
/linux-4.1.27/fs/xfs/ |
D | xfs_log.c | 160 head_val = atomic64_cmpxchg(head, old, new); in xlog_grant_sub_space() 189 head_val = atomic64_cmpxchg(head, old, new); in xlog_grant_add_space()
|