Home
last modified time | relevance | path

Searched refs:atomic_try_cmpxchg (Results 1 – 6 of 6) sorted by relevance

/Linux-v5.4/include/linux/
Datomic-fallback.h907 #ifdef atomic_try_cmpxchg
908 #define atomic_try_cmpxchg_acquire atomic_try_cmpxchg
909 #define atomic_try_cmpxchg_release atomic_try_cmpxchg
910 #define atomic_try_cmpxchg_relaxed atomic_try_cmpxchg
913 #ifndef atomic_try_cmpxchg
915 atomic_try_cmpxchg(atomic_t *v, int *old, int new) in atomic_try_cmpxchg() function
923 #define atomic_try_cmpxchg atomic_try_cmpxchg macro
988 #ifndef atomic_try_cmpxchg
990 atomic_try_cmpxchg(atomic_t *v, int *old, int new) in atomic_try_cmpxchg() function
998 #define atomic_try_cmpxchg atomic_try_cmpxchg macro
[all …]
/Linux-v5.4/arch/x86/include/asm/
Drefcount.h116 } while (!atomic_try_cmpxchg(&(r->refs), &c, result)); in refcount_add_not_zero()
/Linux-v5.4/include/asm-generic/
Datomic-instrumented.h691 atomic_try_cmpxchg(atomic_t *v, int *old, int new) in atomic_try_cmpxchg() function
697 #define atomic_try_cmpxchg atomic_try_cmpxchg macro
Datomic-long.h930 return atomic_try_cmpxchg(v, (int *)old, new); in atomic_long_try_cmpxchg()
/Linux-v5.4/Documentation/
Datomic_t.txt39 atomic_try_cmpxchg{,_relaxed,_acquire,_release}()
/Linux-v5.4/fs/afs/
Dserver.c416 deleted = atomic_try_cmpxchg(&server->usage, &usage, 0); in afs_gc_servers()