Lines Matching defs:sock

139 	struct socket *sock = f->private_data;  in sock_show_fdinfo()  local
462 struct file *sock_alloc_file(struct socket *sock, int flags, const char *dname) in sock_alloc_file()
485 static int sock_map_fd(struct socket *sock, int flags) in sock_map_fd()
536 struct socket *sock; in sockfd_lookup() local
556 struct socket *sock; in sockfd_lookup_light() local
605 struct socket *sock = SOCKET_I(d_inode(dentry)); in sockfs_setattr() local
632 struct socket *sock; in sock_alloc() local
650 static void __sock_release(struct socket *sock, struct inode *inode) in __sock_release()
685 void sock_release(struct socket *sock) in sock_release()
728 static inline int sock_sendmsg_nosec(struct socket *sock, struct msghdr *msg) in sock_sendmsg_nosec()
740 static int __sock_sendmsg(struct socket *sock, struct msghdr *msg) in __sock_sendmsg()
756 int sock_sendmsg(struct socket *sock, struct msghdr *msg) in sock_sendmsg()
786 int kernel_sendmsg(struct socket *sock, struct msghdr *msg, in kernel_sendmsg()
810 struct socket *sock = sk->sk_socket; in kernel_sendmsg_locked() local
1041 static inline int sock_recvmsg_nosec(struct socket *sock, struct msghdr *msg, in sock_recvmsg_nosec()
1062 int sock_recvmsg(struct socket *sock, struct msghdr *msg, int flags) in sock_recvmsg()
1086 int kernel_recvmsg(struct socket *sock, struct msghdr *msg, in kernel_recvmsg()
1099 struct socket *sock = file->private_data; in sock_splice_read() local
1111 struct socket *sock = file->private_data; in sock_splice_eof() local
1122 struct socket *sock = file->private_data; in sock_read_iter() local
1144 struct socket *sock = file->private_data; in sock_write_iter() local
1210 static long sock_do_ioctl(struct net *net, struct socket *sock, in sock_do_ioctl()
1250 struct socket *sock; in sock_ioctl() local
1361 struct socket *sock = NULL; in sock_create_lite() local
1391 struct socket *sock = file->private_data; in sock_poll() local
1412 struct socket *sock = file->private_data; in sock_mmap() local
1436 struct socket *sock = filp->private_data; in sock_fasync() local
1502 struct socket *sock; in __sock_create() local
1644 struct socket *sock; in __sys_socket_create() local
1666 struct socket *sock; in __sys_socket_file() local
1705 struct socket *sock; in __sys_socket() local
1837 struct socket *sock; in __sys_bind() local
1871 struct socket *sock; in __sys_listen() local
1899 struct socket *sock, *newsock; in do_accept() local
2036 struct socket *sock; in __sys_connect_file() local
2088 struct socket *sock; in __sys_getsockname() local
2126 struct socket *sock; in __sys_getpeername() local
2164 struct socket *sock; in __sys_sendto() local
2232 struct socket *sock; in __sys_recvfrom() local
2277 static bool sock_use_custom_sol_socket(const struct socket *sock) in sock_use_custom_sol_socket()
2293 struct socket *sock; in __sys_setsockopt() local
2352 struct socket *sock; in __sys_getsockopt() local
2393 int __sys_shutdown_sock(struct socket *sock, int how) in __sys_shutdown_sock()
2407 struct socket *sock; in __sys_shutdown() local
2501 static int ____sys_sendmsg(struct socket *sock, struct msghdr *msg_sys, in ____sys_sendmsg()
2597 static int ___sys_sendmsg(struct socket *sock, struct user_msghdr __user *msg, in ___sys_sendmsg()
2621 long __sys_sendmsg_sock(struct socket *sock, struct msghdr *msg, in __sys_sendmsg_sock()
2632 struct socket *sock; in __sys_sendmsg() local
2661 struct socket *sock; in __sys_sendmmsg() local
2751 static int ____sys_recvmsg(struct socket *sock, struct msghdr *msg_sys, in ____sys_recvmsg()
2807 static int ___sys_recvmsg(struct socket *sock, struct user_msghdr __user *msg, in ___sys_recvmsg()
2828 long __sys_recvmsg_sock(struct socket *sock, struct msghdr *msg, in __sys_recvmsg_sock()
2840 struct socket *sock; in __sys_recvmsg() local
2871 struct socket *sock; in do_recvmmsg() local
3385 static int compat_sock_ioctl_trans(struct file *file, struct socket *sock, in compat_sock_ioctl_trans()
3485 struct socket *sock = file->private_data; in compat_sock_ioctl() local
3517 int kernel_bind(struct socket *sock, struct sockaddr *addr, int addrlen) in kernel_bind()
3536 int kernel_listen(struct socket *sock, int backlog) in kernel_listen()
3553 int kernel_accept(struct socket *sock, struct socket **newsock, int flags) in kernel_accept()
3592 int kernel_connect(struct socket *sock, struct sockaddr *addr, int addrlen, in kernel_connect()
3613 int kernel_getsockname(struct socket *sock, struct sockaddr *addr) in kernel_getsockname()
3628 int kernel_getpeername(struct socket *sock, struct sockaddr *addr) in kernel_getpeername()
3642 int kernel_sock_shutdown(struct socket *sock, enum sock_shutdown_cmd how) in kernel_sock_shutdown()