Searched refs:atomic_try_cmpxchg (Results 1 – 6 of 6) sorted by relevance
/Linux-v5.4/include/linux/ |
D | atomic-fallback.h | 907 #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/ |
D | refcount.h | 116 } while (!atomic_try_cmpxchg(&(r->refs), &c, result)); in refcount_add_not_zero()
|
/Linux-v5.4/include/asm-generic/ |
D | atomic-instrumented.h | 691 atomic_try_cmpxchg(atomic_t *v, int *old, int new) in atomic_try_cmpxchg() function 697 #define atomic_try_cmpxchg atomic_try_cmpxchg macro
|
D | atomic-long.h | 930 return atomic_try_cmpxchg(v, (int *)old, new); in atomic_long_try_cmpxchg()
|
/Linux-v5.4/Documentation/ |
D | atomic_t.txt | 39 atomic_try_cmpxchg{,_relaxed,_acquire,_release}()
|
/Linux-v5.4/fs/afs/ |
D | server.c | 416 deleted = atomic_try_cmpxchg(&server->usage, &usage, 0); in afs_gc_servers()
|