Searched refs:__bionic_cmpxchg (Results 1 – 10 of 10) sorted by relevance
/bionic/libc/bionic/ |
D | __cxa_guard.cpp | 81 if (__bionic_cmpxchg(0, pending, &gv->state) == 0) { in __cxa_guard_acquire() 85 __bionic_cmpxchg(pending, waiting, &gv->state); // Indicate there is a waiter in __cxa_guard_acquire() 102 if (__bionic_cmpxchg(pending, ready, &gv->state) == 0) { in __cxa_guard_release()
|
D | pthread_mutex.cpp | 318 if (__bionic_cmpxchg(unlocked, locked_uncontended, &mutex->value) != 0) { in _normal_lock() 430 if (__predict_true(__bionic_cmpxchg(mvalue, newval, &mutex->value) == 0)) { in _recursive_increment() 474 if (__bionic_cmpxchg(mvalue, newval, &mutex->value) == 0) { in pthread_mutex_lock() 497 if (__predict_false(__bionic_cmpxchg(mvalue, newval, &mutex->value) != 0)) { in pthread_mutex_lock() 509 if (__predict_false(__bionic_cmpxchg(mvalue, newval, &mutex->value) != 0)) { in pthread_mutex_lock() 555 if (__predict_true(__bionic_cmpxchg(mvalue, newval, &mutex->value) == 0)) { in pthread_mutex_unlock() 592 if (__bionic_cmpxchg(shared|MUTEX_STATE_BITS_UNLOCKED, in pthread_mutex_trylock() 614 if (__predict_true(__bionic_cmpxchg(mtype, mvalue, &mutex->value) == 0)) { in pthread_mutex_trylock() 636 if (__bionic_cmpxchg(unlocked, locked_uncontended, &mutex->value) == 0) { in __pthread_mutex_timedlock() 666 if (__predict_true(__bionic_cmpxchg(mtype, mvalue, &mutex->value) == 0)) { in __pthread_mutex_timedlock() [all …]
|
D | pthread_once.cpp | 71 } while (__bionic_cmpxchg(old_value, new_value, once_control_ptr) != 0); in pthread_once()
|
D | semaphore.c | 174 while (__bionic_cmpxchg((int)(old|shared), in __sem_dec() 198 while (__bionic_cmpxchg((int)(old|shared), in __sem_trydec() 235 while ( __bionic_cmpxchg((int)(old|shared), in __sem_inc()
|
D | pthread_cond.cpp | 132 if (__bionic_cmpxchg(old_value, new_value, &cond->value) == 0) { in __pthread_cond_pulse()
|
/bionic/libc/private/ |
D | bionic_atomic_gcc_builtin.h | 32 __ATOMIC_INLINE__ int __bionic_cmpxchg(int32_t old_value, int32_t new_value, volatile int32_t* ptr)… in __bionic_cmpxchg() function
|
D | bionic_atomic_x86.h | 35 __ATOMIC_INLINE__ int __bionic_cmpxchg(int32_t old_value, int32_t new_value, volatile int32_t* ptr)… in __bionic_cmpxchg() function
|
D | bionic_atomic_arm64.h | 28 __ATOMIC_INLINE__ int __bionic_cmpxchg(int32_t old_value, int32_t new_value, volatile int32_t* ptr)… in __bionic_cmpxchg() function
|
D | bionic_atomic_arm.h | 32 __ATOMIC_INLINE__ int __bionic_cmpxchg(int32_t old_value, int32_t new_value, volatile int32_t* ptr)… in __bionic_cmpxchg() function
|
D | bionic_atomic_mips.h | 36 __ATOMIC_INLINE__ int __bionic_cmpxchg(int32_t old_value, int32_t new_value, volatile int32_t* ptr)… in __bionic_cmpxchg() function
|