Lines Matching refs:lock
214 k_mutex_lock(&ctx->lock, K_FOREVER); in dispatcher_cb()
286 k_mutex_unlock(&ctx->lock); in dispatcher_cb()
620 (void)k_mutex_init(&ctx->lock); in dns_resolve_init()
1206 k_mutex_lock(&ctx->lock, K_FOREVER); in dns_resolve_cancel_with_hash()
1229 k_mutex_unlock(&ctx->lock); in dns_resolve_cancel_with_hash()
1304 ret = k_mutex_lock(&pending_query->ctx->lock, K_NO_WAIT); in query_timeout()
1333 k_mutex_unlock(&pending_query->ctx->lock); in query_timeout()
1431 k_mutex_lock(&ctx->lock, K_FOREVER); in dns_resolve_name()
1571 k_mutex_unlock(&ctx->lock); in dns_resolve_name()
1596 k_mutex_unlock(&ctx->lock); in dns_resolve_close_locked()
1643 k_mutex_lock(&ctx->lock, K_FOREVER); in dns_resolve_close_locked()
1654 k_mutex_lock(&ctx->lock, K_FOREVER); in dns_resolve_close()
1656 k_mutex_unlock(&ctx->lock); in dns_resolve_close()
1724 k_mutex_lock(&ctx->lock, K_FOREVER); in dns_resolve_reconfigure()
1749 k_mutex_unlock(&ctx->lock); in dns_resolve_reconfigure()