• Home
  • Raw
  • Download

Lines Matching defs:sock

391 struct file *sock_alloc_file(struct socket *sock, int flags, const char *dname)  in sock_alloc_file()
412 static int sock_map_fd(struct socket *sock, int flags) in sock_map_fd()
465 struct socket *sock; in sockfd_lookup() local
483 struct socket *sock; in sockfd_lookup_light() local
530 struct socket *sock = SOCKET_I(d_inode(dentry)); in sockfs_setattr() local
557 struct socket *sock; in sock_alloc() local
584 static void __sock_release(struct socket *sock, struct inode *inode) in __sock_release()
609 void sock_release(struct socket *sock) in sock_release()
636 static inline int sock_sendmsg_nosec(struct socket *sock, struct msghdr *msg) in sock_sendmsg_nosec()
653 int sock_sendmsg(struct socket *sock, struct msghdr *msg) in sock_sendmsg()
674 int kernel_sendmsg(struct socket *sock, struct msghdr *msg, in kernel_sendmsg()
698 struct socket *sock = sk->sk_socket; in kernel_sendmsg_locked() local
869 static inline int sock_recvmsg_nosec(struct socket *sock, struct msghdr *msg, in sock_recvmsg_nosec()
886 int sock_recvmsg(struct socket *sock, struct msghdr *msg, int flags) in sock_recvmsg()
910 int kernel_recvmsg(struct socket *sock, struct msghdr *msg, in kernel_recvmsg()
927 struct socket *sock; in sock_sendpage() local
943 struct socket *sock = file->private_data; in sock_splice_read() local
954 struct socket *sock = file->private_data; in sock_read_iter() local
976 struct socket *sock = file->private_data; in sock_write_iter() local
1033 static long sock_do_ioctl(struct net *net, struct socket *sock, in sock_do_ioctl()
1090 struct socket *sock; in sock_ioctl() local
1212 struct socket *sock = NULL; in sock_create_lite() local
1242 struct socket *sock = file->private_data; in sock_poll() local
1262 struct socket *sock = file->private_data; in sock_mmap() local
1286 struct socket *sock = filp->private_data; in sock_fasync() local
1352 struct socket *sock; in __sock_create() local
1495 struct socket *sock; in __sys_socket() local
1636 struct socket *sock; in __sys_bind() local
1670 struct socket *sock; in __sys_listen() local
1709 struct socket *sock, *newsock; in __sys_accept4() local
1813 struct socket *sock; in __sys_connect() local
1851 struct socket *sock; in __sys_getsockname() local
1889 struct socket *sock; in __sys_getpeername() local
1925 struct socket *sock; in __sys_sendto() local
1986 struct socket *sock; in __sys_recvfrom() local
2052 struct socket *sock; in __sys_setsockopt() local
2113 struct socket *sock; in __sys_getsockopt() local
2155 struct socket *sock; in __sys_shutdown() local
2236 static int ____sys_sendmsg(struct socket *sock, struct msghdr *msg_sys, in ____sys_sendmsg()
2337 static int ___sys_sendmsg(struct socket *sock, struct user_msghdr __user *msg, in ___sys_sendmsg()
2361 long __sys_sendmsg_sock(struct socket *sock, struct user_msghdr __user *umsg, in __sys_sendmsg_sock()
2389 struct socket *sock; in __sys_sendmsg() local
2418 struct socket *sock; in __sys_sendmmsg() local
2508 static int ____sys_recvmsg(struct socket *sock, struct msghdr *msg_sys, in ____sys_recvmsg()
2559 static int ___sys_recvmsg(struct socket *sock, struct user_msghdr __user *msg, in ___sys_recvmsg()
2580 long __sys_recvmsg_sock(struct socket *sock, struct user_msghdr __user *umsg, in __sys_recvmsg_sock()
2609 struct socket *sock; in __sys_recvmsg() local
2640 struct socket *sock; in do_recvmmsg() local
3254 static int compat_ifreq_ioctl(struct net *net, struct socket *sock, in compat_ifreq_ioctl()
3367 static int routing_ioctl(struct net *net, struct socket *sock, in routing_ioctl()
3439 static int compat_sock_ioctl_trans(struct file *file, struct socket *sock, in compat_sock_ioctl_trans()
3547 struct socket *sock = file->private_data; in compat_sock_ioctl() local
3578 int kernel_bind(struct socket *sock, struct sockaddr *addr, int addrlen) in kernel_bind()
3592 int kernel_listen(struct socket *sock, int backlog) in kernel_listen()
3609 int kernel_accept(struct socket *sock, struct socket **newsock, int flags) in kernel_accept()
3647 int kernel_connect(struct socket *sock, struct sockaddr *addr, int addrlen, in kernel_connect()
3663 int kernel_getsockname(struct socket *sock, struct sockaddr *addr) in kernel_getsockname()
3678 int kernel_getpeername(struct socket *sock, struct sockaddr *addr) in kernel_getpeername()
3696 int kernel_getsockopt(struct socket *sock, int level, int optname, in kernel_getsockopt()
3729 int kernel_setsockopt(struct socket *sock, int level, int optname, in kernel_setsockopt()
3760 int kernel_sendpage(struct socket *sock, struct page *page, int offset, in kernel_sendpage()
3785 struct socket *sock = sk->sk_socket; in kernel_sendpage_locked() local
3803 int kernel_sock_shutdown(struct socket *sock, enum sock_shutdown_cmd how) in kernel_sock_shutdown()