Home | History | Annotate | Download | only in asm-x86

Lines Matching refs:atomic_t

18 typedef struct { int counter; } atomic_t;
24 * @v: pointer of type atomic_t
32 * @v: pointer of type atomic_t
42 * @v: pointer of type atomic_t
46 static __inline__ void atomic_add(int i, atomic_t *v)
57 * @v: pointer of type atomic_t
61 static __inline__ void atomic_sub(int i, atomic_t *v)
72 * @v: pointer of type atomic_t
78 static __inline__ int atomic_sub_and_test(int i, atomic_t *v)
91 * @v: pointer of type atomic_t
95 static __inline__ void atomic_inc(atomic_t *v)
104 * @v: pointer of type atomic_t
108 static __inline__ void atomic_dec(atomic_t *v)
117 * @v: pointer of type atomic_t
123 static __inline__ int atomic_dec_and_test(atomic_t *v)
136 * @v: pointer of type atomic_t
142 static __inline__ int atomic_inc_and_test(atomic_t *v)
155 * @v: pointer of type atomic_t
162 static __inline__ int atomic_add_negative(int i, atomic_t *v)
175 * @v: pointer of type atomic_t
180 static __inline__ int atomic_add_return(int i, atomic_t *v)
208 * @v: pointer of type atomic_t
213 static __inline__ int atomic_sub_return(int i, atomic_t *v)
223 * @v: pointer of type atomic_t
230 static __inline__ int atomic_add_unless(atomic_t *v, int a, int u)