Lines Matching refs:knet
21 struct kcm_net *knet = net_generic(net, kcm_net_id); in kcm_get_first() local
23 return list_first_or_null_rcu(&knet->mux_list, in kcm_get_first()
29 struct kcm_net *knet = mux->knet; in kcm_get_next() local
31 return list_next_or_null_rcu(&knet->mux_list, &mux->kcm_mux_list, in kcm_get_next()
38 struct kcm_net *knet = net_generic(net, kcm_net_id); in kcm_get_idx() local
41 list_for_each_entry_rcu(m, &knet->mux_list, kcm_mux_list) { in kcm_get_idx()
86 struct kcm_net *knet = net_generic(net, kcm_net_id); in kcm_format_mux_header() local
90 knet->count); in kcm_format_mux_header()
250 struct kcm_net *knet = net_generic(net, kcm_net_id); in kcm_stats_seq_show() local
256 mutex_lock(&knet->mutex); in kcm_stats_seq_show()
258 aggregate_mux_stats(&knet->aggregate_mux_stats, &mux_stats); in kcm_stats_seq_show()
259 aggregate_psock_stats(&knet->aggregate_psock_stats, in kcm_stats_seq_show()
261 aggregate_strp_stats(&knet->aggregate_strp_stats, in kcm_stats_seq_show()
264 list_for_each_entry(mux, &knet->mux_list, kcm_mux_list) { in kcm_stats_seq_show()
279 mutex_unlock(&knet->mutex); in kcm_stats_seq_show()