Home
last modified time | relevance | path

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

/linux-4.19.296/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-4.19.296/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-4.19.296/fs/afs/
Dserver.c408 deleted = atomic_try_cmpxchg(&server->usage, &usage, 0); in afs_gc_servers()