Lines Matching refs:mtx
52 void _Mtxinit( _Rmtx * mtx ) in _Mtxinit() argument
54 *mtx = xSemaphoreCreateRecursiveMutex(); in _Mtxinit()
60 void _Mtxdst( _Rmtx * mtx ) in _Mtxdst() argument
62 if( ( mtx != NULL ) && ( *mtx != NULL ) ) in _Mtxdst()
64 vSemaphoreDelete( *mtx ); in _Mtxdst()
71 void _Mtxlock( _Rmtx * mtx ) in _Mtxlock() argument
73 if( ( mtx != NULL ) && ( *mtx != NULL ) ) in _Mtxlock()
75 xSemaphoreTakeRecursive( *mtx, portMAX_DELAY ); in _Mtxlock()
82 void _Mtxunlock( _Rmtx * mtx ) in _Mtxunlock() argument
84 if( ( mtx != NULL ) && ( *mtx != NULL ) ) in _Mtxunlock()
86 xSemaphoreGiveRecursive( *mtx ); in _Mtxunlock()