Searched refs:memory_order_acquire (Results 1 – 15 of 15) sorted by relevance
/bionic/libc/bionic/ |
D | __cxa_guard.cpp | 80 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()
|
D | pthread_once.cpp | 54 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()
|
D | pthread_barrier.cpp | 120 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()
|
D | malloc_common.h | 80 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()
|
D | pthread_mutex.cpp | 154 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()
|
D | system_property_api.cpp | 109 return atomic_load_explicit(&pi->serial, memory_order_acquire); in __system_property_serial()
|
D | pthread_key.cpp | 99 atomic_thread_fence(memory_order_acquire); in pthread_key_clean_all()
|
D | pthread_rwlock.cpp | 282 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()
|
D | malloc_common_dynamic.cpp | 489 !gZygoteChild || atomic_load_explicit(&gZygoteChildProfileable, memory_order_acquire); in android_mallopt()
|
/bionic/libc/private/ |
D | bionic_lock.h | 56 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/ |
D | system_properties.cpp | 122 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/ |
D | atomic_benchmark.cpp | 68 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/ |
D | stdatomic_test.cpp | 53 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/ |
D | stdatomic.h | 85 using std::memory_order_acquire;
|
/bionic/libc/include/bits/ |
D | stdatomic.h | 131 memory_order_acquire = __ATOMIC_ACQUIRE, enumerator
|