Searched refs:_MsOS_MemoryPool_Mutex (Results 1 – 5 of 5) sorted by relevance
342 static pthread_mutex_t _MsOS_MemoryPool_Mutex; variable697 PTH_RET_CHK(pthread_mutex_init(&_MsOS_MemoryPool_Mutex, &_MsOS_Mutex_Attr)); in MsOS_Init()747 PTH_RET_CHK(pthread_mutex_lock(&_MsOS_MemoryPool_Mutex)); in MsOS_CreateMemoryPool()760 PTH_RET_CHK(pthread_mutex_unlock(&_MsOS_MemoryPool_Mutex)); in MsOS_CreateMemoryPool()771 PTH_RET_CHK(pthread_mutex_lock(&_MsOS_MemoryPool_Mutex)); in MsOS_CreateMemoryPool()779 PTH_RET_CHK(pthread_mutex_unlock(&_MsOS_MemoryPool_Mutex)); in MsOS_CreateMemoryPool()782 PTH_RET_CHK(pthread_mutex_unlock(&_MsOS_MemoryPool_Mutex)); in MsOS_CreateMemoryPool()786 PTH_RET_CHK(pthread_mutex_lock(&_MsOS_MemoryPool_Mutex)); in MsOS_CreateMemoryPool()791 PTH_RET_CHK(pthread_mutex_unlock(&_MsOS_MemoryPool_Mutex)); in MsOS_CreateMemoryPool()841 PTH_RET_CHK(pthread_mutex_lock(&_MsOS_MemoryPool_Mutex)); in MsOS_DeleteMemoryPool()[all …]
225 static cyg_mutex_t _MsOS_MemoryPool_Mutex; variable457 cyg_mutex_init(&_MsOS_MemoryPool_Mutex); in MsOS_Init()571 cyg_mutex_lock(&_MsOS_MemoryPool_Mutex); in MsOS_CreateMemoryPool()584 cyg_mutex_unlock(&_MsOS_MemoryPool_Mutex); in MsOS_CreateMemoryPool()622 cyg_mutex_lock(&_MsOS_MemoryPool_Mutex); in MsOS_DeleteMemoryPool()624 cyg_mutex_unlock(&_MsOS_MemoryPool_Mutex); in MsOS_DeleteMemoryPool()
197 static cyg_mutex_t _MsOS_MemoryPool_Mutex; variable221 static OS_EVENT* _MsOS_MemoryPool_Mutex; variable475 _MsOS_MemoryPool_Mutex = OSSemCreate(1); in MsOS_Init()539 cyg_mutex_lock(&_MsOS_MemoryPool_Mutex); in MsOS_CreateMemoryPool()552 cyg_mutex_unlock(&_MsOS_MemoryPool_Mutex); in MsOS_CreateMemoryPool()590 cyg_mutex_lock(&_MsOS_MemoryPool_Mutex); in MsOS_DeleteMemoryPool()592 cyg_mutex_unlock(&_MsOS_MemoryPool_Mutex); in MsOS_DeleteMemoryPool()
319 static DEFINE_SPINLOCK(_MsOS_MemoryPool_Mutex);320 #define MEMORY_MUTEX_LOCK(flag) spin_lock_irqsave(&_MsOS_MemoryPool_Mutex, flag)321 #define MEMORY_MUTEX_UNLOCK(flag) spin_unlock_irqrestore(&_MsOS_MemoryPool_Mutex, flag)
253 static DEFINE_MUTEX(_MsOS_MemoryPool_Mutex);254 #define MEMORY_MUTEX_LOCK() mutex_lock(&_MsOS_MemoryPool_Mutex)255 #define MEMORY_MUTEX_UNLOCK() mutex_unlock(&_MsOS_MemoryPool_Mutex)