Home
last modified time | relevance | path

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

/arch/x86/include/asm/
Datomic64_64.h174 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); \
Datomic64_32.h73 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/
Datomic.h185 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/
Datomic.h146 #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/
Datomic_64.h102 #define atomic64_cmpxchg(v, o, n) \ macro
113 old = atomic64_cmpxchg((v), c, c + (a)); in atomic64_add_unless()
/arch/s390/include/asm/
Datomic.h271 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/
Datomic.h277 #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/
Datomic.h235 #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/
Dpvclock.c114 last = atomic64_cmpxchg(&last_value, last, ret); in pvclock_clocksource_read()
/arch/mips/include/asm/
Datomic.h619 #define atomic64_cmpxchg(v, o, n) \ macro
639 old = atomic64_cmpxchg((v), c, c + (a)); in atomic64_add_unless()
/arch/arm64/include/asm/
Datomic.h196 #define atomic64_cmpxchg atomic_cmpxchg macro
/arch/alpha/include/asm/
Datomic.h188 #define atomic64_cmpxchg(v, old, new) (cmpxchg(&((v)->counter), old, new)) in ATOMIC_OPS() macro
/arch/powerpc/include/asm/
Datomic.h516 #define atomic64_cmpxchg(v, o, n) (cmpxchg(&((v)->counter), (o), (n))) macro
/arch/arc/include/asm/
Datomic.h488 atomic64_cmpxchg(atomic64_t *ptr, long long expected, long long new)