Home
last modified time | relevance | path

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

/linux-2.6.39/arch/s390/include/asm/
Datomic.h173 static inline long long atomic64_cmpxchg(atomic64_t *v, in atomic64_cmpxchg() function
226 static inline long long atomic64_cmpxchg(atomic64_t *v, in atomic64_cmpxchg() function
248 } while (atomic64_cmpxchg(v, old, new) != old); in atomic64_add_return()
259 } while (atomic64_cmpxchg(v, old, new) != old); in atomic64_sub_return()
270 } while (atomic64_cmpxchg(v, old, new) != old); in atomic64_set_mask()
280 } while (atomic64_cmpxchg(v, old, new) != old); in atomic64_clear_mask()
293 old = atomic64_cmpxchg(v, c, c + a); in atomic64_add_unless()
310 old = atomic64_cmpxchg((v), c, dec); in atomic64_dec_if_positive()
/linux-2.6.39/arch/x86/include/asm/
Datomic64_64.h188 static inline long atomic64_cmpxchg(atomic64_t *v, long old, long new) in atomic64_cmpxchg() function
214 old = atomic64_cmpxchg((v), c, c + (a)); in atomic64_add_unless()
239 old = atomic64_cmpxchg((v), c, dec); in atomic64_dec_if_positive()
Datomic64_32.h35 static inline long long atomic64_cmpxchg(atomic64_t *v, long long o, long long n) in atomic64_cmpxchg() function
/linux-2.6.39/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-2.6.39/lib/
Datomic64.c132 long long atomic64_cmpxchg(atomic64_t *v, long long o, long long n) in atomic64_cmpxchg() function
145 EXPORT_SYMBOL(atomic64_cmpxchg);
Datomic64_test.c99 BUG_ON(atomic64_cmpxchg(&v, v0, v1) != v0); in test_atomic64()
104 BUG_ON(atomic64_cmpxchg(&v, v2, v1) != v0); in test_atomic64()
/linux-2.6.39/arch/alpha/include/asm/
Datomic.h172 #define atomic64_cmpxchg(v, old, new) (cmpxchg(&((v)->counter), old, new)) macro
220 old = atomic64_cmpxchg((v), c, c + (a)); in atomic64_add_unless()
/linux-2.6.39/include/asm-generic/
Datomic64.h28 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-2.6.39/arch/ia64/include/asm/
Datomic.h89 #define atomic64_cmpxchg(v, old, new) \ macro
117 old = atomic64_cmpxchg((v), c, c + (a)); in atomic64_add_unless()
/linux-2.6.39/arch/parisc/include/asm/
Datomic.h309 #define atomic64_cmpxchg(v, o, n) \ macro
329 old = atomic64_cmpxchg((v), c, c + (a)); in atomic64_add_unless()
/linux-2.6.39/arch/x86/kernel/
Dpvclock.c128 last = atomic64_cmpxchg(&last_value, last, ret); in pvclock_clocksource_read()
/linux-2.6.39/arch/mips/include/asm/
Datomic.h672 #define atomic64_cmpxchg(v, o, n) \ macro
692 old = atomic64_cmpxchg((v), c, c + (a)); in atomic64_add_unless()
/linux-2.6.39/arch/frv/include/asm/
Datomic.h241 #define atomic64_cmpxchg(v, old, new) (__cmpxchg_64(old, new, &(v)->counter)) macro
/linux-2.6.39/arch/tile/include/asm/
Datomic_32.h174 static inline u64 atomic64_cmpxchg(atomic64_t *v, u64 o, u64 n) in atomic64_cmpxchg() function
/linux-2.6.39/arch/powerpc/include/asm/
Datomic.h437 #define atomic64_cmpxchg(v, o, n) (cmpxchg(&((v)->counter), (o), (n))) macro
/linux-2.6.39/arch/arm/include/asm/
Datomic.h352 static inline u64 atomic64_cmpxchg(atomic64_t *ptr, u64 old, u64 new) in atomic64_cmpxchg() function
/linux-2.6.39/fs/xfs/
Dxfs_log.c120 head_val = atomic64_cmpxchg(head, old, new); in xlog_grant_sub_space()
149 head_val = atomic64_cmpxchg(head, old, new); in xlog_grant_add_space()