Lines Matching defs:sock

141 	struct socket *sock = f->private_data;  in sock_show_fdinfo()  local
463 struct file *sock_alloc_file(struct socket *sock, int flags, const char *dname) in sock_alloc_file()
491 static int sock_map_fd(struct socket *sock, int flags) in sock_map_fd()
542 struct socket *sock; in sockfd_lookup() local
593 struct socket *sock = SOCKET_I(d_inode(dentry)); in sockfs_setattr() local
620 struct socket *sock; in sock_alloc() local
638 static void __sock_release(struct socket *sock, struct inode *inode) in __sock_release()
673 void sock_release(struct socket *sock) in sock_release()
710 static inline int sock_sendmsg_nosec(struct socket *sock, struct msghdr *msg) in sock_sendmsg_nosec()
722 static int __sock_sendmsg(struct socket *sock, struct msghdr *msg) in __sock_sendmsg()
738 int sock_sendmsg(struct socket *sock, struct msghdr *msg) in sock_sendmsg()
770 int kernel_sendmsg(struct socket *sock, struct msghdr *msg, in kernel_sendmsg()
1014 static inline int sock_recvmsg_nosec(struct socket *sock, struct msghdr *msg, in sock_recvmsg_nosec()
1035 int sock_recvmsg(struct socket *sock, struct msghdr *msg, int flags) in sock_recvmsg()
1059 int kernel_recvmsg(struct socket *sock, struct msghdr *msg, in kernel_recvmsg()
1072 struct socket *sock = file->private_data; in sock_splice_read() local
1084 struct socket *sock = file->private_data; in sock_splice_eof() local
1095 struct socket *sock = file->private_data; in sock_read_iter() local
1117 struct socket *sock = file->private_data; in sock_write_iter() local
1180 static long sock_do_ioctl(struct net *net, struct socket *sock, in sock_do_ioctl()
1220 struct socket *sock; in sock_ioctl() local
1333 struct socket *sock = NULL; in sock_create_lite() local
1363 struct socket *sock = file->private_data; in sock_poll() local
1384 struct socket *sock = file->private_data; in sock_mmap() local
1408 struct socket *sock = filp->private_data; in sock_fasync() local
1474 struct socket *sock; in __sock_create() local
1623 struct socket *sock; in __sys_socket_create() local
1645 struct socket *sock; in __sys_socket_file() local
1680 struct socket *sock; in __sys_socket() local
1802 int __sys_bind_socket(struct socket *sock, struct sockaddr_storage *address, in __sys_bind_socket()
1826 struct socket *sock; in __sys_bind() local
1854 int __sys_listen_socket(struct socket *sock, int backlog) in __sys_listen_socket()
1871 struct socket *sock; in __sys_listen() local
1891 struct socket *sock, *newsock; in do_accept() local
2024 struct socket *sock; in __sys_connect_file() local
2074 struct socket *sock; in __sys_getsockname() local
2111 struct socket *sock; in __sys_getpeername() local
2148 struct socket *sock; in __sys_sendto() local
2213 struct socket *sock; in __sys_recvfrom() local
2258 static bool sock_use_custom_sol_socket(const struct socket *sock) in sock_use_custom_sol_socket()
2263 int do_sock_setsockopt(struct socket *sock, bool compat, int level, in do_sock_setsockopt()
2312 struct socket *sock; in __sys_setsockopt() local
2333 int do_sock_getsockopt(struct socket *sock, bool compat, int level, in do_sock_getsockopt()
2377 struct socket *sock; in __sys_getsockopt() local
2400 int __sys_shutdown_sock(struct socket *sock, int how) in __sys_shutdown_sock()
2413 struct socket *sock; in __sys_shutdown() local
2509 static int ____sys_sendmsg(struct socket *sock, struct msghdr *msg_sys, in ____sys_sendmsg()
2605 static int ___sys_sendmsg(struct socket *sock, struct user_msghdr __user *msg, in ___sys_sendmsg()
2629 long __sys_sendmsg_sock(struct socket *sock, struct msghdr *msg, in __sys_sendmsg_sock()
2639 struct socket *sock; in __sys_sendmsg() local
2668 struct socket *sock; in __sys_sendmmsg() local
2760 static int ____sys_recvmsg(struct socket *sock, struct msghdr *msg_sys, in ____sys_recvmsg()
2816 static int ___sys_recvmsg(struct socket *sock, struct user_msghdr __user *msg, in ___sys_recvmsg()
2837 long __sys_recvmsg_sock(struct socket *sock, struct msghdr *msg, in __sys_recvmsg_sock()
2848 struct socket *sock; in __sys_recvmsg() local
2879 struct socket *sock; in do_recvmmsg() local
3390 static int compat_sock_ioctl_trans(struct file *file, struct socket *sock, in compat_sock_ioctl_trans()
3490 struct socket *sock = file->private_data; in compat_sock_ioctl() local
3522 int kernel_bind(struct socket *sock, struct sockaddr *addr, int addrlen) in kernel_bind()
3541 int kernel_listen(struct socket *sock, int backlog) in kernel_listen()
3558 int kernel_accept(struct socket *sock, struct socket **newsock, int flags) in kernel_accept()
3601 int kernel_connect(struct socket *sock, struct sockaddr *addr, int addrlen, in kernel_connect()
3622 int kernel_getsockname(struct socket *sock, struct sockaddr *addr) in kernel_getsockname()
3637 int kernel_getpeername(struct socket *sock, struct sockaddr *addr) in kernel_getpeername()
3651 int kernel_sock_shutdown(struct socket *sock, enum sock_shutdown_cmd how) in kernel_sock_shutdown()