Lines Matching refs:conn_lock
117 static K_MUTEX_DEFINE(conn_lock);
123 k_mutex_lock(&conn_lock, K_FOREVER); in conn_get_unused()
127 k_mutex_unlock(&conn_lock); in conn_get_unused()
133 k_mutex_unlock(&conn_lock); in conn_get_unused()
142 k_mutex_lock(&conn_lock, K_FOREVER); in conn_set_used()
144 k_mutex_unlock(&conn_lock); in conn_set_used()
151 k_mutex_lock(&conn_lock, K_FOREVER); in conn_set_unused()
153 k_mutex_unlock(&conn_lock); in conn_set_unused()
168 k_mutex_lock(&conn_lock, K_FOREVER); in conn_find_handler()
263 k_mutex_unlock(&conn_lock); in conn_find_handler()
267 k_mutex_unlock(&conn_lock); in conn_find_handler()
453 k_mutex_lock(&conn_lock, K_FOREVER); in net_conn_unregister()
455 k_mutex_unlock(&conn_lock); in net_conn_unregister()
711 k_mutex_lock(&conn_lock, K_FOREVER); in net_conn_input()
787 k_mutex_unlock(&conn_lock); in net_conn_input()
862 k_mutex_unlock(&conn_lock); in net_conn_input()
886 k_mutex_unlock(&conn_lock); in net_conn_input()
952 k_mutex_lock(&conn_lock, K_FOREVER); in net_conn_foreach()
958 k_mutex_unlock(&conn_lock); in net_conn_foreach()