Home
last modified time | relevance | path

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

/Linux-v4.19/include/linux/
Datomic.h471 #ifndef atomic_try_cmpxchg
483 #define atomic_try_cmpxchg(_p, _po, _n) __atomic_try_cmpxchg(, _p, _po, _n) macro
489 #define atomic_try_cmpxchg_relaxed atomic_try_cmpxchg
490 #define atomic_try_cmpxchg_acquire atomic_try_cmpxchg
491 #define atomic_try_cmpxchg_release atomic_try_cmpxchg
580 } while (!atomic_try_cmpxchg(v, &c, c + a)); in atomic_fetch_add_unless()
681 } while (!atomic_try_cmpxchg(v, &c, c + 1)); in atomic_inc_unless_negative()
695 } while (!atomic_try_cmpxchg(v, &c, c - 1)); in atomic_dec_unless_positive()
717 } while (!atomic_try_cmpxchg(v, &c, dec)); in atomic_dec_if_positive()
/Linux-v4.19/arch/x86/include/asm/
Drefcount.h100 } while (!atomic_try_cmpxchg(&(r->refs), &c, result)); in refcount_add_not_zero()
/Linux-v4.19/include/asm-generic/
Datomic-instrumented.h68 #define atomic_try_cmpxchg atomic_try_cmpxchg macro
69 static __always_inline bool atomic_try_cmpxchg(atomic_t *v, int *old, int new) in atomic_try_cmpxchg() function
/Linux-v4.19/Documentation/
Datomic_t.txt39 atomic_try_cmpxchg{,_relaxed,_acquire,_release}()
/Linux-v4.19/fs/afs/
Dserver.c413 deleted = atomic_try_cmpxchg(&server->usage, &usage, 0); in afs_gc_servers()