Searched refs:muxCount (Results 1 - 7 of 7) sorted by relevance
/kernel/liteos_m/kernel/src/ |
H A D | los_mux.c | 109 muxCreated->muxCount = 0;
in LOS_MuxCreate() 147 if ((!LOS_ListEmpty(&muxDeleted->muxList)) || muxDeleted->muxCount) {
in LOS_MuxDelete() 214 if (muxPended->muxCount == 0) {
in LOS_MuxPend() 215 muxPended->muxCount++;
in LOS_MuxPend() 223 muxPended->muxCount++;
in LOS_MuxPend() 292 if ((muxPosted->muxCount == 0) || (muxPosted->owner != runningTask)) {
in LOS_MuxPost() 297 if (--(muxPosted->muxCount) != 0) {
in LOS_MuxPost() 310 muxPosted->muxCount = 1;
in LOS_MuxPost()
|
/kernel/liteos_a/kernel/base/ipc/ |
H A D | los_mux.c | 228 mutex->muxCount = 0; in LOS_MuxInit() 250 if (mutex->muxCount != 0) { in LOS_MuxDestroy() 293 mutex->muxCount = 0; in OsMuxPendOp() 298 if (mutex->muxCount == 0) { in OsMuxPendOp() 299 mutex->muxCount++; in OsMuxPendOp() 312 mutex->muxCount++; in OsMuxPendOp() 448 mutex->muxCount = 1; in OsMuxPostOp() 476 if (mutex->muxCount == 0) { in OsMuxUnlockUnsafe() 480 if ((--mutex->muxCount != 0) && (mutex->attr.type == LOS_MUX_RECURSIVE)) { in OsMuxUnlockUnsafe()
|
/kernel/liteos_m/kal/posix/src/ |
H A D | pthread_mutex.c | 231 if (muxPended->muxCount == 0) { in MuxPendForPosix() 232 muxPended->muxCount++; in MuxPendForPosix() 241 muxPended->muxCount++; in MuxPendForPosix() 293 if ((muxPosted->muxCount == 0) || (muxPosted->owner != runningTask)) { in MuxPostForPosix() 298 if ((--(muxPosted->muxCount) != 0) && (mutex->stAttr.type == PTHREAD_MUTEX_RECURSIVE)) { in MuxPostForPosix() 311 muxPosted->muxCount = 1; in MuxPostForPosix() 360 (muxPended->muxCount != 0) && in pthread_mutex_timedlock() 407 (muxPended->muxCount != 0) && in pthread_mutex_lock() 441 if ((mutex->stAttr.type != PTHREAD_MUTEX_RECURSIVE) && (muxPended->muxCount != 0)) { in pthread_mutex_trylock()
|
/kernel/liteos_m/components/trace/cnv/ |
H A D | trace_cnv.c | 139 LOS_TRACE(MUX_POST, muxCB->muxID, muxCB->muxCount, in LOS_TraceMuxPost() 145 LOS_TRACE(MUX_PEND, muxCB->muxID, muxCB->muxCount, in LOS_TraceMuxPend() 151 LOS_TRACE(MUX_DELETE, muxCB->muxID, muxCB->muxStat, muxCB->muxCount, in LOS_TraceMuxDelete()
|
/kernel/liteos_a/kernel/include/ |
H A D | los_mux.h | 78 UINT16 muxCount; /**< Times of locking a mutex */ member
|
/kernel/liteos_m/kernel/include/ |
H A D | los_mux.h | 300 UINT16 muxCount; /**< Times of locking a mutex */
member
|
/kernel/liteos_a/kernel/extended/trace/cnv/ |
H A D | trace_cnv.c | 140 LOS_TRACE(MUX_POST, (UINTPTR)muxCB, muxCB->muxCount, in LOS_TraceMuxPost() 146 LOS_TRACE(MUX_PEND, (UINTPTR)muxCB, muxCB->muxCount, in LOS_TraceMuxPend() 152 LOS_TRACE(MUX_DELETE, (UINTPTR)muxCB, muxCB->attr.type, muxCB->muxCount, in LOS_TraceMuxDelete()
|
Completed in 5 milliseconds