Lines Matching refs:arch_atomic_try_cmpxchg
979 #ifdef arch_atomic_try_cmpxchg
980 #define arch_atomic_try_cmpxchg_acquire arch_atomic_try_cmpxchg
981 #define arch_atomic_try_cmpxchg_release arch_atomic_try_cmpxchg
982 #define arch_atomic_try_cmpxchg_relaxed arch_atomic_try_cmpxchg
985 #ifndef arch_atomic_try_cmpxchg
987 arch_atomic_try_cmpxchg(atomic_t *v, int *old, int new) in arch_atomic_try_cmpxchg() function
995 #define arch_atomic_try_cmpxchg arch_atomic_try_cmpxchg macro
1060 #ifndef arch_atomic_try_cmpxchg
1062 arch_atomic_try_cmpxchg(atomic_t *v, int *old, int new) in arch_atomic_try_cmpxchg() function
1070 #define arch_atomic_try_cmpxchg arch_atomic_try_cmpxchg macro
1163 } while (!arch_atomic_try_cmpxchg(v, &c, c + a)); in arch_atomic_fetch_add_unless()
1213 } while (!arch_atomic_try_cmpxchg(v, &c, c + 1)); in arch_atomic_inc_unless_negative()
1229 } while (!arch_atomic_try_cmpxchg(v, &c, c - 1)); in arch_atomic_dec_unless_positive()
1246 } while (!arch_atomic_try_cmpxchg(v, &c, dec)); in arch_atomic_dec_if_positive()