Home
last modified time | relevance | path

Searched refs:kcm (Results 1 – 5 of 5) sorted by relevance

/net/kcm/
Dkcmsock.c121 static void kcm_rcv_ready(struct kcm_sock *kcm) in kcm_rcv_ready() argument
123 struct kcm_mux *mux = kcm->mux; in kcm_rcv_ready()
127 if (unlikely(kcm->rx_wait || kcm->rx_psock || kcm->rx_disabled)) in kcm_rcv_ready()
131 if (kcm_queue_rcv_skb(&kcm->sk, skb)) { in kcm_rcv_ready()
134 WARN_ON(!sk_rmem_alloc_get(&kcm->sk)); in kcm_rcv_ready()
143 if (kcm_queue_rcv_skb(&kcm->sk, psock->ready_rx_msg)) { in kcm_rcv_ready()
145 WARN_ON(!sk_rmem_alloc_get(&kcm->sk)); in kcm_rcv_ready()
162 list_add_tail(&kcm->wait_rx_list, in kcm_rcv_ready()
163 &kcm->mux->kcm_rx_waiters); in kcm_rcv_ready()
165 WRITE_ONCE(kcm->rx_wait, true); in kcm_rcv_ready()
[all …]
Dkcmproc.c109 static void kcm_format_sock(struct kcm_sock *kcm, struct seq_file *seq, in kcm_format_sock() argument
114 kcm->index, in kcm_format_sock()
115 kcm->stats.rx_msgs, in kcm_format_sock()
116 kcm->stats.rx_bytes, in kcm_format_sock()
117 kcm->stats.tx_msgs, in kcm_format_sock()
118 kcm->stats.tx_bytes, in kcm_format_sock()
119 kcm->sk.sk_receive_queue.qlen, in kcm_format_sock()
120 sk_rmem_alloc_get(&kcm->sk), in kcm_format_sock()
121 kcm->sk.sk_write_queue.qlen, in kcm_format_sock()
124 if (kcm->tx_psock) in kcm_format_sock()
[all …]
DMakefile2 obj-$(CONFIG_AF_KCM) += kcm.o
4 kcm-y := kcmsock.o kcmproc.o
/net/
DMakefile37 obj-$(CONFIG_AF_KCM) += kcm/
DKconfig362 source "net/kcm/Kconfig"