Lines Matching refs:h
96 SemaphoreHandle_t h = (SemaphoreHandle_t)(*lock); in _lock_close() local
98 configASSERT(xSemaphoreGetMutexHolder(h) == NULL); /* mutex should not be held */ in _lock_close()
100 vSemaphoreDelete(h); in _lock_close()
112 SemaphoreHandle_t h = (SemaphoreHandle_t)(*lock); in lock_acquire_generic() local
113 if (!h) { in lock_acquire_generic()
119 h = (SemaphoreHandle_t)(*lock); in lock_acquire_generic()
120 configASSERT(h != NULL); in lock_acquire_generic()
133 success = xSemaphoreTakeFromISR(h, &higher_task_woken); in lock_acquire_generic()
144 success = xSemaphoreTakeRecursive(h, delay); in lock_acquire_generic()
146 success = xSemaphoreTake(h, delay); in lock_acquire_generic()
176 SemaphoreHandle_t h = (SemaphoreHandle_t)(*lock); in lock_release_generic() local
177 assert(h); in lock_release_generic()
184 xSemaphoreGiveFromISR(h, &higher_task_woken); in lock_release_generic()
190 xSemaphoreGiveRecursive(h); in lock_release_generic()
192 xSemaphoreGive(h); in lock_release_generic()