Home
last modified time | relevance | path

Searched refs:RWLOCK_COUNT_MASK (Results 1 – 1 of 1) sorted by relevance

/kernel/liteos_a/kernel/base/ipc/
Dlos_rwlock.c41 #define RWLOCK_COUNT_MASK 0x00FFFFFFU macro
45 if ((rwlock != NULL) && ((rwlock->magic & RWLOCK_COUNT_MASK) == OS_RWLOCK_MAGIC)) { in LOS_RwlockIsValid()
61 if ((rwlock->magic & RWLOCK_COUNT_MASK) == OS_RWLOCK_MAGIC) { in LOS_RwlockInit()
84 if ((rwlock->magic & RWLOCK_COUNT_MASK) != OS_RWLOCK_MAGIC) { in LOS_RwlockDestroy()
217 if ((rwlock->magic & RWLOCK_COUNT_MASK) != OS_RWLOCK_MAGIC) { in OsRwlockRdUnsafe()
226 if ((rwlock->magic & RWLOCK_COUNT_MASK) != OS_RWLOCK_MAGIC) { in OsRwlockTryRdUnsafe()
255 if ((rwlock->magic & RWLOCK_COUNT_MASK) != OS_RWLOCK_MAGIC) { in OsRwlockWrUnsafe()
264 if ((rwlock->magic & RWLOCK_COUNT_MASK) != OS_RWLOCK_MAGIC) { in OsRwlockTryWrUnsafe()
411 if ((rwlock->magic & RWLOCK_COUNT_MASK) != OS_RWLOCK_MAGIC) { in OsRwlockUnlockUnsafe()