Lines Matching refs:mo
69 const volatile T *a, memory_order mo) { in atomic_load() argument
70 DCHECK(mo & (memory_order_relaxed | memory_order_consume in atomic_load()
75 if (mo == memory_order_relaxed) { in atomic_load()
86 INLINE void atomic_store(volatile T *a, typename T::Type v, memory_order mo) { in atomic_store() argument
87 DCHECK(mo & (memory_order_relaxed | memory_order_release in atomic_store()
91 if (mo == memory_order_relaxed) { in atomic_store()
98 if (mo == memory_order_seq_cst) in atomic_store()
103 u32 v, memory_order mo) { in atomic_fetch_add() argument
104 (void)mo; in atomic_fetch_add()
111 uptr v, memory_order mo) { in atomic_fetch_add() argument
112 (void)mo; in atomic_fetch_add()
124 u32 v, memory_order mo) { in atomic_fetch_sub() argument
125 (void)mo; in atomic_fetch_sub()
132 uptr v, memory_order mo) { in atomic_fetch_sub() argument
133 (void)mo; in atomic_fetch_sub()
145 u8 v, memory_order mo) { in atomic_exchange() argument
146 (void)mo; in atomic_exchange()
158 u16 v, memory_order mo) { in atomic_exchange() argument
159 (void)mo; in atomic_exchange()
173 memory_order mo) { in atomic_compare_exchange_strong() argument
174 (void)mo; in atomic_compare_exchange_strong()
194 memory_order mo) { in atomic_compare_exchange_strong() argument
207 memory_order mo) { in atomic_compare_exchange_strong() argument
220 memory_order mo) { in atomic_compare_exchange_strong() argument
233 memory_order mo) { in atomic_compare_exchange_strong() argument
247 memory_order mo) { in atomic_compare_exchange_weak() argument
248 return atomic_compare_exchange_strong(a, cmp, xchg, mo); in atomic_compare_exchange_weak()