Searched refs:LOS_AtomicCmpXchg32bits (Results 1 - 6 of 6) sorted by relevance
/kernel/liteos_m/testsuites/sample/kernel/atomic/ |
H A D | it_los_atomic_003.c | 44 ret = LOS_AtomicCmpXchg32bits(&value, newVal, oldVal); in TestCase() 49 ret = LOS_AtomicCmpXchg32bits(&value, newVal, oldVal); in TestCase() 55 ret = LOS_AtomicCmpXchg32bits(&value, newVal, oldVal); in TestCase() 60 ret = LOS_AtomicCmpXchg32bits(&value, newVal, oldVal); in TestCase() 66 ret = LOS_AtomicCmpXchg32bits(&value, newVal, oldVal); in TestCase() 71 ret = LOS_AtomicCmpXchg32bits(&value, newVal, oldVal); in TestCase() 84 * @brief Test interface LOS_AtomicCmpXchg32bits 88 * step1: Invoke the LOS_AtomicCmpXchg32bits interface. 90 * 1.LOS_AtomicCmpXchg32bits return expected result.
|
/kernel/liteos_m/arch/include/ |
H A D | los_atomic.h | 62 #define LOS_AtomicCmpXchg32bits ArchAtomicCmpXchg32bits
macro
|
/kernel/liteos_a/compat/posix/src/ |
H A D | pthread_cond.c | 152 if (LOS_AtomicCmpXchg32bits(&cond->value, newVal, oldVal) == 0) { in PthreadCondValueModify()
|
/kernel/liteos_a/arch/arm/arm/include/ |
H A D | los_atomic.h | 830 STATIC INLINE BOOL LOS_AtomicCmpXchg32bits(Atomic *v, INT32 val, INT32 oldVal) in LOS_AtomicCmpXchg32bits() function
|
/kernel/liteos_a/kernel/base/mp/ |
H A D | los_lockdep.c | 52 while (LOS_AtomicCmpXchg32bits(&g_lockdepAvailable, 0, 1)) { in OsLockDepRequire()
|
/kernel/liteos_a/testsuites/kernel/src/ |
H A D | iCunit.c | 188 if (LOS_AtomicCmpXchg32bits(&g_cunitInitFlag, 1, 0)) { in ICunitInit()
|
Completed in 4 milliseconds