Home
last modified time | relevance | path

Searched refs:LOS_AtomicCmpXchg32bits (Results 1 - 6 of 6) sorted by relevance

/kernel/liteos_m/testsuites/sample/kernel/atomic/
H A Dit_los_atomic_003.c44 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 Dlos_atomic.h62 #define LOS_AtomicCmpXchg32bits ArchAtomicCmpXchg32bits macro
/kernel/liteos_a/compat/posix/src/
H A Dpthread_cond.c152 if (LOS_AtomicCmpXchg32bits(&cond->value, newVal, oldVal) == 0) { in PthreadCondValueModify()
/kernel/liteos_a/arch/arm/arm/include/
H A Dlos_atomic.h830 STATIC INLINE BOOL LOS_AtomicCmpXchg32bits(Atomic *v, INT32 val, INT32 oldVal) in LOS_AtomicCmpXchg32bits() function
/kernel/liteos_a/kernel/base/mp/
H A Dlos_lockdep.c52 while (LOS_AtomicCmpXchg32bits(&g_lockdepAvailable, 0, 1)) { in OsLockDepRequire()
/kernel/liteos_a/testsuites/kernel/src/
H A DiCunit.c188 if (LOS_AtomicCmpXchg32bits(&g_cunitInitFlag, 1, 0)) { in ICunitInit()

Completed in 4 milliseconds