• Home
  • Raw
  • Download

Lines Matching refs:socket

255 	RCU_INIT_POINTER(ei->socket.wq, wq);  in sock_alloc_inode()
257 ei->socket.state = SS_UNCONNECTED; in sock_alloc_inode()
258 ei->socket.flags = 0; in sock_alloc_inode()
259 ei->socket.ops = NULL; in sock_alloc_inode()
260 ei->socket.sk = NULL; in sock_alloc_inode()
261 ei->socket.file = NULL; in sock_alloc_inode()
272 wq = rcu_dereference_protected(ei->socket.wq, 1); in sock_destroy_inode()
349 struct file *sock_alloc_file(struct socket *sock, int flags, const char *dname) in sock_alloc_file()
386 static int sock_map_fd(struct socket *sock, int flags) in sock_map_fd()
403 struct socket *sock_from_file(struct file *file, int *err) in sock_from_file()
426 struct socket *sockfd_lookup(int fd, int *err) in sockfd_lookup()
429 struct socket *sock; in sockfd_lookup()
444 static struct socket *sockfd_lookup_light(int fd, int *err, int *fput_needed) in sockfd_lookup_light()
447 struct socket *sock; in sockfd_lookup_light()
522 struct socket *sock = SOCKET_I(dentry->d_inode); in sockfs_setattr()
544 static struct socket *sock_alloc(void) in sock_alloc()
547 struct socket *sock; in sock_alloc()
592 void sock_release(struct socket *sock) in sock_release()
629 static inline int __sock_sendmsg_nosec(struct kiocb *iocb, struct socket *sock, in __sock_sendmsg_nosec()
642 static inline int __sock_sendmsg(struct kiocb *iocb, struct socket *sock, in __sock_sendmsg()
650 int sock_sendmsg(struct socket *sock, struct msghdr *msg, size_t size) in sock_sendmsg()
665 static int sock_sendmsg_nosec(struct socket *sock, struct msghdr *msg, size_t size) in sock_sendmsg_nosec()
679 int kernel_sendmsg(struct socket *sock, struct msghdr *msg, in kernel_sendmsg()
779 static inline int __sock_recvmsg_nosec(struct kiocb *iocb, struct socket *sock, in __sock_recvmsg_nosec()
793 static inline int __sock_recvmsg(struct kiocb *iocb, struct socket *sock, in __sock_recvmsg()
801 int sock_recvmsg(struct socket *sock, struct msghdr *msg, in sock_recvmsg()
817 static int sock_recvmsg_nosec(struct socket *sock, struct msghdr *msg, in sock_recvmsg_nosec()
847 int kernel_recvmsg(struct socket *sock, struct msghdr *msg, in kernel_recvmsg()
873 struct socket *sock; in sock_sendpage()
889 struct socket *sock = file->private_data; in sock_splice_read()
916 struct socket *sock = file->private_data; in do_sock_read()
956 struct socket *sock = file->private_data; in do_sock_write()
1029 static long sock_do_ioctl(struct net *net, struct socket *sock, in sock_do_ioctl()
1054 struct socket *sock; in sock_ioctl()
1126 int sock_create_lite(int family, int type, int protocol, struct socket **res) in sock_create_lite()
1129 struct socket *sock = NULL; in sock_create_lite()
1159 struct socket *sock; in sock_poll()
1170 struct socket *sock = file->private_data; in sock_mmap()
1194 struct socket *sock = filp->private_data; in sock_fasync()
1216 int sock_wake_async(struct socket *sock, int how, int band) in sock_wake_async()
1250 struct socket **res, int kern) in __sock_create()
1253 struct socket *sock; in __sock_create()
1362 int sock_create(int family, int type, int protocol, struct socket **res) in sock_create()
1368 int sock_create_kern(int family, int type, int protocol, struct socket **res) in sock_create_kern()
1374 SYSCALL_DEFINE3(socket, int, family, int, type, int, protocol) in SYSCALL_DEFINE3() argument
1377 struct socket *sock; in SYSCALL_DEFINE3()
1418 struct socket *sock1, *sock2; in SYSCALL_DEFINE4()
1513 struct socket *sock; in SYSCALL_DEFINE3()
1542 struct socket *sock; in SYSCALL_DEFINE2()
1576 struct socket *sock, *newsock; in SYSCALL_DEFINE4()
1675 struct socket *sock; in SYSCALL_DEFINE3()
1707 struct socket *sock; in SYSCALL_DEFINE3()
1738 struct socket *sock; in SYSCALL_DEFINE3()
1771 struct socket *sock; in SYSCALL_DEFINE6()
1832 struct socket *sock; in SYSCALL_DEFINE6()
1890 struct socket *sock; in SYSCALL_DEFINE5()
1924 struct socket *sock; in SYSCALL_DEFINE5()
1953 struct socket *sock; in SYSCALL_DEFINE2()
1977 static int ___sys_sendmsg(struct socket *sock, struct msghdr __user *msg, in ___sys_sendmsg()
2096 struct socket *sock; in __sys_sendmsg()
2124 struct socket *sock; in __sys_sendmmsg()
2184 static int ___sys_recvmsg(struct socket *sock, struct msghdr __user *msg, in ___sys_recvmsg()
2280 struct socket *sock; in __sys_recvmsg()
2309 struct socket *sock; in __sys_recvmmsg()
2692 static int do_siocgstamp(struct net *net, struct socket *sock, in do_siocgstamp()
2708 static int do_siocgstampns(struct net *net, struct socket *sock, in do_siocgstampns()
3028 static int dev_ifsioc(struct net *net, struct socket *sock, in dev_ifsioc()
3154 static int routing_ioctl(struct net *net, struct socket *sock, in routing_ioctl()
3226 static int compat_sock_ioctl_trans(struct file *file, struct socket *sock, in compat_sock_ioctl_trans()
3328 struct socket *sock = file->private_data; in compat_sock_ioctl()
3350 int kernel_bind(struct socket *sock, struct sockaddr *addr, int addrlen) in kernel_bind()
3356 int kernel_listen(struct socket *sock, int backlog) in kernel_listen()
3362 int kernel_accept(struct socket *sock, struct socket **newsock, int flags) in kernel_accept()
3387 int kernel_connect(struct socket *sock, struct sockaddr *addr, int addrlen, in kernel_connect()
3394 int kernel_getsockname(struct socket *sock, struct sockaddr *addr, in kernel_getsockname()
3401 int kernel_getpeername(struct socket *sock, struct sockaddr *addr, in kernel_getpeername()
3408 int kernel_getsockopt(struct socket *sock, int level, int optname, in kernel_getsockopt()
3430 int kernel_setsockopt(struct socket *sock, int level, int optname, in kernel_setsockopt()
3450 int kernel_sendpage(struct socket *sock, struct page *page, int offset, in kernel_sendpage()
3460 int kernel_sock_ioctl(struct socket *sock, int cmd, unsigned long arg) in kernel_sock_ioctl()
3473 int kernel_sock_shutdown(struct socket *sock, enum sock_shutdown_cmd how) in kernel_sock_shutdown()