Searched refs:__bionic_cmpxchg (Results 1 – 7 of 7) sorted by relevance
/bionic/libstdc++/src/ |
D | one_time_construction.cpp | 76 if (__bionic_cmpxchg(0, pending, &gv->state) == 0) { in __cxa_guard_acquire() 80 __bionic_cmpxchg(pending, waiting, &gv->state); // Indicate there is a waiter in __cxa_guard_acquire() 96 if (__bionic_cmpxchg(pending, ready, &gv->state) == 0) { in __cxa_guard_release()
|
/bionic/libc/private/ |
D | bionic_atomic_gcc_builtin.h | 31 __bionic_cmpxchg(int32_t old_value, int32_t new_value, volatile int32_t* ptr) in __bionic_cmpxchg() function
|
D | bionic_atomic_x86.h | 42 __bionic_cmpxchg(int32_t old_value, int32_t new_value, volatile int32_t* ptr) in __bionic_cmpxchg() function
|
D | bionic_atomic_arm.h | 140 __bionic_cmpxchg(int32_t old_value, int32_t new_value, volatile int32_t* ptr) in __bionic_cmpxchg() function 173 __bionic_cmpxchg(int32_t old_value, int32_t new_value, volatile int32_t* ptr) in __bionic_cmpxchg() function
|
D | bionic_atomic_mips.h | 42 __bionic_cmpxchg(int32_t old_value, int32_t new_value, volatile int32_t* ptr) in __bionic_cmpxchg() function
|
/bionic/libc/bionic/ |
D | semaphore.c | 177 while (__bionic_cmpxchg((int)(old|shared), in __sem_dec() 201 while (__bionic_cmpxchg((int)(old|shared), in __sem_trydec() 238 while ( __bionic_cmpxchg((int)(old|shared), in __sem_inc()
|
D | pthread.c | 705 while ( __bionic_cmpxchg( flags, flags | PTHREAD_ATTR_FLAG_DETACHED, in pthread_detach() 1052 if (__bionic_cmpxchg(unlocked, locked_uncontended, &mutex->value) != 0) { in _normal_lock() 1167 if (__likely(__bionic_cmpxchg(mvalue, newval, &mutex->value) == 0)) { in _recursive_increment() 1210 if (__bionic_cmpxchg(mvalue, newval, &mutex->value) == 0) { in pthread_mutex_lock_impl() 1233 if (__unlikely(__bionic_cmpxchg(mvalue, newval, &mutex->value) != 0)) { in pthread_mutex_lock_impl() 1245 if (__unlikely(__bionic_cmpxchg(mvalue, newval, &mutex->value) != 0)) { in pthread_mutex_lock_impl() 1303 if (__likely(__bionic_cmpxchg(mvalue, newval, &mutex->value) == 0)) { in pthread_mutex_unlock_impl() 1355 if (__bionic_cmpxchg(shared|MUTEX_STATE_BITS_UNLOCKED, in pthread_mutex_trylock_impl() 1377 if (__likely(__bionic_cmpxchg(mtype, mvalue, &mutex->value) == 0)) { in pthread_mutex_trylock_impl() 1458 if (__bionic_cmpxchg(unlocked, locked_uncontended, &mutex->value) == 0) { in pthread_mutex_lock_timeout_np_impl() [all …]
|