Lines Matching refs:svc_sock

66 static struct svc_sock *svc_setup_socket(struct svc_serv *, struct socket *,
123 struct svc_sock *svsk =
124 container_of(rqstp->rq_xprt, struct svc_sock, sk_xprt);
155 struct svc_sock *svsk =
156 container_of(rqstp->rq_xprt, struct svc_sock, sk_xprt);
193 static int svc_one_sock_name(struct svc_sock *svsk, char *buf, int remaining)
254 struct svc_sock *svsk =
255 container_of(rqstp->rq_xprt, struct svc_sock, sk_xprt);
295 static void svc_sock_setbufsize(struct svc_sock *svsk, unsigned int nreqs)
322 struct svc_sock *svsk = (struct svc_sock *)sk->sk_user_data;
339 struct svc_sock *svsk = (struct svc_sock *)(sk->sk_user_data);
352 struct svc_sock *svsk = container_of(xprt, struct svc_sock, sk_xprt);
361 struct svc_sock *svsk = container_of(xprt, struct svc_sock, sk_xprt);
433 struct svc_sock *svsk =
434 container_of(rqstp->rq_xprt, struct svc_sock, sk_xprt);
554 struct svc_sock *svsk = container_of(xprt, struct svc_sock, sk_xprt);
600 struct svc_sock *svsk = container_of(xprt, struct svc_sock, sk_xprt);
656 static void svc_udp_init(struct svc_sock *svsk, struct svc_serv *serv)
693 struct svc_sock *svsk = (struct svc_sock *)sk->sk_user_data;
723 struct svc_sock *svsk = (struct svc_sock *)sk->sk_user_data;
742 struct svc_sock *svsk = container_of(xprt, struct svc_sock, sk_xprt);
748 struct svc_sock *newsvsk;
810 static size_t svc_tcp_restore_pages(struct svc_sock *svsk,
830 static void svc_tcp_save_pages(struct svc_sock *svsk, struct svc_rqst *rqstp)
844 static void svc_tcp_clear_pages(struct svc_sock *svsk)
868 static ssize_t svc_tcp_read_marker(struct svc_sock *svsk,
908 static int receive_cb_reply(struct svc_sock *svsk, struct svc_rqst *rqstp)
953 static void svc_tcp_fragment_received(struct svc_sock *svsk)
975 * The state of a partial receive is preserved in the svc_sock for
980 struct svc_sock *svsk =
981 container_of(rqstp->rq_xprt, struct svc_sock, sk_xprt);
1163 struct svc_sock *svsk = container_of(xprt, struct svc_sock, sk_xprt);
1242 static void svc_tcp_init(struct svc_sock *svsk, struct svc_serv *serv)
1284 struct svc_sock *svsk;
1294 * Initialize socket for RPC use and create svc_sock struct
1296 static struct svc_sock *svc_setup_socket(struct svc_serv *serv,
1300 struct svc_sock *svsk;
1378 struct svc_sock *svsk = NULL;
1425 struct svc_sock *svsk;
1494 * Detach the svc_sock from the socket so that no
1499 struct svc_sock *svsk = container_of(xprt, struct svc_sock, sk_xprt);
1516 struct svc_sock *svsk = container_of(xprt, struct svc_sock, sk_xprt);
1527 * Free the svc_sock's socket resources and the svc_sock itself.
1531 struct svc_sock *svsk = container_of(xprt, struct svc_sock, sk_xprt);