Home
last modified time | relevance | path

Searched refs:atomic_cmpxchg (Results 1 – 10 of 10) sorted by relevance

/xen-4.10.0-shim-comet/xen/common/
A Drwlock.c72 (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 Ddomain.c885 if ( atomic_cmpxchg(&d->refcnt, 0, DOMAIN_DESTROYED) != 0 ) in domain_destroy()
/xen-4.10.0-shim-comet/xen/include/asm-arm/arm64/
A Datomic.h94 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 Dplatform-compat.h169 #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 Datomic.h84 static inline int atomic_cmpxchg(atomic_t *v, int old, int new);
A Drwlock.h124 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 Dsched.h513 seen = atomic_cmpxchg(&d->refcnt, old, old + 1); in get_domain()
/xen-4.10.0-shim-comet/xen/include/asm-x86/
A Datomic.h108 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 Datomic.h99 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 DREADME.LinuxPrimitives28 atomic_cmpxchg(), __atomic_add_unless()
100 atomic_cmpxchg(), __atomic_add_unless()

Completed in 18 milliseconds