/linux-4.4.14/include/linux/ |
D | atomic.h | 335 #define atomic64_cmpxchg_relaxed atomic64_cmpxchg 336 #define atomic64_cmpxchg_acquire atomic64_cmpxchg 337 #define atomic64_cmpxchg_release atomic64_cmpxchg 343 __atomic_op_acquire(atomic64_cmpxchg, __VA_ARGS__) 348 __atomic_op_release(atomic64_cmpxchg, __VA_ARGS__) 351 #ifndef atomic64_cmpxchg 352 #define atomic64_cmpxchg(...) \ macro 353 __atomic_op_fence(atomic64_cmpxchg, __VA_ARGS__)
|
/linux-4.4.14/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 320 while ((old = atomic64_cmpxchg(v, c, c c_op i)) != c) \
|
/linux-4.4.14/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.4.14/arch/parisc/include/asm/ |
D | atomic.h | 230 #define atomic64_cmpxchg(v, o, n) \ macro 250 old = atomic64_cmpxchg((v), c, c + (a)); in atomic64_add_unless() 275 old = atomic64_cmpxchg((v), c, dec); in atomic64_dec_if_positive()
|
/linux-4.4.14/arch/s390/include/asm/ |
D | atomic.h | 256 static inline long long atomic64_cmpxchg(atomic64_t *v, in atomic64_cmpxchg() function 288 old = atomic64_cmpxchg(v, c, c + i); in ATOMIC64_OP() 305 old = atomic64_cmpxchg((v), c, dec); in atomic64_dec_if_positive()
|
/linux-4.4.14/arch/sparc/include/asm/ |
D | atomic_64.h | 94 #define atomic64_cmpxchg(v, o, n) \ macro 105 old = atomic64_cmpxchg((v), c, c + (a)); in atomic64_add_unless()
|
/linux-4.4.14/lib/ |
D | atomic64.c | 128 long long atomic64_cmpxchg(atomic64_t *v, long long o, long long n) in atomic64_cmpxchg() function 141 EXPORT_SYMBOL(atomic64_cmpxchg);
|
D | atomic64_test.c | 123 BUG_ON(atomic64_cmpxchg(&v, v0, v1) != v0); in test_atomic64() 128 BUG_ON(atomic64_cmpxchg(&v, v2, v1) != v0); in test_atomic64()
|
/linux-4.4.14/include/asm-generic/ |
D | atomic64.h | 44 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))
|
/linux-4.4.14/arch/ia64/include/asm/ |
D | atomic.h | 137 #define atomic64_cmpxchg(v, old, new) \ macro 164 old = atomic64_cmpxchg((v), c, c + (a)); in atomic64_add_unless()
|
/linux-4.4.14/arch/mips/include/asm/ |
D | atomic.h | 499 #define atomic64_cmpxchg(v, o, n) \ macro 519 old = atomic64_cmpxchg((v), c, c + (a)); in atomic64_add_unless()
|
/linux-4.4.14/arch/x86/kernel/ |
D | pvclock.c | 112 last = atomic64_cmpxchg(&last_value, last, ret); in pvclock_clocksource_read()
|
/linux-4.4.14/arch/frv/include/asm/ |
D | atomic.h | 166 #define atomic64_cmpxchg(v, old, new) (__cmpxchg_64(old, new, &(v)->counter)) macro
|
/linux-4.4.14/arch/arm64/include/asm/ |
D | atomic.h | 136 #define atomic64_cmpxchg atomic_cmpxchg macro
|
/linux-4.4.14/arch/alpha/include/asm/ |
D | atomic.h | 131 #define atomic64_cmpxchg(v, old, new) (cmpxchg(&((v)->counter), old, new)) in ATOMIC_OPS() macro
|
/linux-4.4.14/arch/powerpc/include/asm/ |
D | atomic.h | 422 #define atomic64_cmpxchg(v, o, n) (cmpxchg(&((v)->counter), (o), (n))) macro
|
/linux-4.4.14/net/core/ |
D | sock_diag.c | 30 atomic64_cmpxchg(&sk->sk_cookie, 0, res); in sock_gen_cookie()
|
/linux-4.4.14/drivers/gpu/drm/i915/ |
D | i915_guc_submission.c | 226 db_ret.value_qw = atomic64_cmpxchg((atomic64_t *)db, in guc_ring_doorbell()
|
/linux-4.4.14/kernel/time/ |
D | posix-cpu-timers.c | 209 if (atomic64_cmpxchg(cputime, curr_cputime, sum_cputime) != curr_cputime) in __update_gt_cputime()
|
/linux-4.4.14/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()
|