Home
last modified time | relevance | path

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

/device/soc/esp/esp32/components/esp_lwip/port/
Dsys_arch.c61 sys_mutex_new(sys_mutex_t *pxMutex) in sys_mutex_new() argument
63 *pxMutex = xSemaphoreCreateMutex(); in sys_mutex_new()
64 if (*pxMutex == NULL) { in sys_mutex_new()
69 LWIP_DEBUGF(ESP_THREAD_SAFE_DEBUG, ("sys_mutex_new: m=%p\n", *pxMutex)); in sys_mutex_new()
80 sys_mutex_lock(sys_mutex_t *pxMutex) in sys_mutex_lock() argument
82 BaseType_t ret = xSemaphoreTake(*pxMutex, portMAX_DELAY); in sys_mutex_lock()
93 sys_mutex_unlock(sys_mutex_t *pxMutex) in sys_mutex_unlock() argument
95 BaseType_t ret = xSemaphoreGive(*pxMutex); in sys_mutex_unlock()
106 sys_mutex_free(sys_mutex_t *pxMutex) in sys_mutex_free() argument
108 LWIP_DEBUGF(ESP_THREAD_SAFE_DEBUG, ("sys_mutex_free: m=%p\n", *pxMutex)); in sys_mutex_free()
[all …]
/device/soc/esp/esp32/components/osal/
Dqueue.c611 Queue_t * const pxMutex = ( Queue_t * ) xMutex; in xQueueGiveMutexRecursive() local
613 configASSERT( pxMutex ); in xQueueGiveMutexRecursive()
621 if( pxMutex->u.xSemaphore.xMutexHolder == xTaskGetCurrentTaskHandle() ) in xQueueGiveMutexRecursive()
623 traceGIVE_MUTEX_RECURSIVE( pxMutex ); in xQueueGiveMutexRecursive()
630 ( pxMutex->u.xSemaphore.uxRecursiveCallCount )--; in xQueueGiveMutexRecursive()
633 if( pxMutex->u.xSemaphore.uxRecursiveCallCount == ( UBaseType_t ) 0 ) in xQueueGiveMutexRecursive()
637 ( void ) xQueueGenericSend( pxMutex, NULL, queueMUTEX_GIVE_BLOCK_TIME, queueSEND_TO_BACK ); in xQueueGiveMutexRecursive()
648 traceGIVE_MUTEX_RECURSIVE_FAILED( pxMutex ); in xQueueGiveMutexRecursive()
662 Queue_t * const pxMutex = ( Queue_t * ) xMutex; in xQueueTakeMutexRecursive() local
664 configASSERT( pxMutex ); in xQueueTakeMutexRecursive()
[all …]
/device/soc/beken/bk7235/liteos_m/third_party_adapter/lwip_intf_v2_1/lwip-2.1.2/port/
Dsys_arch.c323 err_t sys_mutex_trylock(sys_mutex_t *pxMutex) in sys_mutex_trylock() argument
327 ret = rtos_trylock_mutex(pxMutex); in sys_mutex_trylock()
/device/soc/esp/esp32/components/osal/include/esp_osal/
Desp_osal.h434 #define traceGIVE_MUTEX_RECURSIVE( pxMutex ) argument
438 #define traceGIVE_MUTEX_RECURSIVE_FAILED( pxMutex ) argument
442 #define traceTAKE_MUTEX_RECURSIVE( pxMutex ) argument
446 #define traceTAKE_MUTEX_RECURSIVE_FAILED( pxMutex ) argument