Home
last modified time | relevance | path

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

/utopia/UTPA2-700.0.x/modules/msos/msos/ucos/
H A DMsOS_ucos.c247 static OS_EVENT* _MsOS_Mutex_Mutex; variable
479 _MsOS_Mutex_Mutex = OSSemCreate(1); in MsOS_Init()
1360 OSSemPend(_MsOS_Mutex_Mutex, 0, &u8Err); in MsOS_CreateMutex()
1372 OSSemPost(_MsOS_Mutex_Mutex); in MsOS_CreateMutex()
1386 OSSemPend(_MsOS_Mutex_Mutex, 0, &u8Err); in MsOS_CreateMutex()
1388 OSSemPost(_MsOS_Mutex_Mutex); in MsOS_CreateMutex()
1423 OSSemPend(_MsOS_Mutex_Mutex, 0, &u8Err); in MsOS_DeleteMutex()
1425 OSSemPost(_MsOS_Mutex_Mutex); in MsOS_DeleteMutex()
/utopia/UTPA2-700.0.x/modules/msos/msos/optee/
H A DMsOS_optee.c243 static Optee_mutex _MsOS_Mutex_Mutex; variable
244 #define OPTEE_MUTEX_LOCK() mutex_lock(&_MsOS_Mutex_Mutex)
245 #define OPTEE_MUTEX_UNLOCK() mutex_unlock(&_MsOS_Mutex_Mutex)
423 mutex_init(&_MsOS_Mutex_Mutex); in MsOS_Init()
/utopia/UTPA2-700.0.x/modules/msos/msos/ecos/
H A DMsOS_ecos.c266 static cyg_mutex_t _MsOS_Mutex_Mutex; variable
460 cyg_mutex_init(&_MsOS_Mutex_Mutex); in MsOS_Init()
1405 cyg_mutex_lock(&_MsOS_Mutex_Mutex); in MsOS_CreateMutex()
1417 cyg_mutex_unlock(&_MsOS_Mutex_Mutex); in MsOS_CreateMutex()
1456 cyg_mutex_lock(&_MsOS_Mutex_Mutex); in MsOS_DeleteMutex()
1458 cyg_mutex_unlock(&_MsOS_Mutex_Mutex); in MsOS_DeleteMutex()
/utopia/UTPA2-700.0.x/modules/msos/msos/nuttx/
H A DMsOS_nuttx.c265 static pthread_mutex_t _MsOS_Mutex_Mutex; variable
266 #define MUTEX_MUTEX_LOCK() pthread_mutex_lock(&_MsOS_Mutex_Mutex)
267 #define MUTEX_MUTEX_UNLOCK() pthread_mutex_unlock(&_MsOS_Mutex_Mutex)
431 pthread_mutex_init(&_MsOS_Mutex_Mutex, &_MsOS_Mutex_Attr); in MsOS_Init()
/utopia/UTPA2-700.0.x/modules/msos/msos/linux_kernel/
H A DMsOS_linux_kernel.c347 static DEFINE_SPINLOCK(_MsOS_Mutex_Mutex);
348 #define MUTEX_MUTEX_LOCK(flag) spin_lock_irqsave(&_MsOS_Mutex_Mutex, flag)
349 #define MUTEX_MUTEX_UNLOCK(flag) spin_unlock_irqrestore(&_MsOS_Mutex_Mutex, flag)
486 spin_lock_init(&_MsOS_Mutex_Mutex); in MsOS_Init()
/utopia/UTPA2-700.0.x/modules/msos/msos/linux/
H A DMsOS_linux.c398 static pthread_mutex_t _MsOS_Mutex_Mutex; variable
399 #define MUTEX_MUTEX_LOCK() PTH_RET_CHK(pthread_mutex_lock(&_MsOS_Mutex_Mutex));
400 #define MUTEX_MUTEX_UNLOCK() PTH_RET_CHK(pthread_mutex_unlock(&_MsOS_Mutex_Mutex));
643 PTH_RET_CHK(pthread_mutex_init(&_MsOS_Mutex_Mutex, &_MsOS_Mutex_Attr)); in MsOS_Init()
/utopia/UTPA2-700.0.x/modules/msos/msos/linux_kernel_V2/
H A DMsOS_linux_kernel.c287 static DEFINE_MUTEX(_MsOS_Mutex_Mutex);
288 #define MUTEX_MUTEX_LOCK() mutex_lock(&_MsOS_Mutex_Mutex)
289 #define MUTEX_MUTEX_UNLOCK() mutex_unlock(&_MsOS_Mutex_Mutex)