Lines Matching refs:atomic_try_cmpxchg
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
1091 } while (!atomic_try_cmpxchg(v, &c, c + a)); in atomic_fetch_add_unless()
1141 } while (!atomic_try_cmpxchg(v, &c, c + 1)); in atomic_inc_unless_negative()
1157 } while (!atomic_try_cmpxchg(v, &c, c - 1)); in atomic_dec_unless_positive()
1174 } while (!atomic_try_cmpxchg(v, &c, dec)); in atomic_dec_if_positive()