Lines Matching refs:kcm_sock
37 static inline struct kcm_sock *kcm_sk(const struct sock *sk) in kcm_sk()
39 return (struct kcm_sock *)sk; in kcm_sk()
121 static void kcm_rcv_ready(struct kcm_sock *kcm) in kcm_rcv_ready()
171 struct kcm_sock *kcm = kcm_sk(sk); in kcm_rfree()
222 struct kcm_sock *kcm; in requeue_rx_msgs()
235 struct kcm_sock, wait_rx_list); in requeue_rx_msgs()
252 static struct kcm_sock *reserve_rx_kcm(struct kcm_psock *psock, in reserve_rx_kcm()
256 struct kcm_sock *kcm; in reserve_rx_kcm()
282 struct kcm_sock, wait_rx_list); in reserve_rx_kcm()
296 static void kcm_done(struct kcm_sock *kcm);
300 kcm_done(container_of(w, struct kcm_sock, done_work)); in kcm_done_work()
307 struct kcm_sock *kcm = psock->rx_kcm; in unreserve_rx_kcm()
364 struct kcm_sock *kcm; in kcm_rcv_strparser()
415 struct kcm_sock *kcm; in psock_write_space()
436 static void unreserve_psock(struct kcm_sock *kcm);
439 static struct kcm_psock *reserve_psock(struct kcm_sock *kcm) in reserve_psock()
495 struct kcm_sock *kcm; in psock_now_avail()
502 struct kcm_sock, in psock_now_avail()
520 static void unreserve_psock(struct kcm_sock *kcm) in unreserve_psock()
566 static void kcm_report_tx_retry(struct kcm_sock *kcm) in kcm_report_tx_retry()
578 static int kcm_write_msgs(struct kcm_sock *kcm) in kcm_write_msgs()
726 struct kcm_sock *kcm = container_of(w, struct kcm_sock, tx_work); in kcm_tx_work()
754 static void kcm_push(struct kcm_sock *kcm) in kcm_push()
765 struct kcm_sock *kcm = kcm_sk(sk); in kcm_sendpage()
906 struct kcm_sock *kcm = kcm_sk(sk); in kcm_sendmsg()
1092 struct kcm_sock *kcm = kcm_sk(sk); in kcm_recvmsg()
1143 struct kcm_sock *kcm = kcm_sk(sk); in kcm_splice_read()
1188 static void kcm_recv_disable(struct kcm_sock *kcm) in kcm_recv_disable()
1214 static void kcm_recv_enable(struct kcm_sock *kcm) in kcm_recv_enable()
1232 struct kcm_sock *kcm = kcm_sk(sock->sk); in kcm_setsockopt()
1266 struct kcm_sock *kcm = kcm_sk(sock->sk); in kcm_getsockopt()
1294 static void init_kcm_sock(struct kcm_sock *kcm, struct kcm_mux *mux) in init_kcm_sock()
1296 struct kcm_sock *tkcm; in init_kcm_sock()
1334 struct kcm_sock *kcm = kcm_sk(sock->sk); in kcm_attach()
1562 struct kcm_sock *kcm = kcm_sk(sock->sk); in kcm_unattach_ioctl()
1615 .obj_size = sizeof(struct kcm_sock),
1739 static void kcm_done(struct kcm_sock *kcm) in kcm_done()
1793 struct kcm_sock *kcm; in kcm_release()