Home
last modified time | relevance | path

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

/linux/net/kcm/
H A Dkcmsock.c123 static void kcm_rcv_ready(struct kcm_sock *kcm) in kcm_rcv_ready() argument
125 struct kcm_mux *mux = kcm->mux; in kcm_rcv_ready()
129 if (unlikely(kcm->rx_wait || kcm->rx_psock || kcm->rx_disabled)) in kcm_rcv_ready()
133 if (kcm_queue_rcv_skb(&kcm->sk, skb)) { in kcm_rcv_ready()
136 WARN_ON(!sk_rmem_alloc_get(&kcm->sk)); in kcm_rcv_ready()
145 if (kcm_queue_rcv_skb(&kcm->sk, psock->ready_rx_msg)) { in kcm_rcv_ready()
147 WARN_ON(!sk_rmem_alloc_get(&kcm->sk)); in kcm_rcv_ready()
164 list_add_tail(&kcm->wait_rx_list, in kcm_rcv_ready()
165 &kcm->mux->kcm_rx_waiters); in kcm_rcv_ready()
167 WRITE_ONCE(kcm->rx_wait, true); in kcm_rcv_ready()
[all …]
H A 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 …]
H A DMakefile2 obj-$(CONFIG_AF_KCM) += kcm.o
4 kcm-y := kcmsock.o kcmproc.o
/linux/Documentation/networking/
H A Dindex.rst72 kcm
H A Dkcm.rst130 /* From linux/kcm.h */
150 /* From linux/kcm.h */
176 /* From linux/kcm.h */
/linux/net/
H A DKconfig416 source "net/kcm/Kconfig"