Home
last modified time | relevance | path

Searched refs:memory_order_acquire (Results 1 – 15 of 15) sorted by relevance

/bionic/libc/bionic/
D__cxa_guard.cpp80 int old_value = atomic_load_explicit(&gv->state, memory_order_acquire); in __cxa_guard_acquire()
91 memory_order_acquire /* or relaxed in C++17 */, in __cxa_guard_acquire()
92 memory_order_acquire)) { in __cxa_guard_acquire()
99 memory_order_acquire /* or relaxed in C++17 */, in __cxa_guard_acquire()
100 memory_order_acquire)) { in __cxa_guard_acquire()
106 old_value = atomic_load_explicit(&gv->state, memory_order_acquire); in __cxa_guard_acquire()
Dpthread_once.cpp54 int old_value = atomic_load_explicit(once_control_ptr, memory_order_acquire); in pthread_once()
65 memory_order_acquire, memory_order_acquire)) { in pthread_once()
83 old_value = atomic_load_explicit(once_control_ptr, memory_order_acquire); in pthread_once()
Dpthread_barrier.cpp120 while(atomic_load_explicit(&barrier->state, memory_order_acquire) == RELEASE) { in pthread_barrier_wait()
154 while (atomic_load_explicit(&barrier->state, memory_order_acquire) == WAIT) { in pthread_barrier_wait()
175 while (atomic_load_explicit(&barrier->state, memory_order_acquire) == RELEASE) { in pthread_barrier_destroy()
Dmalloc_common.h80 return atomic_load_explicit(&__libc_globals->current_dispatch_table, memory_order_acquire); in GetDispatchTable()
84 return atomic_load_explicit(&__libc_globals->default_dispatch_table, memory_order_acquire); in GetDefaultDispatchTable()
Dpthread_mutex.cpp154 memory_order_acquire, in PIMutexTryLock()
562 locked_uncontended, memory_order_acquire, memory_order_relaxed))) { in NormalMutexTryLock()
606 memory_order_acquire) != unlocked) { in NormalMutexLock()
741 locked_uncontended, memory_order_acquire, memory_order_relaxed))) { in MutexLockWithTimeout()
759 memory_order_acquire, in MutexLockWithTimeout()
939 memory_order_acquire, in pthread_mutex_trylock()
Dsystem_property_api.cpp109 return atomic_load_explicit(&pi->serial, memory_order_acquire); in __system_property_serial()
Dpthread_key.cpp99 atomic_thread_fence(memory_order_acquire); in pthread_key_clean_all()
Dpthread_rwlock.cpp282 memory_order_acquire, memory_order_relaxed))) { in __pthread_rwlock_tryrdlock()
352 __state_add_writer_flag(old_state), memory_order_acquire, memory_order_relaxed))) { in __pthread_rwlock_trywrlock()
Dmalloc_common_dynamic.cpp489 !gZygoteChild || atomic_load_explicit(&gZygoteChildProfileable, memory_order_acquire); in android_mallopt()
/bionic/libc/private/
Dbionic_lock.h56 LockedWithoutWaiter, memory_order_acquire, memory_order_relaxed)); in trylock()
62 LockedWithoutWaiter, memory_order_acquire, memory_order_relaxed))) { in lock()
65 while (atomic_exchange_explicit(&state, LockedWithWaiter, memory_order_acquire) != Unlocked) { in lock()
/bionic/libc/system_properties/
Dsystem_properties.cpp122 return atomic_load_explicit(pa->serial(), memory_order_acquire); in AreaSerial()
145 uint32_t new_serial = load_const_atomic(&pi->serial, memory_order_acquire); in ReadMutablePropertyValue()
158 atomic_thread_fence(memory_order_acquire); in ReadMutablePropertyValue()
169 atomic_thread_fence(memory_order_acquire); in ReadMutablePropertyValue()
343 new_serial = load_const_atomic(serial_ptr, memory_order_acquire); in Wait()
/bionic/benchmarks/
Datomic_benchmark.cpp68 result += test_loc.load(std::memory_order_acquire); in BM_atomic_load_acquire()
120 std::atomic_thread_fence(std::memory_order_acquire); in BM_atomic_acquire_fence()
/bionic/tests/
Dstdatomic_test.cpp53 atomic_thread_fence(memory_order_acquire); in TEST()
62 atomic_signal_fence(memory_order_acquire); in TEST()
215 yval = atomic_load_explicit(&a->y, memory_order_acquire); in reader()
/bionic/libc/include/
Dstdatomic.h85 using std::memory_order_acquire;
/bionic/libc/include/bits/
Dstdatomic.h131 memory_order_acquire = __ATOMIC_ACQUIRE, enumerator