Home
last modified time | relevance | path

Searched refs:mux (Results 1 – 3 of 3) sorted by relevance

/net/kcm/
Dkcmsock.c58 struct kcm_mux *mux = psock->mux; in kcm_abort_tx_psock() local
62 spin_lock_bh(&mux->lock); in kcm_abort_tx_psock()
65 spin_unlock_bh(&mux->lock); in kcm_abort_tx_psock()
86 spin_unlock_bh(&mux->lock); in kcm_abort_tx_psock()
93 static void kcm_update_rx_mux_stats(struct kcm_mux *mux, in kcm_update_rx_mux_stats() argument
96 STRP_STATS_ADD(mux->stats.rx_bytes, in kcm_update_rx_mux_stats()
99 mux->stats.rx_msgs += in kcm_update_rx_mux_stats()
105 static void kcm_update_tx_mux_stats(struct kcm_mux *mux, in kcm_update_tx_mux_stats() argument
108 KCM_STATS_ADD(mux->stats.tx_bytes, in kcm_update_tx_mux_stats()
110 mux->stats.tx_msgs += in kcm_update_tx_mux_stats()
[all …]
Dkcmproc.c32 static struct kcm_mux *kcm_get_next(struct kcm_mux *mux) in kcm_get_next() argument
34 struct kcm_net *knet = mux->knet; in kcm_get_next()
36 return list_next_or_null_rcu(&knet->mux_list, &mux->kcm_mux_list, in kcm_get_next()
199 kcm_format_mux(struct kcm_mux *mux, loff_t idx, struct seq_file *seq) in kcm_format_mux() argument
209 mux->stats.rx_msgs, in kcm_format_mux()
210 mux->stats.rx_bytes, in kcm_format_mux()
211 mux->stats.tx_msgs, in kcm_format_mux()
212 mux->stats.tx_bytes, in kcm_format_mux()
216 mux->kcm_socks_cnt, mux->psocks_cnt); in kcm_format_mux()
220 spin_lock_bh(&mux->lock); in kcm_format_mux()
[all …]
/net/caif/
Dcfcnfg.c58 struct cflayer *mux; member
83 this->mux = cfmuxl_create(); in cfcnfg_create()
84 if (!this->mux) in cfcnfg_create()
102 cfmuxl_set_uplayer(this->mux, this->ctrl, 0); in cfcnfg_create()
103 layer_set_dn(this->ctrl, this->mux); in cfcnfg_create()
111 kfree(this->mux); in cfcnfg_create()
123 kfree(cfg->mux); in cfcnfg_remove()
189 servl = cfmuxl_remove_uplayer(cfg->mux, channel_id); in caif_disconnect_client()
445 layer_set_dn(servicel, cnfg->mux); in cfcnfg_linkup_rsp()
446 cfmuxl_set_uplayer(cnfg->mux, servicel, channel_id); in cfcnfg_linkup_rsp()
[all …]