Lines Matching refs:lock
40 static K_MUTEX_DEFINE(lock);
158 (void)k_mutex_lock(&lock, K_FOREVER); in coap_server_process()
251 (void)k_mutex_unlock(&lock); in coap_server_process()
263 (void)k_mutex_lock(&lock, K_FOREVER); in coap_server_retransmit()
299 (void)k_mutex_unlock(&lock); in coap_server_retransmit()
383 k_mutex_lock(&lock, K_FOREVER); in coap_service_start()
460 k_mutex_unlock(&lock); in coap_service_start()
472 k_mutex_unlock(&lock); in coap_service_start()
486 k_mutex_lock(&lock, K_FOREVER); in coap_service_stop()
489 k_mutex_unlock(&lock); in coap_service_stop()
497 k_mutex_unlock(&lock); in coap_service_stop()
513 k_mutex_lock(&lock, K_FOREVER); in coap_service_is_running()
517 k_mutex_unlock(&lock); in coap_service_is_running()
533 (void)k_mutex_lock(&lock, K_FOREVER); in coap_service_send()
536 (void)k_mutex_unlock(&lock); in coap_service_send()
575 (void)k_mutex_unlock(&lock); in coap_service_send()
635 (void)k_mutex_lock(&lock, K_FOREVER); in coap_resource_parse_observe()
665 (void)k_mutex_unlock(&lock); in coap_resource_parse_observe()
689 (void)k_mutex_lock(&lock, K_FOREVER); in coap_resource_remove_observer()
691 (void)k_mutex_unlock(&lock); in coap_resource_remove_observer()