Searched refs:atomic_cmpxchg (Results 1 – 10 of 10) sorted by relevance
/xen-4.10.0-shim-comet/xen/common/ |
A D | rwlock.c | 72 (atomic_cmpxchg(&lock->cnts, 0, _QW_LOCKED) == 0) ) in queue_write_lock_slowpath() 83 (atomic_cmpxchg(&lock->cnts, cnts, in queue_write_lock_slowpath() 95 (atomic_cmpxchg(&lock->cnts, _QW_WAITING, in queue_write_lock_slowpath()
|
A D | domain.c | 885 if ( atomic_cmpxchg(&d->refcnt, 0, DOMAIN_DESTROYED) != 0 ) in domain_destroy()
|
/xen-4.10.0-shim-comet/xen/include/asm-arm/arm64/ |
A D | atomic.h | 94 static inline int atomic_cmpxchg(atomic_t *ptr, int old, int new) in atomic_cmpxchg() function 121 while (c != u && (old = atomic_cmpxchg((v), c, c + a)) != c) in __atomic_add_unless()
|
/xen-4.10.0-shim-comet/unmodified_drivers/linux-2.6/compat-include/xen/ |
A D | platform-compat.h | 169 #ifndef atomic_cmpxchg 170 #define atomic_cmpxchg(v, old, new) (cmpxchg(&((v)->counter), (old), (new))) macro
|
/xen-4.10.0-shim-comet/xen/include/xen/ |
A D | atomic.h | 84 static inline int atomic_cmpxchg(atomic_t *v, int old, int new);
|
A D | rwlock.h | 124 if ( atomic_cmpxchg(&lock->cnts, 0, _QW_LOCKED) == 0 ) in _write_lock() 159 return likely(atomic_cmpxchg(&lock->cnts, 0, _QW_LOCKED) == 0); in _write_trylock()
|
A D | sched.h | 513 seen = atomic_cmpxchg(&d->refcnt, old, old + 1); in get_domain()
|
/xen-4.10.0-shim-comet/xen/include/asm-x86/ |
A D | atomic.h | 108 static inline int atomic_cmpxchg(atomic_t *v, int old, int new) in atomic_cmpxchg() function 222 while (c != u && (old = atomic_cmpxchg(v, c, c + a)) != c) in atomic_add_unless()
|
/xen-4.10.0-shim-comet/xen/include/asm-arm/arm32/ |
A D | atomic.h | 99 static inline int atomic_cmpxchg(atomic_t *ptr, int old, int new) in atomic_cmpxchg() function
|
/xen-4.10.0-shim-comet/xen/arch/arm/ |
A D | README.LinuxPrimitives | 28 atomic_cmpxchg(), __atomic_add_unless() 100 atomic_cmpxchg(), __atomic_add_unless()
|
Completed in 18 milliseconds