Home
last modified time | relevance | path

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

/arch/s390/include/asm/
Datomic.h172 static inline long long atomic64_cmpxchg(atomic64_t *v, in atomic64_cmpxchg() function
225 static inline long long atomic64_cmpxchg(atomic64_t *v, in atomic64_cmpxchg() function
247 } while (atomic64_cmpxchg(v, old, new) != old); in atomic64_add_return()
258 } while (atomic64_cmpxchg(v, old, new) != old); in atomic64_sub_return()
269 } while (atomic64_cmpxchg(v, old, new) != old); in atomic64_set_mask()
279 } while (atomic64_cmpxchg(v, old, new) != old); in atomic64_clear_mask()
292 old = atomic64_cmpxchg(v, c, c + a); in atomic64_add_unless()
309 old = atomic64_cmpxchg((v), c, dec); in atomic64_dec_if_positive()
/arch/x86/include/asm/
Datomic64_64.h184 static inline long atomic64_cmpxchg(atomic64_t *v, long old, long new) in atomic64_cmpxchg() function
210 old = atomic64_cmpxchg((v), c, c + (a)); in atomic64_add_unless()
235 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/tile/include/asm/
Dbitops_64.h47 oldval = atomic64_cmpxchg((atomic64_t *)addr, in change_bit()
93 oldval = atomic64_cmpxchg((atomic64_t *)addr, in test_and_change_bit()
Datomic_64.h87 static inline long atomic64_cmpxchg(atomic64_t *v, long o, long n) in atomic64_cmpxchg() function
127 oldval = atomic64_cmpxchg(v, guess, guess + a); in atomic64_add_unless()
Dcmpxchg.h58 __x = (typeof(__x))(typeof(__x-__x))atomic64_cmpxchg( \
Datomic_32.h165 static inline u64 atomic64_cmpxchg(atomic64_t *v, u64 o, u64 n) in atomic64_cmpxchg() function
/arch/sparc/include/asm/
Datomic_64.h88 #define atomic64_cmpxchg(v, o, n) \ macro
99 old = atomic64_cmpxchg((v), c, c + (a)); in atomic64_add_unless()
/arch/alpha/include/asm/
Datomic.h172 #define atomic64_cmpxchg(v, old, new) (cmpxchg(&((v)->counter), old, new)) macro
219 old = atomic64_cmpxchg((v), c, c + (a)); in atomic64_add_unless()
/arch/parisc/include/asm/
Datomic.h202 #define atomic64_cmpxchg(v, o, n) \ macro
222 old = atomic64_cmpxchg((v), c, c + (a)); in atomic64_add_unless()
/arch/ia64/include/asm/
Datomic.h88 #define atomic64_cmpxchg(v, old, new) \ macro
115 old = atomic64_cmpxchg((v), c, c + (a)); in atomic64_add_unless()
/arch/x86/kernel/
Dpvclock.c128 last = atomic64_cmpxchg(&last_value, last, ret); in pvclock_clocksource_read()
/arch/frv/include/asm/
Datomic.h186 #define atomic64_cmpxchg(v, old, new) (__cmpxchg_64(old, new, &(v)->counter)) macro
/arch/mips/include/asm/
Datomic.h671 #define atomic64_cmpxchg(v, o, n) \ macro
691 old = atomic64_cmpxchg((v), c, c + (a)); in atomic64_add_unless()
/arch/powerpc/include/asm/
Datomic.h462 #define atomic64_cmpxchg(v, o, n) (cmpxchg(&((v)->counter), (o), (n))) macro
/arch/arm/include/asm/
Datomic.h353 static inline u64 atomic64_cmpxchg(atomic64_t *ptr, u64 old, u64 new) in atomic64_cmpxchg() function