Lines Matching refs:ptr
25 inline Atomic32 NoBarrier_CompareAndSwap(volatile Atomic32* ptr, in NoBarrier_CompareAndSwap() argument
41 [ptr]"+Q" (*ptr) in NoBarrier_CompareAndSwap()
50 inline Atomic32 NoBarrier_AtomicExchange(volatile Atomic32* ptr, in NoBarrier_AtomicExchange() argument
62 [ptr]"+Q" (*ptr) in NoBarrier_AtomicExchange()
70 inline Atomic32 NoBarrier_AtomicIncrement(volatile Atomic32* ptr, in NoBarrier_AtomicIncrement() argument
83 [ptr]"+Q" (*ptr) in NoBarrier_AtomicIncrement()
91 inline Atomic32 Barrier_AtomicIncrement(volatile Atomic32* ptr, in Barrier_AtomicIncrement() argument
96 result = NoBarrier_AtomicIncrement(ptr, increment); in Barrier_AtomicIncrement()
102 inline Atomic32 Acquire_CompareAndSwap(volatile Atomic32* ptr, in Acquire_CompareAndSwap() argument
107 prev = NoBarrier_CompareAndSwap(ptr, old_value, new_value); in Acquire_CompareAndSwap()
113 inline Atomic32 Release_CompareAndSwap(volatile Atomic32* ptr, in Release_CompareAndSwap() argument
119 prev = NoBarrier_CompareAndSwap(ptr, old_value, new_value); in Release_CompareAndSwap()
124 inline void NoBarrier_Store(volatile Atomic8* ptr, Atomic8 value) { in NoBarrier_Store() argument
125 *ptr = value; in NoBarrier_Store()
128 inline void NoBarrier_Store(volatile Atomic32* ptr, Atomic32 value) { in NoBarrier_Store() argument
129 *ptr = value; in NoBarrier_Store()
132 inline void Acquire_Store(volatile Atomic32* ptr, Atomic32 value) { in Acquire_Store() argument
133 *ptr = value; in Acquire_Store()
137 inline void Release_Store(volatile Atomic32* ptr, Atomic32 value) { in Release_Store() argument
140 : [ptr]"=Q" (*ptr) in Release_Store()
146 inline Atomic8 NoBarrier_Load(volatile const Atomic8* ptr) { in NoBarrier_Load() argument
147 return *ptr; in NoBarrier_Load()
150 inline Atomic32 NoBarrier_Load(volatile const Atomic32* ptr) { in NoBarrier_Load() argument
151 return *ptr; in NoBarrier_Load()
154 inline Atomic32 Acquire_Load(volatile const Atomic32* ptr) { in Acquire_Load() argument
160 : [ptr]"Q" (*ptr) in Acquire_Load()
167 inline Atomic32 Release_Load(volatile const Atomic32* ptr) { in Release_Load() argument
169 return *ptr; in Release_Load()
175 inline Atomic64 NoBarrier_CompareAndSwap(volatile Atomic64* ptr, in NoBarrier_CompareAndSwap() argument
191 [ptr]"+Q" (*ptr) in NoBarrier_CompareAndSwap()
200 inline Atomic64 NoBarrier_AtomicExchange(volatile Atomic64* ptr, in NoBarrier_AtomicExchange() argument
212 [ptr]"+Q" (*ptr) in NoBarrier_AtomicExchange()
220 inline Atomic64 NoBarrier_AtomicIncrement(volatile Atomic64* ptr, in NoBarrier_AtomicIncrement() argument
233 [ptr]"+Q" (*ptr) in NoBarrier_AtomicIncrement()
241 inline Atomic64 Barrier_AtomicIncrement(volatile Atomic64* ptr, in Barrier_AtomicIncrement() argument
246 result = NoBarrier_AtomicIncrement(ptr, increment); in Barrier_AtomicIncrement()
252 inline Atomic64 Acquire_CompareAndSwap(volatile Atomic64* ptr, in Acquire_CompareAndSwap() argument
257 prev = NoBarrier_CompareAndSwap(ptr, old_value, new_value); in Acquire_CompareAndSwap()
263 inline Atomic64 Release_CompareAndSwap(volatile Atomic64* ptr, in Release_CompareAndSwap() argument
269 prev = NoBarrier_CompareAndSwap(ptr, old_value, new_value); in Release_CompareAndSwap()
274 inline void NoBarrier_Store(volatile Atomic64* ptr, Atomic64 value) { in NoBarrier_Store() argument
275 *ptr = value; in NoBarrier_Store()
278 inline void Acquire_Store(volatile Atomic64* ptr, Atomic64 value) { in Acquire_Store() argument
279 *ptr = value; in Acquire_Store()
283 inline void Release_Store(volatile Atomic64* ptr, Atomic64 value) { in Release_Store() argument
286 : [ptr]"=Q" (*ptr) in Release_Store()
292 inline Atomic64 NoBarrier_Load(volatile const Atomic64* ptr) { in NoBarrier_Load() argument
293 return *ptr; in NoBarrier_Load()
296 inline Atomic64 Acquire_Load(volatile const Atomic64* ptr) { in Acquire_Load() argument
302 : [ptr]"Q" (*ptr) in Acquire_Load()
309 inline Atomic64 Release_Load(volatile const Atomic64* ptr) { in Release_Load() argument
311 return *ptr; in Release_Load()