Lines Matching defs:sock
590 static int unix_listen(struct socket *sock, int backlog) in unix_listen()
737 static struct sock *unix_create1(struct net *net, struct socket *sock) in unix_create1()
778 static int unix_create(struct net *net, struct socket *sock, int protocol, in unix_create()
809 static int unix_release(struct socket *sock) in unix_release()
822 static int unix_autobind(struct socket *sock) in unix_autobind()
967 static int unix_bind(struct socket *sock, struct sockaddr *uaddr, int addr_len) in unix_bind()
1077 static int unix_dgram_connect(struct socket *sock, struct sockaddr *addr, in unix_dgram_connect()
1174 static int unix_stream_connect(struct socket *sock, struct sockaddr *uaddr, in unix_stream_connect()
1379 static int unix_accept(struct socket *sock, struct socket *newsock, int flags) in unix_accept()
1423 static int unix_getname(struct socket *sock, struct sockaddr *uaddr, int *uaddr_len, int peer) in unix_getname()
1556 static void maybe_add_creds(struct sk_buff *skb, const struct socket *sock, in maybe_add_creds()
1573 static int unix_dgram_sendmsg(struct socket *sock, struct msghdr *msg, in unix_dgram_sendmsg()
1784 static int unix_stream_sendmsg(struct socket *sock, struct msghdr *msg, in unix_stream_sendmsg()
1887 static int unix_seqpacket_sendmsg(struct socket *sock, struct msghdr *msg, in unix_seqpacket_sendmsg()
1906 static int unix_seqpacket_recvmsg(struct socket *sock, struct msghdr *msg, in unix_seqpacket_recvmsg()
1927 static int unix_dgram_recvmsg(struct socket *sock, struct msghdr *msg, in unix_dgram_recvmsg()
2064 static int unix_stream_recvmsg(struct socket *sock, struct msghdr *msg, in unix_stream_recvmsg()
2233 static int unix_shutdown(struct socket *sock, int mode) in unix_shutdown()
2309 static int unix_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) in unix_ioctl()
2334 static unsigned int unix_poll(struct file *file, struct socket *sock, poll_table *wait) in unix_poll()
2369 static unsigned int unix_dgram_poll(struct file *file, struct socket *sock, in unix_dgram_poll()