Lines Matching refs:atomic_t
19 typedef struct { int counter; } atomic_t; typedef
28 extern __inline__ void atomic_add(int i, volatile atomic_t *v) in atomic_add()
37 extern __inline__ void atomic_sub(int i, volatile atomic_t *v) in atomic_sub()
46 extern __inline__ int atomic_add_return(int i, volatile atomic_t *v) in atomic_add_return()
57 extern __inline__ int atomic_sub_return(int i, volatile atomic_t *v) in atomic_sub_return()
68 extern __inline__ int atomic_sub_and_test(int i, volatile atomic_t *v) in atomic_sub_and_test()
79 extern __inline__ void atomic_inc(volatile atomic_t *v) in atomic_inc()
88 extern __inline__ void atomic_dec(volatile atomic_t *v) in atomic_dec()
97 extern __inline__ int atomic_inc_return(volatile atomic_t *v) in atomic_inc_return()
108 extern __inline__ int atomic_dec_return(volatile atomic_t *v) in atomic_dec_return()
118 extern __inline__ int atomic_dec_and_test(volatile atomic_t *v) in atomic_dec_and_test()
129 extern __inline__ int atomic_inc_and_test(volatile atomic_t *v) in atomic_inc_and_test()