Lines Matching defs:sock
349 static int sock_alloc_file(struct socket *sock, struct file **f, int flags) in sock_alloc_file()
389 int sock_map_fd(struct socket *sock, int flags) in sock_map_fd()
426 struct socket *sock; in sockfd_lookup() local
444 struct socket *sock; in sockfd_lookup_light() local
468 struct socket *sock; in sock_alloc() local
512 void sock_release(struct socket *sock) in sock_release()
547 static inline int __sock_sendmsg_nosec(struct kiocb *iocb, struct socket *sock, in __sock_sendmsg_nosec()
564 static inline int __sock_sendmsg(struct kiocb *iocb, struct socket *sock, in __sock_sendmsg()
572 int sock_sendmsg(struct socket *sock, struct msghdr *msg, size_t size) in sock_sendmsg()
587 static int sock_sendmsg_nosec(struct socket *sock, struct msghdr *msg, size_t size) in sock_sendmsg_nosec()
601 int kernel_sendmsg(struct socket *sock, struct msghdr *msg, in kernel_sendmsg()
713 static inline int __sock_recvmsg_nosec(struct kiocb *iocb, struct socket *sock, in __sock_recvmsg_nosec()
729 static inline int __sock_recvmsg(struct kiocb *iocb, struct socket *sock, in __sock_recvmsg()
737 int sock_recvmsg(struct socket *sock, struct msghdr *msg, in sock_recvmsg()
753 static int sock_recvmsg_nosec(struct socket *sock, struct msghdr *msg, in sock_recvmsg_nosec()
783 int kernel_recvmsg(struct socket *sock, struct msghdr *msg, in kernel_recvmsg()
809 struct socket *sock; in sock_sendpage() local
825 struct socket *sock = file->private_data; in sock_splice_read() local
854 struct socket *sock = file->private_data; in do_sock_read() local
894 struct socket *sock = file->private_data; in do_sock_write() local
967 static long sock_do_ioctl(struct net *net, struct socket *sock, in sock_do_ioctl()
992 struct socket *sock; in sock_ioctl() local
1067 struct socket *sock = NULL; in sock_create_lite() local
1097 struct socket *sock; in sock_poll() local
1108 struct socket *sock = file->private_data; in sock_mmap() local
1141 struct socket *sock = filp->private_data; in sock_fasync() local
1163 int sock_wake_async(struct socket *sock, int how, int band) in sock_wake_async()
1200 struct socket *sock; in __sock_create() local
1325 struct socket *sock; in SYSCALL_DEFINE3() local
1446 struct socket *sock; in SYSCALL_DEFINE3() local
1475 struct socket *sock; in SYSCALL_DEFINE2() local
1509 struct socket *sock, *newsock; in SYSCALL_DEFINE4() local
1601 struct socket *sock; in SYSCALL_DEFINE3() local
1633 struct socket *sock; in SYSCALL_DEFINE3() local
1664 struct socket *sock; in SYSCALL_DEFINE3() local
1697 struct socket *sock; in SYSCALL_DEFINE6() local
1756 struct socket *sock; in SYSCALL_DEFINE6() local
1812 struct socket *sock; in SYSCALL_DEFINE5() local
1846 struct socket *sock; in SYSCALL_DEFINE5() local
1875 struct socket *sock; in SYSCALL_DEFINE2() local
1899 static int __sys_sendmsg(struct socket *sock, struct msghdr __user *msg, in __sys_sendmsg()
2025 struct socket *sock = sockfd_lookup_light(fd, &err, &fput_needed); in SYSCALL_DEFINE3() local
2045 struct socket *sock; in __sys_sendmmsg() local
2102 static int __sys_recvmsg(struct socket *sock, struct msghdr __user *msg, in __sys_recvmsg()
2205 struct socket *sock = sockfd_lookup_light(fd, &err, &fput_needed); in SYSCALL_DEFINE3() local
2225 struct socket *sock; in __sys_recvmmsg() local
2602 static int do_siocgstamp(struct net *net, struct socket *sock, in do_siocgstamp()
2619 static int do_siocgstampns(struct net *net, struct socket *sock, in do_siocgstampns()
2939 static int dev_ifsioc(struct net *net, struct socket *sock, in dev_ifsioc()
3065 static int routing_ioctl(struct net *net, struct socket *sock, in routing_ioctl()
3137 static int compat_sock_ioctl_trans(struct file *file, struct socket *sock, in compat_sock_ioctl_trans()
3239 struct socket *sock = file->private_data; in compat_sock_ioctl() local
3261 int kernel_bind(struct socket *sock, struct sockaddr *addr, int addrlen) in kernel_bind()
3267 int kernel_listen(struct socket *sock, int backlog) in kernel_listen()
3273 int kernel_accept(struct socket *sock, struct socket **newsock, int flags) in kernel_accept()
3298 int kernel_connect(struct socket *sock, struct sockaddr *addr, int addrlen, in kernel_connect()
3305 int kernel_getsockname(struct socket *sock, struct sockaddr *addr, in kernel_getsockname()
3312 int kernel_getpeername(struct socket *sock, struct sockaddr *addr, in kernel_getpeername()
3319 int kernel_getsockopt(struct socket *sock, int level, int optname, in kernel_getsockopt()
3341 int kernel_setsockopt(struct socket *sock, int level, int optname, in kernel_setsockopt()
3361 int kernel_sendpage(struct socket *sock, struct page *page, int offset, in kernel_sendpage()
3373 int kernel_sock_ioctl(struct socket *sock, int cmd, unsigned long arg) in kernel_sock_ioctl()
3386 int kernel_sock_shutdown(struct socket *sock, enum sock_shutdown_cmd how) in kernel_sock_shutdown()