Lines Matching defs:sock

711 static int unix_listen(struct socket *sock, int backlog)  in unix_listen()
803 static void unix_show_fdinfo(struct seq_file *m, struct socket *sock) in unix_show_fdinfo()
953 static struct sock *unix_create1(struct net *net, struct socket *sock, int kern, int type) in unix_create1()
1004 static int unix_create(struct net *net, struct socket *sock, int protocol, in unix_create()
1042 static int unix_release(struct socket *sock) in unix_release()
1308 static int unix_bind(struct socket *sock, struct sockaddr *uaddr, int addr_len) in unix_bind()
1353 static int unix_dgram_connect(struct socket *sock, struct sockaddr *addr, in unix_dgram_connect()
1471 static int unix_stream_connect(struct socket *sock, struct sockaddr *uaddr, in unix_stream_connect()
1677 static int unix_accept(struct socket *sock, struct socket *newsock, int flags, in unix_accept()
1723 static int unix_getname(struct socket *sock, struct sockaddr *uaddr, int peer) in unix_getname()
1818 static bool unix_passcred_enabled(const struct socket *sock, in unix_passcred_enabled()
1833 static void maybe_add_creds(struct sk_buff *skb, const struct socket *sock, in maybe_add_creds()
1875 static int unix_dgram_sendmsg(struct socket *sock, struct msghdr *msg, in unix_dgram_sendmsg()
2094 static int queue_oob(struct socket *sock, struct msghdr *msg, struct sock *other, in queue_oob()
2148 static int unix_stream_sendmsg(struct socket *sock, struct msghdr *msg, in unix_stream_sendmsg()
2280 static int unix_seqpacket_sendmsg(struct socket *sock, struct msghdr *msg, in unix_seqpacket_sendmsg()
2299 static int unix_seqpacket_recvmsg(struct socket *sock, struct msghdr *msg, in unix_seqpacket_recvmsg()
2324 struct socket *sock = sk->sk_socket; in __unix_dgram_recvmsg() local
2427 static int unix_dgram_recvmsg(struct socket *sock, struct msghdr *msg, size_t size, in unix_dgram_recvmsg()
2516 struct socket *sock = state->socket; in unix_stream_recv_urg() local
2653 struct socket *sock = state->socket; in unix_stream_read_generic() local
2887 static int unix_stream_recvmsg(struct socket *sock, struct msghdr *msg, in unix_stream_recvmsg()
2917 static ssize_t unix_stream_splice_read(struct socket *sock, loff_t *ppos, in unix_stream_splice_read()
2939 static int unix_shutdown(struct socket *sock, int mode) in unix_shutdown()
3054 static int unix_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) in unix_ioctl()
3096 static int unix_compat_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) in unix_compat_ioctl()
3102 static __poll_t unix_poll(struct file *file, struct socket *sock, poll_table *wait) in unix_poll()
3147 static __poll_t unix_dgram_poll(struct file *file, struct socket *sock, in unix_dgram_poll()