Home | History | Annotate | Download | only in bits

Lines Matching refs:__a

33 #define _ATOMIC_MEMBER_ ((__a)->_M_i)
119 #define atomic_is_lock_free(__a) \
122 #define atomic_load_explicit(__a, __x) \
123 _ATOMIC_LOAD_(__a, __x)
125 #define atomic_load(__a) \
126 atomic_load_explicit(__a, memory_order_seq_cst)
128 #define atomic_store_explicit(__a, __m, __x) \
129 _ATOMIC_STORE_(__a, __m, __x)
131 #define atomic_store(__a, __m) \
132 atomic_store_explicit(__a, __m, memory_order_seq_cst)
134 #define atomic_exchange_explicit(__a, __m, __x) \
135 _ATOMIC_MODIFY_(__a, =, __m, __x)
137 #define atomic_exchange(__a, __m) \
138 atomic_exchange_explicit(__a, __m, memory_order_seq_cst)
140 #define atomic_compare_exchange_explicit(__a, __e, __m, __x, __y) \
141 _ATOMIC_CMPEXCHNG_(__a, __e, __m, __x)
143 #define atomic_compare_exchange(__a, __e, __m) \
144 _ATOMIC_CMPEXCHNG_(__a, __e, __m, memory_order_seq_cst)
146 #define atomic_fetch_add_explicit(__a, __m, __x) \
147 _ATOMIC_MODIFY_(__a, +=, __m, __x)
149 #define atomic_fetch_add(__a, __m) \
150 atomic_fetch_add_explicit(__a, __m, memory_order_seq_cst)
152 #define atomic_fetch_sub_explicit(__a, __m, __x) \
153 _ATOMIC_MODIFY_(__a, -=, __m, __x)
155 #define atomic_fetch_sub(__a, __m) \
156 atomic_fetch_sub_explicit(__a, __m, memory_order_seq_cst)
158 #define atomic_fetch_and_explicit(__a, __m, __x) \
159 _ATOMIC_MODIFY_(__a, &=, __m, __x)
161 #define atomic_fetch_and(__a, __m) \
162 atomic_fetch_and_explicit(__a, __m, memory_order_seq_cst)
164 #define atomic_fetch_or_explicit(__a, __m, __x) \
165 _ATOMIC_MODIFY_(__a, |=, __m, __x)
167 #define atomic_fetch_or(__a, __m) \
168 atomic_fetch_or_explicit(__a, __m, memory_order_seq_cst)
170 #define atomic_fetch_xor_explicit(__a, __m, __x) \
171 _ATOMIC_MODIFY_(__a, ^=, __m, __x)
173 #define atomic_fetch_xor(__a, __m) \
174 atomic_fetch_xor_explicit(__a, __m, memory_order_seq_cst)