Lines Matching defs:sock

354 struct file *sock_alloc_file(struct socket *sock, int flags, const char *dname)  in sock_alloc_file()
390 static int sock_map_fd(struct socket *sock, int flags) in sock_map_fd()
433 struct socket *sock; in sockfd_lookup() local
451 struct socket *sock; in sockfd_lookup_light() local
538 struct socket *sock; in sock_alloc() local
566 void sock_release(struct socket *sock) in sock_release()
611 static inline int sock_sendmsg_nosec(struct socket *sock, struct msghdr *msg) in sock_sendmsg_nosec()
618 int sock_sendmsg(struct socket *sock, struct msghdr *msg) in sock_sendmsg()
627 int kernel_sendmsg(struct socket *sock, struct msghdr *msg, in kernel_sendmsg()
712 static inline int sock_recvmsg_nosec(struct socket *sock, struct msghdr *msg, in sock_recvmsg_nosec()
718 int sock_recvmsg(struct socket *sock, struct msghdr *msg, size_t size, in sock_recvmsg()
742 int kernel_recvmsg(struct socket *sock, struct msghdr *msg, in kernel_recvmsg()
759 struct socket *sock; in sock_sendpage() local
775 struct socket *sock = file->private_data; in sock_splice_read() local
786 struct socket *sock = file->private_data; in sock_read_iter() local
808 struct socket *sock = file->private_data; in sock_write_iter() local
865 static long sock_do_ioctl(struct net *net, struct socket *sock, in sock_do_ioctl()
890 struct socket *sock; in sock_ioctl() local
966 struct socket *sock = NULL; in sock_create_lite() local
997 struct socket *sock; in sock_poll() local
1018 struct socket *sock = file->private_data; in sock_mmap() local
1042 struct socket *sock = filp->private_data; in sock_fasync() local
1064 int sock_wake_async(struct socket *sock, int how, int band) in sock_wake_async()
1101 struct socket *sock; in __sock_create() local
1225 struct socket *sock; in SYSCALL_DEFINE3() local
1374 struct socket *sock; in SYSCALL_DEFINE3() local
1403 struct socket *sock; in SYSCALL_DEFINE2() local
1437 struct socket *sock, *newsock; in SYSCALL_DEFINE4() local
1536 struct socket *sock; in SYSCALL_DEFINE3() local
1568 struct socket *sock; in SYSCALL_DEFINE3() local
1599 struct socket *sock; in SYSCALL_DEFINE3() local
1632 struct socket *sock; in SYSCALL_DEFINE6() local
1688 struct socket *sock; in SYSCALL_DEFINE6() local
1744 struct socket *sock; in SYSCALL_DEFINE5() local
1778 struct socket *sock; in SYSCALL_DEFINE5() local
1807 struct socket *sock; in SYSCALL_DEFINE2() local
1884 static int ___sys_sendmsg(struct socket *sock, struct user_msghdr __user *msg, in ___sys_sendmsg()
1984 struct socket *sock; in __sys_sendmsg() local
2012 struct socket *sock; in __sys_sendmmsg() local
2072 static int ___sys_recvmsg(struct socket *sock, struct user_msghdr __user *msg, in ___sys_recvmsg()
2148 struct socket *sock; in __sys_recvmsg() local
2177 struct socket *sock; in __sys_recvmmsg() local
2559 static int do_siocgstamp(struct net *net, struct socket *sock, in do_siocgstamp()
2575 static int do_siocgstampns(struct net *net, struct socket *sock, in do_siocgstampns()
2876 static int dev_ifsioc(struct net *net, struct socket *sock, in dev_ifsioc()
2981 static int routing_ioctl(struct net *net, struct socket *sock, in routing_ioctl()
3053 static int compat_sock_ioctl_trans(struct file *file, struct socket *sock, in compat_sock_ioctl_trans()
3156 struct socket *sock = file->private_data; in compat_sock_ioctl() local
3178 int kernel_bind(struct socket *sock, struct sockaddr *addr, int addrlen) in kernel_bind()
3184 int kernel_listen(struct socket *sock, int backlog) in kernel_listen()
3190 int kernel_accept(struct socket *sock, struct socket **newsock, int flags) in kernel_accept()
3215 int kernel_connect(struct socket *sock, struct sockaddr *addr, int addrlen, in kernel_connect()
3222 int kernel_getsockname(struct socket *sock, struct sockaddr *addr, in kernel_getsockname()
3229 int kernel_getpeername(struct socket *sock, struct sockaddr *addr, in kernel_getpeername()
3236 int kernel_getsockopt(struct socket *sock, int level, int optname, in kernel_getsockopt()
3258 int kernel_setsockopt(struct socket *sock, int level, int optname, in kernel_setsockopt()
3278 int kernel_sendpage(struct socket *sock, struct page *page, int offset, in kernel_sendpage()
3288 int kernel_sock_ioctl(struct socket *sock, int cmd, unsigned long arg) in kernel_sock_ioctl()
3301 int kernel_sock_shutdown(struct socket *sock, enum sock_shutdown_cmd how) in kernel_sock_shutdown()