Lines Matching defs:v

28 static __inline__ int atomic_read(const atomic_t *v)  in atomic_read()
37 static __inline__ void atomic_set(atomic_t *v, int i) in atomic_set()
142 static __inline__ int atomic_inc_return_relaxed(atomic_t *v) in atomic_inc_return_relaxed()
159 static __inline__ void atomic_dec(atomic_t *v) in atomic_dec()
175 static __inline__ int atomic_dec_return_relaxed(atomic_t *v) in atomic_dec_return_relaxed()
195 #define atomic_cmpxchg(v, o, n) (cmpxchg(&((v)->counter), (o), (n))) argument
196 #define atomic_cmpxchg_relaxed(v, o, n) \ argument
198 #define atomic_cmpxchg_acquire(v, o, n) \ argument
201 #define atomic_xchg(v, new) (xchg(&((v)->counter), new)) argument
202 #define atomic_xchg_relaxed(v, new) xchg_relaxed(&((v)->counter), (new)) argument
213 static __inline__ int atomic_fetch_add_unless(atomic_t *v, int a, int u) in atomic_fetch_add_unless()
244 static __inline__ int atomic_inc_not_zero(atomic_t *v) in atomic_inc_not_zero()
266 #define atomic_inc_not_zero(v) atomic_inc_not_zero((v)) argument
273 static __inline__ int atomic_dec_if_positive(atomic_t *v) in atomic_dec_if_positive()
300 static __inline__ s64 atomic64_read(const atomic64_t *v) in atomic64_read()
309 static __inline__ void atomic64_set(atomic64_t *v, s64 i) in atomic64_set()
412 static __inline__ s64 atomic64_inc_return_relaxed(atomic64_t *v) in atomic64_inc_return_relaxed()
428 static __inline__ void atomic64_dec(atomic64_t *v) in atomic64_dec()
443 static __inline__ s64 atomic64_dec_return_relaxed(atomic64_t *v) in atomic64_dec_return_relaxed()
466 static __inline__ s64 atomic64_dec_if_positive(atomic64_t *v) in atomic64_dec_if_positive()
487 #define atomic64_cmpxchg(v, o, n) (cmpxchg(&((v)->counter), (o), (n))) argument
488 #define atomic64_cmpxchg_relaxed(v, o, n) \ argument
490 #define atomic64_cmpxchg_acquire(v, o, n) \ argument
493 #define atomic64_xchg(v, new) (xchg(&((v)->counter), new)) argument
494 #define atomic64_xchg_relaxed(v, new) xchg_relaxed(&((v)->counter), (new)) argument
505 static __inline__ s64 atomic64_fetch_add_unless(atomic64_t *v, s64 a, s64 u) in atomic64_fetch_add_unless()
535 static __inline__ int atomic64_inc_not_zero(atomic64_t *v) in atomic64_inc_not_zero()
556 #define atomic64_inc_not_zero(v) atomic64_inc_not_zero((v)) argument