Lines Matching refs:svc_sock

78 static struct svc_sock *svc_setup_socket(struct svc_serv *, struct socket *,
158 struct svc_sock *svsk =
159 container_of(rqstp->rq_xprt, struct svc_sock, sk_xprt);
196 static int svc_one_sock_name(struct svc_sock *svsk, char *buf, int remaining)
260 svc_tcp_sock_recv_cmsg(struct svc_sock *svsk, struct msghdr *msg)
304 struct svc_sock *svsk =
305 container_of(rqstp->rq_xprt, struct svc_sock, sk_xprt);
340 static void svc_sock_setbufsize(struct svc_sock *svsk, unsigned int nreqs)
367 struct svc_sock *svsk = (struct svc_sock *)sk->sk_user_data;
388 struct svc_sock *svsk = (struct svc_sock *)(sk->sk_user_data);
401 struct svc_sock *svsk = container_of(xprt, struct svc_sock, sk_xprt);
410 struct svc_sock *svsk = container_of(xprt, struct svc_sock, sk_xprt);
429 struct svc_sock *svsk = container_of(xprt, struct svc_sock, sk_xprt);
447 struct svc_sock *svsk = container_of(xprt, struct svc_sock, sk_xprt);
564 struct svc_sock *svsk =
565 container_of(rqstp->rq_xprt, struct svc_sock, sk_xprt);
689 struct svc_sock *svsk = container_of(xprt, struct svc_sock, sk_xprt);
741 struct svc_sock *svsk = container_of(xprt, struct svc_sock, sk_xprt);
796 static void svc_udp_init(struct svc_sock *svsk, struct svc_serv *serv)
833 struct svc_sock *svsk = (struct svc_sock *)sk->sk_user_data;
865 struct svc_sock *svsk = (struct svc_sock *)sk->sk_user_data;
882 struct svc_sock *svsk = container_of(xprt, struct svc_sock, sk_xprt);
888 struct svc_sock *newsvsk;
948 static size_t svc_tcp_restore_pages(struct svc_sock *svsk,
968 static void svc_tcp_save_pages(struct svc_sock *svsk, struct svc_rqst *rqstp)
982 static void svc_tcp_clear_pages(struct svc_sock *svsk)
1006 static ssize_t svc_tcp_read_marker(struct svc_sock *svsk,
1046 static int receive_cb_reply(struct svc_sock *svsk, struct svc_rqst *rqstp)
1091 static void svc_tcp_fragment_received(struct svc_sock *svsk)
1116 * The state of a partial receive is preserved in the svc_sock for
1121 struct svc_sock *svsk =
1122 container_of(rqstp->rq_xprt, struct svc_sock, sk_xprt);
1229 static int svc_tcp_sendmsg(struct svc_sock *svsk, struct svc_rqst *rqstp,
1275 struct svc_sock *svsk = container_of(xprt, struct svc_sock, sk_xprt);
1350 static void svc_tcp_init(struct svc_sock *svsk, struct svc_serv *serv)
1392 struct svc_sock *svsk;
1402 * Initialize socket for RPC use and create svc_sock struct
1404 static struct svc_sock *svc_setup_socket(struct svc_serv *serv,
1408 struct svc_sock *svsk;
1471 struct svc_sock *svsk = NULL;
1521 struct svc_sock *svsk;
1590 * Detach the svc_sock from the socket so that no
1595 struct svc_sock *svsk = container_of(xprt, struct svc_sock, sk_xprt);
1612 struct svc_sock *svsk = container_of(xprt, struct svc_sock, sk_xprt);
1625 * Free the svc_sock's socket resources and the svc_sock itself.
1629 struct svc_sock *svsk = container_of(xprt, struct svc_sock, sk_xprt);