Lines Matching refs:svc_sock

66 static struct svc_sock *svc_setup_socket(struct svc_serv *, struct socket *,
146 struct svc_sock *svsk = in svc_set_cmsg_data()
147 container_of(rqstp->rq_xprt, struct svc_sock, sk_xprt); in svc_set_cmsg_data()
184 static int svc_one_sock_name(struct svc_sock *svsk, char *buf, int remaining) in svc_one_sock_name()
245 struct svc_sock *svsk = in svc_tcp_read_msg()
246 container_of(rqstp->rq_xprt, struct svc_sock, sk_xprt); in svc_tcp_read_msg()
284 static void svc_sock_setbufsize(struct svc_sock *svsk, unsigned int nreqs) in svc_sock_setbufsize()
311 struct svc_sock *svsk = (struct svc_sock *)sk->sk_user_data; in svc_data_ready()
328 struct svc_sock *svsk = (struct svc_sock *)(sk->sk_user_data); in svc_write_space()
341 struct svc_sock *svsk = container_of(xprt, struct svc_sock, sk_xprt); in svc_tcp_has_wspace()
350 struct svc_sock *svsk = container_of(xprt, struct svc_sock, sk_xprt); in svc_tcp_kill_temp_xprt()
422 struct svc_sock *svsk = in svc_udp_recvfrom()
423 container_of(rqstp->rq_xprt, struct svc_sock, sk_xprt); in svc_udp_recvfrom()
546 struct svc_sock *svsk = container_of(xprt, struct svc_sock, sk_xprt); in svc_udp_sendto()
595 struct svc_sock *svsk = container_of(xprt, struct svc_sock, sk_xprt); in svc_udp_has_wspace()
651 static void svc_udp_init(struct svc_sock *svsk, struct svc_serv *serv) in svc_udp_init()
688 struct svc_sock *svsk = (struct svc_sock *)sk->sk_user_data; in svc_tcp_listen_data_ready()
719 struct svc_sock *svsk = (struct svc_sock *)sk->sk_user_data; in svc_tcp_state_change()
736 struct svc_sock *svsk = container_of(xprt, struct svc_sock, sk_xprt); in svc_tcp_accept()
742 struct svc_sock *newsvsk; in svc_tcp_accept()
804 static size_t svc_tcp_restore_pages(struct svc_sock *svsk, in svc_tcp_restore_pages()
824 static void svc_tcp_save_pages(struct svc_sock *svsk, struct svc_rqst *rqstp) in svc_tcp_save_pages()
838 static void svc_tcp_clear_pages(struct svc_sock *svsk) in svc_tcp_clear_pages()
862 static ssize_t svc_tcp_read_marker(struct svc_sock *svsk, in svc_tcp_read_marker()
902 static int receive_cb_reply(struct svc_sock *svsk, struct svc_rqst *rqstp) in receive_cb_reply()
947 static void svc_tcp_fragment_received(struct svc_sock *svsk) in svc_tcp_fragment_received()
974 struct svc_sock *svsk = in svc_tcp_recvfrom()
975 container_of(rqstp->rq_xprt, struct svc_sock, sk_xprt); in svc_tcp_recvfrom()
1155 struct svc_sock *svsk = container_of(xprt, struct svc_sock, sk_xprt); in svc_tcp_sendto()
1236 static void svc_tcp_init(struct svc_sock *svsk, struct svc_serv *serv) in svc_tcp_init()
1278 struct svc_sock *svsk; in svc_sock_update_bufs()
1290 static struct svc_sock *svc_setup_socket(struct svc_serv *serv, in svc_setup_socket()
1294 struct svc_sock *svsk; in svc_setup_socket()
1372 struct svc_sock *svsk = NULL; in svc_addsock()
1419 struct svc_sock *svsk; in svc_create_socket()
1493 struct svc_sock *svsk = container_of(xprt, struct svc_sock, sk_xprt); in svc_sock_detach()
1510 struct svc_sock *svsk = container_of(xprt, struct svc_sock, sk_xprt); in svc_tcp_sock_detach()
1525 struct svc_sock *svsk = container_of(xprt, struct svc_sock, sk_xprt); in svc_sock_free()