Searched refs:csocket (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/net/9p/
H A Dtrans_fd.c810 static int p9_socket_open(struct p9_client *client, struct socket *csocket) p9_socket_open() argument
819 csocket->sk->sk_allocation = GFP_NOIO; p9_socket_open()
820 file = sock_alloc_file(csocket, 0, NULL); p9_socket_open()
824 sock_release(csocket); p9_socket_open()
928 struct socket *csocket; p9_fd_create_tcp() local
939 csocket = NULL; p9_fd_create_tcp()
945 SOCK_STREAM, IPPROTO_TCP, &csocket, 1); p9_fd_create_tcp()
953 err = p9_bind_privport(csocket); p9_fd_create_tcp()
957 sock_release(csocket); p9_fd_create_tcp()
962 err = csocket->ops->connect(csocket, p9_fd_create_tcp()
968 sock_release(csocket); p9_fd_create_tcp()
972 return p9_socket_open(client, csocket); p9_fd_create_tcp()
979 struct socket *csocket; p9_fd_create_unix() local
982 csocket = NULL; p9_fd_create_unix()
993 SOCK_STREAM, 0, &csocket, 1); p9_fd_create_unix()
1000 err = csocket->ops->connect(csocket, (struct sockaddr *)&sun_server, p9_fd_create_unix()
1005 sock_release(csocket); p9_fd_create_unix()
1009 return p9_socket_open(client, csocket); p9_fd_create_unix()

Completed in 57 milliseconds