Lines Matching refs:knet
1710 struct kcm_net *knet = mux->knet; in release_mux() local
1725 mutex_lock(&knet->mutex); in release_mux()
1726 aggregate_mux_stats(&mux->stats, &knet->aggregate_mux_stats); in release_mux()
1728 &knet->aggregate_psock_stats); in release_mux()
1730 &knet->aggregate_strp_stats); in release_mux()
1732 knet->count--; in release_mux()
1733 mutex_unlock(&knet->mutex); in release_mux()
1904 struct kcm_net *knet = net_generic(net, kcm_net_id); in kcm_create() local
1943 mux->knet = knet; in kcm_create()
1946 mutex_lock(&knet->mutex); in kcm_create()
1947 list_add_rcu(&mux->kcm_mux_list, &knet->mux_list); in kcm_create()
1948 knet->count++; in kcm_create()
1949 mutex_unlock(&knet->mutex); in kcm_create()
1968 struct kcm_net *knet = net_generic(net, kcm_net_id); in kcm_init_net() local
1970 INIT_LIST_HEAD_RCU(&knet->mux_list); in kcm_init_net()
1971 mutex_init(&knet->mutex); in kcm_init_net()
1978 struct kcm_net *knet = net_generic(net, kcm_net_id); in kcm_exit_net() local
1983 WARN_ON(!list_empty(&knet->mux_list)); in kcm_exit_net()