Lines Matching defs:v
31 #define atomic_read(v) ((v)->counter) argument
41 #define atomic_set(v,i) ((v)->counter = (i)) argument
43 static __inline__ void atomic_add(int i, volatile atomic_t * v) in atomic_add()
64 static __inline__ void atomic_sub(int i, volatile atomic_t * v) in atomic_sub()
80 static __inline__ int atomic_add_return(int i, atomic_t * v) in atomic_add_return()
100 static __inline__ int atomic_sub_return(int i, atomic_t * v) in atomic_sub_return()
120 #define atomic_dec_return(v) atomic_sub_return(1,(v)) argument
121 #define atomic_inc_return(v) atomic_add_return(1,(v)) argument
133 #define atomic_sub_and_test(i,v) (atomic_sub_return((i), (v)) == 0) argument
144 #define atomic_inc_and_test(v) (atomic_inc_return(v) == 0) argument
155 #define atomic_dec_and_test(v) (atomic_sub_return(1, (v)) == 0) argument
164 #define atomic_inc(v) atomic_add(1,(v)) argument
173 #define atomic_dec(v) atomic_sub(1,(v)) argument
185 #define atomic_add_negative(i,v) (atomic_add_return(i, (v)) < 0) argument