Searched refs:OS_RWLOCK_MAGIC (Results 1 – 2 of 2) sorted by relevance
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()70 rwlock->magic = 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()
44 #define OS_RWLOCK_MAGIC 0xEFDCAU macro