Lines Matching refs:atomic_t
16 static __always_inline int arch_atomic_read(const atomic_t *v) in arch_atomic_read()
20 static __always_inline void arch_atomic_set(atomic_t *v, int i) in arch_atomic_set()
27 void arch_atomic_##op(int i, atomic_t *v) \
50 int arch_atomic_fetch_##op##_relaxed(int i, atomic_t *v) \ in ATOMIC_OP()
67 int arch_atomic_##op##_return_relaxed(int i, atomic_t *v) \
104 arch_atomic_fetch_add_unless(atomic_t *v, int a, int u)
128 arch_atomic_inc_unless_negative(atomic_t *v) in arch_atomic_inc_unless_negative()
153 arch_atomic_dec_unless_positive(atomic_t *v) in arch_atomic_dec_unless_positive()
177 arch_atomic_dec_if_positive(atomic_t *v) in arch_atomic_dec_if_positive()
200 int arch_atomic_xchg_relaxed(atomic_t *v, int n) \
205 int arch_atomic_cmpxchg_relaxed(atomic_t *v, int o, int n) \
210 int arch_atomic_cmpxchg_acquire(atomic_t *v, int o, int n) \
215 int arch_atomic_cmpxchg(atomic_t *v, int o, int n) \