Lines Matching refs:svc_sock

78 static struct svc_sock *svc_setup_socket(struct svc_serv *, struct socket *,
158 struct svc_sock *svsk = in svc_set_cmsg_data()
159 container_of(rqstp->rq_xprt, struct svc_sock, sk_xprt); in svc_set_cmsg_data()
196 static int svc_one_sock_name(struct svc_sock *svsk, char *buf, int remaining) in svc_one_sock_name()
260 svc_tcp_sock_recv_cmsg(struct svc_sock *svsk, struct msghdr *msg) in svc_tcp_sock_recv_cmsg()
304 struct svc_sock *svsk = in svc_tcp_read_msg()
305 container_of(rqstp->rq_xprt, struct svc_sock, sk_xprt); in svc_tcp_read_msg()
340 static void svc_sock_setbufsize(struct svc_sock *svsk, unsigned int nreqs) in svc_sock_setbufsize()
367 struct svc_sock *svsk = (struct svc_sock *)sk->sk_user_data; in svc_data_ready()
388 struct svc_sock *svsk = (struct svc_sock *)(sk->sk_user_data); in svc_write_space()
401 struct svc_sock *svsk = container_of(xprt, struct svc_sock, sk_xprt); in svc_tcp_has_wspace()
410 struct svc_sock *svsk = container_of(xprt, struct svc_sock, sk_xprt); in svc_tcp_kill_temp_xprt()
429 struct svc_sock *svsk = container_of(xprt, struct svc_sock, sk_xprt); in svc_tcp_handshake_done()
447 struct svc_sock *svsk = container_of(xprt, struct svc_sock, sk_xprt); in svc_tcp_handshake()
564 struct svc_sock *svsk = in svc_udp_recvfrom()
565 container_of(rqstp->rq_xprt, struct svc_sock, sk_xprt); in svc_udp_recvfrom()
689 struct svc_sock *svsk = container_of(xprt, struct svc_sock, sk_xprt); in svc_udp_sendto()
741 struct svc_sock *svsk = container_of(xprt, struct svc_sock, sk_xprt); in svc_udp_has_wspace()
796 static void svc_udp_init(struct svc_sock *svsk, struct svc_serv *serv) in svc_udp_init()
833 struct svc_sock *svsk = (struct svc_sock *)sk->sk_user_data; in svc_tcp_listen_data_ready()
865 struct svc_sock *svsk = (struct svc_sock *)sk->sk_user_data; in svc_tcp_state_change()
882 struct svc_sock *svsk = container_of(xprt, struct svc_sock, sk_xprt); in svc_tcp_accept()
888 struct svc_sock *newsvsk; in svc_tcp_accept()
948 static size_t svc_tcp_restore_pages(struct svc_sock *svsk, in svc_tcp_restore_pages()
968 static void svc_tcp_save_pages(struct svc_sock *svsk, struct svc_rqst *rqstp) in svc_tcp_save_pages()
982 static void svc_tcp_clear_pages(struct svc_sock *svsk) in svc_tcp_clear_pages()
1006 static ssize_t svc_tcp_read_marker(struct svc_sock *svsk, in svc_tcp_read_marker()
1046 static int receive_cb_reply(struct svc_sock *svsk, struct svc_rqst *rqstp) in receive_cb_reply()
1081 static void svc_tcp_fragment_received(struct svc_sock *svsk) in svc_tcp_fragment_received()
1111 struct svc_sock *svsk = in svc_tcp_recvfrom()
1112 container_of(rqstp->rq_xprt, struct svc_sock, sk_xprt); in svc_tcp_recvfrom()
1210 static int svc_tcp_sendmsg(struct svc_sock *svsk, struct svc_rqst *rqstp, in svc_tcp_sendmsg()
1257 struct svc_sock *svsk = container_of(xprt, struct svc_sock, sk_xprt); in svc_tcp_sendto()
1332 static void svc_tcp_init(struct svc_sock *svsk, struct svc_serv *serv) in svc_tcp_init()
1374 struct svc_sock *svsk; in svc_sock_update_bufs()
1385 static struct svc_sock *svc_setup_socket(struct svc_serv *serv, in svc_setup_socket()
1389 struct svc_sock *svsk; in svc_setup_socket()
1452 struct svc_sock *svsk = NULL; in svc_addsock()
1502 struct svc_sock *svsk; in svc_create_socket()
1576 struct svc_sock *svsk = container_of(xprt, struct svc_sock, sk_xprt); in svc_sock_detach()
1593 struct svc_sock *svsk = container_of(xprt, struct svc_sock, sk_xprt); in svc_tcp_sock_detach()
1610 struct svc_sock *svsk = container_of(xprt, struct svc_sock, sk_xprt); in svc_sock_free()