/linux-3.4.99/arch/s390/include/asm/ |
D | atomic.h | 172 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/ |
D | atomic64_64.h | 184 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()
|
D | atomic64_32.h | 74 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/ |
D | bitops_64.h | 47 oldval = atomic64_cmpxchg((atomic64_t *)addr, in change_bit() 93 oldval = atomic64_cmpxchg((atomic64_t *)addr, in test_and_change_bit()
|
D | atomic_64.h | 87 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()
|
D | cmpxchg.h | 58 __x = (typeof(__x))(typeof(__x-__x))atomic64_cmpxchg( \
|
D | atomic_32.h | 165 static inline u64 atomic64_cmpxchg(atomic64_t *v, u64 o, u64 n) in atomic64_cmpxchg() function
|
/linux-3.4.99/arch/sparc/include/asm/ |
D | atomic_64.h | 88 #define atomic64_cmpxchg(v, o, n) \ macro 99 old = atomic64_cmpxchg((v), c, c + (a)); in atomic64_add_unless()
|
/linux-3.4.99/lib/ |
D | atomic64.c | 136 long long atomic64_cmpxchg(atomic64_t *v, long long o, long long n) in atomic64_cmpxchg() function 149 EXPORT_SYMBOL(atomic64_cmpxchg);
|
D | atomic64_test.c | 100 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/ |
D | atomic.h | 172 #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/ |
D | atomic.h | 202 #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/ |
D | atomic64.h | 28 extern long long atomic64_cmpxchg(atomic64_t *v, long long o, long long n);
|
D | local64.h | 82 #define local64_cmpxchg(l, o, n) atomic64_cmpxchg((&(l)->a), (o), (n))
|
D | atomic-long.h | 135 (atomic64_cmpxchg((atomic64_t *)(l), (old), (new)))
|
/linux-3.4.99/arch/ia64/include/asm/ |
D | atomic.h | 88 #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/ |
D | pvclock.c | 128 last = atomic64_cmpxchg(&last_value, last, ret); in pvclock_clocksource_read()
|
/linux-3.4.99/arch/mips/include/asm/ |
D | atomic.h | 671 #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/ |
D | atomic.h | 186 #define atomic64_cmpxchg(v, old, new) (__cmpxchg_64(old, new, &(v)->counter)) macro
|
/linux-3.4.99/arch/powerpc/include/asm/ |
D | atomic.h | 462 #define atomic64_cmpxchg(v, o, n) (cmpxchg(&((v)->counter), (o), (n))) macro
|
/linux-3.4.99/arch/arm/include/asm/ |
D | atomic.h | 353 static inline u64 atomic64_cmpxchg(atomic64_t *ptr, u64 old, u64 new) in atomic64_cmpxchg() function
|
/linux-3.4.99/fs/xfs/ |
D | xfs_log.c | 115 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/ |
D | rbd.c | 2172 atomic64_cmpxchg(&rbd_id_max, rbd_id, max_id); in rbd_id_put()
|