Home
last modified time | relevance | path

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

/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
/arch/s390/include/asm/
Datomic.h264 static inline long long atomic64_cmpxchg(atomic64_t *v, in atomic64_cmpxchg() function
317 static inline long long atomic64_cmpxchg(atomic64_t *v, in atomic64_cmpxchg() function
339 } while (atomic64_cmpxchg(v, old, new) != old); in atomic64_add_return()
350 } while (atomic64_cmpxchg(v, old, new) != old); in atomic64_set_mask()
360 } while (atomic64_cmpxchg(v, old, new) != old); in atomic64_clear_mask()
378 old = atomic64_cmpxchg(v, c, c + i); in atomic64_add_unless()
395 old = atomic64_cmpxchg((v), c, dec); in atomic64_dec_if_positive()
/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()
/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()
/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()
/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()
/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()
/arch/x86/kernel/
Dpvclock.c112 last = atomic64_cmpxchg(&last_value, last, ret); in pvclock_clocksource_read()
/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()
/arch/frv/include/asm/
Datomic.h181 #define atomic64_cmpxchg(v, old, new) (__cmpxchg_64(old, new, &(v)->counter)) macro
/arch/alpha/include/asm/
Datomic.h119 #define atomic64_cmpxchg(v, old, new) (cmpxchg(&((v)->counter), old, new)) in ATOMIC_OPS() macro
/arch/powerpc/include/asm/
Datomic.h415 #define atomic64_cmpxchg(v, o, n) (cmpxchg(&((v)->counter), (o), (n))) macro
/arch/arm/include/asm/
Datomic.h328 static inline long long atomic64_cmpxchg(atomic64_t *ptr, long long old, in ATOMIC64_OPS()