Lines Matching defs:sock
355 struct file *sock_alloc_file(struct socket *sock, int flags, const char *dname) in sock_alloc_file()
391 static int sock_map_fd(struct socket *sock, int flags) in sock_map_fd()
434 struct socket *sock; in sockfd_lookup() local
452 struct socket *sock; in sockfd_lookup_light() local
539 struct socket *sock; in sock_alloc() local
567 void sock_release(struct socket *sock) in sock_release()
609 static inline int sock_sendmsg_nosec(struct socket *sock, struct msghdr *msg) in sock_sendmsg_nosec()
616 int sock_sendmsg(struct socket *sock, struct msghdr *msg) in sock_sendmsg()
625 int kernel_sendmsg(struct socket *sock, struct msghdr *msg, in kernel_sendmsg()
710 static inline int sock_recvmsg_nosec(struct socket *sock, struct msghdr *msg, in sock_recvmsg_nosec()
716 int sock_recvmsg(struct socket *sock, struct msghdr *msg, size_t size, in sock_recvmsg()
740 int kernel_recvmsg(struct socket *sock, struct msghdr *msg, in kernel_recvmsg()
757 struct socket *sock; in sock_sendpage() local
773 struct socket *sock = file->private_data; in sock_splice_read() local
784 struct socket *sock = file->private_data; in sock_read_iter() local
806 struct socket *sock = file->private_data; in sock_write_iter() local
863 static long sock_do_ioctl(struct net *net, struct socket *sock, in sock_do_ioctl()
888 struct socket *sock; in sock_ioctl() local
964 struct socket *sock = NULL; in sock_create_lite() local
995 struct socket *sock; in sock_poll() local
1016 struct socket *sock = file->private_data; in sock_mmap() local
1040 struct socket *sock = filp->private_data; in sock_fasync() local
1092 struct socket *sock; in __sock_create() local
1216 struct socket *sock; in SYSCALL_DEFINE3() local
1365 struct socket *sock; in SYSCALL_DEFINE3() local
1394 struct socket *sock; in SYSCALL_DEFINE2() local
1428 struct socket *sock, *newsock; in SYSCALL_DEFINE4() local
1527 struct socket *sock; in SYSCALL_DEFINE3() local
1559 struct socket *sock; in SYSCALL_DEFINE3() local
1590 struct socket *sock; in SYSCALL_DEFINE3() local
1623 struct socket *sock; in SYSCALL_DEFINE6() local
1679 struct socket *sock; in SYSCALL_DEFINE6() local
1735 struct socket *sock; in SYSCALL_DEFINE5() local
1769 struct socket *sock; in SYSCALL_DEFINE5() local
1798 struct socket *sock; in SYSCALL_DEFINE2() local
1875 static int ___sys_sendmsg(struct socket *sock, struct user_msghdr __user *msg, in ___sys_sendmsg()
1975 struct socket *sock; in __sys_sendmsg() local
2003 struct socket *sock; in __sys_sendmmsg() local
2063 static int ___sys_recvmsg(struct socket *sock, struct user_msghdr __user *msg, in ___sys_recvmsg()
2139 struct socket *sock; in __sys_recvmsg() local
2168 struct socket *sock; in __sys_recvmmsg() local
2550 static int do_siocgstamp(struct net *net, struct socket *sock, in do_siocgstamp()
2566 static int do_siocgstampns(struct net *net, struct socket *sock, in do_siocgstampns()
2867 static int dev_ifsioc(struct net *net, struct socket *sock, in dev_ifsioc()
2972 static int routing_ioctl(struct net *net, struct socket *sock, in routing_ioctl()
3044 static int compat_sock_ioctl_trans(struct file *file, struct socket *sock, in compat_sock_ioctl_trans()
3147 struct socket *sock = file->private_data; in compat_sock_ioctl() local
3169 int kernel_bind(struct socket *sock, struct sockaddr *addr, int addrlen) in kernel_bind()
3175 int kernel_listen(struct socket *sock, int backlog) in kernel_listen()
3181 int kernel_accept(struct socket *sock, struct socket **newsock, int flags) in kernel_accept()
3206 int kernel_connect(struct socket *sock, struct sockaddr *addr, int addrlen, in kernel_connect()
3213 int kernel_getsockname(struct socket *sock, struct sockaddr *addr, in kernel_getsockname()
3220 int kernel_getpeername(struct socket *sock, struct sockaddr *addr, in kernel_getpeername()
3227 int kernel_getsockopt(struct socket *sock, int level, int optname, in kernel_getsockopt()
3249 int kernel_setsockopt(struct socket *sock, int level, int optname, in kernel_setsockopt()
3269 int kernel_sendpage(struct socket *sock, struct page *page, int offset, in kernel_sendpage()
3279 int kernel_sock_ioctl(struct socket *sock, int cmd, unsigned long arg) in kernel_sock_ioctl()
3292 int kernel_sock_shutdown(struct socket *sock, enum sock_shutdown_cmd how) in kernel_sock_shutdown()