Home
last modified time | relevance | path

Searched refs:atomic64_cmpxchg (Results 1 – 21 of 21) sorted by relevance

/linux-4.1.27/arch/x86/include/asm/
Datomic64_64.h164 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()
Datomic64_32.h74 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/
Datomic.h183 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/
Datomic.h223 #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/
Datomic.h262 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/
Datomic_64.h90 #define atomic64_cmpxchg(v, o, n) \ macro
101 old = atomic64_cmpxchg((v), c, c + (a)); in atomic64_add_unless()
/linux-4.1.27/lib/
Datomic64.c125 long long atomic64_cmpxchg(atomic64_t *v, long long o, long long n) in atomic64_cmpxchg() function
138 EXPORT_SYMBOL(atomic64_cmpxchg);
Datomic64_test.c103 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/
Datomic.h190 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/
Datomic.h121 #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/
Datomic64.h40 extern long long atomic64_cmpxchg(atomic64_t *v, long long o, long long n);
Dlocal64.h82 #define local64_cmpxchg(l, o, n) atomic64_cmpxchg((&(l)->a), (o), (n))
Datomic-long.h135 (atomic64_cmpxchg((atomic64_t *)(l), (old), (new)))
/linux-4.1.27/arch/mips/include/asm/
Datomic.h492 #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/
Dpvclock.c112 last = atomic64_cmpxchg(&last_value, last, ret); in pvclock_clocksource_read()
/linux-4.1.27/arch/frv/include/asm/
Datomic.h181 #define atomic64_cmpxchg(v, old, new) (__cmpxchg_64(old, new, &(v)->counter)) macro
/linux-4.1.27/arch/alpha/include/asm/
Datomic.h119 #define atomic64_cmpxchg(v, old, new) (cmpxchg(&((v)->counter), old, new)) in ATOMIC_OPS() macro
/linux-4.1.27/net/core/
Dsock_diag.c24 atomic64_cmpxchg(&sk->sk_cookie, 0, res); in sock_gen_cookie()
/linux-4.1.27/arch/powerpc/include/asm/
Datomic.h415 #define atomic64_cmpxchg(v, o, n) (cmpxchg(&((v)->counter), (o), (n))) macro
/linux-4.1.27/arch/arm/include/asm/
Datomic.h328 static inline long long atomic64_cmpxchg(atomic64_t *ptr, long long old, in ATOMIC64_OPS()
/linux-4.1.27/fs/xfs/
Dxfs_log.c160 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()