Lines Matching refs:arch_atomic_try_cmpxchg
909 #ifdef arch_atomic_try_cmpxchg
910 #define arch_atomic_try_cmpxchg_acquire arch_atomic_try_cmpxchg
911 #define arch_atomic_try_cmpxchg_release arch_atomic_try_cmpxchg
912 #define arch_atomic_try_cmpxchg_relaxed arch_atomic_try_cmpxchg
915 #ifndef arch_atomic_try_cmpxchg
917 arch_atomic_try_cmpxchg(atomic_t *v, int *old, int new) in arch_atomic_try_cmpxchg() function
925 #define arch_atomic_try_cmpxchg arch_atomic_try_cmpxchg macro
990 #ifndef arch_atomic_try_cmpxchg
992 arch_atomic_try_cmpxchg(atomic_t *v, int *old, int new) in arch_atomic_try_cmpxchg() function
1000 #define arch_atomic_try_cmpxchg arch_atomic_try_cmpxchg macro
1093 } while (!arch_atomic_try_cmpxchg(v, &c, c + a)); in arch_atomic_fetch_add_unless()
1143 } while (!arch_atomic_try_cmpxchg(v, &c, c + 1)); in arch_atomic_inc_unless_negative()
1159 } while (!arch_atomic_try_cmpxchg(v, &c, c - 1)); in arch_atomic_dec_unless_positive()
1176 } while (!arch_atomic_try_cmpxchg(v, &c, dec)); in arch_atomic_dec_if_positive()