Lines Matching refs:socket

821 static int unix_listen(struct socket *sock, int backlog)  in unix_listen()
856 static int unix_release(struct socket *);
857 static int unix_bind(struct socket *, struct sockaddr *, int);
858 static int unix_stream_connect(struct socket *, struct sockaddr *,
860 static int unix_socketpair(struct socket *, struct socket *);
861 static int unix_accept(struct socket *, struct socket *, struct proto_accept_arg *arg);
862 static int unix_getname(struct socket *, struct sockaddr *, int);
863 static __poll_t unix_poll(struct file *, struct socket *, poll_table *);
864 static __poll_t unix_dgram_poll(struct file *, struct socket *,
866 static int unix_ioctl(struct socket *, unsigned int, unsigned long);
868 static int unix_compat_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg);
870 static int unix_shutdown(struct socket *, int);
871 static int unix_stream_sendmsg(struct socket *, struct msghdr *, size_t);
872 static int unix_stream_recvmsg(struct socket *, struct msghdr *, size_t, int);
873 static ssize_t unix_stream_splice_read(struct socket *, loff_t *ppos,
876 static int unix_dgram_sendmsg(struct socket *, struct msghdr *, size_t);
877 static int unix_dgram_recvmsg(struct socket *, struct msghdr *, size_t, int);
880 static int unix_dgram_connect(struct socket *, struct sockaddr *,
882 static int unix_seqpacket_sendmsg(struct socket *, struct msghdr *, size_t);
883 static int unix_seqpacket_recvmsg(struct socket *, struct msghdr *, size_t,
905 static void unix_show_fdinfo(struct seq_file *m, struct socket *sock) in unix_show_fdinfo()
942 static int unix_setsockopt(struct socket *sock, int level, int optname, in unix_setsockopt()
1094 static struct sock *unix_create1(struct net *net, struct socket *sock, int kern, int type) in unix_create1()
1149 static int unix_create(struct net *net, struct socket *sock, int protocol, in unix_create()
1188 static int unix_release(struct socket *sock) in unix_release()
1480 static int unix_bind(struct socket *sock, struct sockaddr *uaddr, int addr_len) in unix_bind()
1526 static int unix_dgram_connect(struct socket *sock, struct sockaddr *addr, in unix_dgram_connect()
1645 static int unix_stream_connect(struct socket *sock, struct sockaddr *uaddr, in unix_stream_connect()
1830 static int unix_socketpair(struct socket *socka, struct socket *sockb) in unix_socketpair()
1861 static int unix_accept(struct socket *sock, struct socket *newsock, in unix_accept()
1909 static int unix_getname(struct socket *sock, struct sockaddr *uaddr, int peer) in unix_getname()
2097 static int unix_dgram_sendmsg(struct socket *sock, struct msghdr *msg, in unix_dgram_sendmsg()
2393 static int unix_stream_sendmsg(struct socket *sock, struct msghdr *msg, in unix_stream_sendmsg()
2540 static int unix_seqpacket_sendmsg(struct socket *sock, struct msghdr *msg, in unix_seqpacket_sendmsg()
2559 static int unix_seqpacket_recvmsg(struct socket *sock, struct msghdr *msg, in unix_seqpacket_recvmsg()
2584 struct socket *sock = sk->sk_socket; in __unix_dgram_recvmsg()
2689 static int unix_dgram_recvmsg(struct socket *sock, struct msghdr *msg, size_t size, in unix_dgram_recvmsg()
2762 struct socket *socket; member
2774 struct socket *sock = state->socket; in unix_stream_recv_urg()
2922 struct socket *sock = state->socket; in unix_stream_read_generic()
3145 .socket = sk->sk_socket, in __unix_stream_recvmsg()
3154 static int unix_stream_recvmsg(struct socket *sock, struct msghdr *msg, in unix_stream_recvmsg()
3159 .socket = sock, in unix_stream_recvmsg()
3179 return skb_splice_bits(skb, state->socket->sk, in unix_stream_splice_actor()
3184 static ssize_t unix_stream_splice_read(struct socket *sock, loff_t *ppos, in unix_stream_splice_read()
3190 .socket = sock, in unix_stream_splice_read()
3206 static int unix_shutdown(struct socket *sock, int mode) in unix_shutdown()
3315 static int unix_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) in unix_ioctl()
3372 static int unix_compat_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) in unix_compat_ioctl()
3378 static __poll_t unix_poll(struct file *file, struct socket *sock, poll_table *wait) in unix_poll()
3423 static __poll_t unix_dgram_poll(struct file *file, struct socket *sock, in unix_dgram_poll()