Lines Matching refs:arch_atomic_try_cmpxchg
1063 #ifdef arch_atomic_try_cmpxchg
1064 #define arch_atomic_try_cmpxchg_acquire arch_atomic_try_cmpxchg
1065 #define arch_atomic_try_cmpxchg_release arch_atomic_try_cmpxchg
1066 #define arch_atomic_try_cmpxchg_relaxed arch_atomic_try_cmpxchg
1069 #ifndef arch_atomic_try_cmpxchg
1071 arch_atomic_try_cmpxchg(atomic_t *v, int *old, int new) in arch_atomic_try_cmpxchg() function
1079 #define arch_atomic_try_cmpxchg arch_atomic_try_cmpxchg macro
1144 #ifndef arch_atomic_try_cmpxchg
1146 arch_atomic_try_cmpxchg(atomic_t *v, int *old, int new) in arch_atomic_try_cmpxchg() function
1154 #define arch_atomic_try_cmpxchg arch_atomic_try_cmpxchg macro
1247 } while (!arch_atomic_try_cmpxchg(v, &c, c + a)); in arch_atomic_fetch_add_unless()
1297 } while (!arch_atomic_try_cmpxchg(v, &c, c + 1)); in arch_atomic_inc_unless_negative()
1313 } while (!arch_atomic_try_cmpxchg(v, &c, c - 1)); in arch_atomic_dec_unless_positive()
1330 } while (!arch_atomic_try_cmpxchg(v, &c, dec)); in arch_atomic_dec_if_positive()