Home
last modified time | relevance | path

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

/linux-3.4.99/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()
/linux-3.4.99/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
/linux-3.4.99/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
/linux-3.4.99/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()
/linux-3.4.99/lib/
Datomic64.c136 long long atomic64_cmpxchg(atomic64_t *v, long long o, long long n) in atomic64_cmpxchg() function
149 EXPORT_SYMBOL(atomic64_cmpxchg);
Datomic64_test.c100 BUG_ON(atomic64_cmpxchg(&v, v0, v1) != v0); in test_atomic64()
105 BUG_ON(atomic64_cmpxchg(&v, v2, v1) != v0); in test_atomic64()
/linux-3.4.99/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()
/linux-3.4.99/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()
/linux-3.4.99/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-3.4.99/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()
/linux-3.4.99/arch/x86/kernel/
Dpvclock.c128 last = atomic64_cmpxchg(&last_value, last, ret); in pvclock_clocksource_read()
/linux-3.4.99/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()
/linux-3.4.99/arch/frv/include/asm/
Datomic.h186 #define atomic64_cmpxchg(v, old, new) (__cmpxchg_64(old, new, &(v)->counter)) macro
/linux-3.4.99/arch/powerpc/include/asm/
Datomic.h462 #define atomic64_cmpxchg(v, o, n) (cmpxchg(&((v)->counter), (o), (n))) macro
/linux-3.4.99/arch/arm/include/asm/
Datomic.h353 static inline u64 atomic64_cmpxchg(atomic64_t *ptr, u64 old, u64 new) in atomic64_cmpxchg() function
/linux-3.4.99/fs/xfs/
Dxfs_log.c115 head_val = atomic64_cmpxchg(head, old, new); in xlog_grant_sub_space()
144 head_val = atomic64_cmpxchg(head, old, new); in xlog_grant_add_space()
/linux-3.4.99/drivers/block/
Drbd.c2172 atomic64_cmpxchg(&rbd_id_max, rbd_id, max_id); in rbd_id_put()