Home
last modified time | relevance | path

Searched refs:arch_atomic_try_cmpxchg (Results 1 – 4 of 4) sorted by relevance

/linux/arch/x86/include/asm/
A Datomic.h200 static __always_inline bool arch_atomic_try_cmpxchg(atomic_t *v, int *old, int new) in arch_atomic_try_cmpxchg() function
204 #define arch_atomic_try_cmpxchg arch_atomic_try_cmpxchg macro
224 do { } while (!arch_atomic_try_cmpxchg(v, &val, val & i)); in arch_atomic_fetch_and()
242 do { } while (!arch_atomic_try_cmpxchg(v, &val, val | i)); in arch_atomic_fetch_or()
260 do { } while (!arch_atomic_try_cmpxchg(v, &val, val ^ i)); in arch_atomic_fetch_xor()
/linux/include/linux/atomic/
A Datomic-arch-fallback.h979 #ifdef 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()
[all …]
A Datomic-long.h931 return arch_atomic_try_cmpxchg(v, (int *)old, new); in arch_atomic_long_try_cmpxchg()
A Datomic-instrumented.h505 return arch_atomic_try_cmpxchg(v, old, new); in atomic_try_cmpxchg()

Completed in 18 milliseconds