Lines Matching refs:atomic_t

17 static __always_inline int arch_atomic_read(const atomic_t *v)  in arch_atomic_read()
26 static __always_inline void arch_atomic_set(atomic_t *v, int i) in arch_atomic_set()
31 static __always_inline void arch_atomic_add(int i, atomic_t *v) in arch_atomic_add()
38 static __always_inline void arch_atomic_sub(int i, atomic_t *v) in arch_atomic_sub()
45 static __always_inline bool arch_atomic_sub_and_test(int i, atomic_t *v) in arch_atomic_sub_and_test()
51 static __always_inline void arch_atomic_inc(atomic_t *v) in arch_atomic_inc()
58 static __always_inline void arch_atomic_dec(atomic_t *v) in arch_atomic_dec()
65 static __always_inline bool arch_atomic_dec_and_test(atomic_t *v) in arch_atomic_dec_and_test()
71 static __always_inline bool arch_atomic_inc_and_test(atomic_t *v) in arch_atomic_inc_and_test()
77 static __always_inline bool arch_atomic_add_negative(int i, atomic_t *v) in arch_atomic_add_negative()
83 static __always_inline int arch_atomic_add_return(int i, atomic_t *v) in arch_atomic_add_return()
89 static __always_inline int arch_atomic_sub_return(int i, atomic_t *v) in arch_atomic_sub_return()
95 static __always_inline int arch_atomic_fetch_add(int i, atomic_t *v) in arch_atomic_fetch_add()
101 static __always_inline int arch_atomic_fetch_sub(int i, atomic_t *v) in arch_atomic_fetch_sub()
107 static __always_inline int arch_atomic_cmpxchg(atomic_t *v, int old, int new) in arch_atomic_cmpxchg()
113 static __always_inline bool arch_atomic_try_cmpxchg(atomic_t *v, int *old, int new) in arch_atomic_try_cmpxchg()
119 static __always_inline int arch_atomic_xchg(atomic_t *v, int new) in arch_atomic_xchg()
125 static __always_inline void arch_atomic_and(int i, atomic_t *v) in arch_atomic_and()
133 static __always_inline int arch_atomic_fetch_and(int i, atomic_t *v) in arch_atomic_fetch_and()
143 static __always_inline void arch_atomic_or(int i, atomic_t *v) in arch_atomic_or()
151 static __always_inline int arch_atomic_fetch_or(int i, atomic_t *v) in arch_atomic_fetch_or()
161 static __always_inline void arch_atomic_xor(int i, atomic_t *v) in arch_atomic_xor()
169 static __always_inline int arch_atomic_fetch_xor(int i, atomic_t *v) in arch_atomic_fetch_xor()