Lines Matching defs:i
27 #define atomic_set(v, i) ((v)->counter = (i)) argument
35 static inline void atomic_add(int i, atomic_t *v) in atomic_add()
40 static inline int atomic_add_return(int i, atomic_t *v) in atomic_add_return()
63 #define ATOMIC64_INIT(i) { (i) } argument
66 #define atomic64_set(v, i) ((v)->counter = (i)) argument
68 static inline void atomic64_add(long i, atomic64_t *v) in atomic64_add()
73 static inline long atomic64_add_return(long i, atomic64_t *v) in atomic64_add_return()
94 #define atomic64_sub_return(i, v) atomic64_add_return(-(i), (v)) argument
95 #define atomic64_sub(i, v) atomic64_add(-(i), (v)) argument
103 #define atomic64_sub_and_test(i, v) (atomic64_sub_return((i), (v)) == 0) argument
104 #define atomic64_add_negative(i, v) (atomic64_add_return((i), (v)) < 0) argument