• Home
  • Raw
  • Download

Lines Matching refs:socket

650 static int unix_listen(struct socket *sock, int backlog)  in unix_listen()
679 static int unix_release(struct socket *);
680 static int unix_bind(struct socket *, struct sockaddr *, int);
681 static int unix_stream_connect(struct socket *, struct sockaddr *,
683 static int unix_socketpair(struct socket *, struct socket *);
684 static int unix_accept(struct socket *, struct socket *, int, bool);
685 static int unix_getname(struct socket *, struct sockaddr *, int);
686 static __poll_t unix_poll(struct file *, struct socket *, poll_table *);
687 static __poll_t unix_dgram_poll(struct file *, struct socket *,
689 static int unix_ioctl(struct socket *, unsigned int, unsigned long);
691 static int unix_compat_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg);
693 static int unix_shutdown(struct socket *, int);
694 static int unix_stream_sendmsg(struct socket *, struct msghdr *, size_t);
695 static int unix_stream_recvmsg(struct socket *, struct msghdr *, size_t, int);
696 static ssize_t unix_stream_sendpage(struct socket *, struct page *, int offset,
698 static ssize_t unix_stream_splice_read(struct socket *, loff_t *ppos,
701 static int unix_dgram_sendmsg(struct socket *, struct msghdr *, size_t);
702 static int unix_dgram_recvmsg(struct socket *, struct msghdr *, size_t, int);
707 static int unix_dgram_connect(struct socket *, struct sockaddr *,
709 static int unix_seqpacket_sendmsg(struct socket *, struct msghdr *, size_t);
710 static int unix_seqpacket_recvmsg(struct socket *, struct msghdr *, size_t,
727 static void unix_show_fdinfo(struct seq_file *m, struct socket *sock) in unix_show_fdinfo()
852 static struct sock *unix_create1(struct net *net, struct socket *sock, int kern, int type) in unix_create1()
904 static int unix_create(struct net *net, struct socket *sock, int protocol, in unix_create()
942 static int unix_release(struct socket *sock) in unix_release()
956 static int unix_autobind(struct socket *sock) in unix_autobind()
1151 static int unix_bind(struct socket *sock, struct sockaddr *uaddr, int addr_len) in unix_bind()
1212 static int unix_dgram_connect(struct socket *sock, struct sockaddr *addr, in unix_dgram_connect()
1319 static int unix_stream_connect(struct socket *sock, struct sockaddr *uaddr, in unix_stream_connect()
1511 static int unix_socketpair(struct socket *socka, struct socket *sockb) in unix_socketpair()
1530 static void unix_sock_inherit_flags(const struct socket *old, in unix_sock_inherit_flags()
1531 struct socket *new) in unix_sock_inherit_flags()
1539 static int unix_accept(struct socket *sock, struct socket *newsock, int flags, in unix_accept()
1584 static int unix_getname(struct socket *sock, struct sockaddr *uaddr, int peer) in unix_getname()
1679 static bool unix_passcred_enabled(const struct socket *sock, in unix_passcred_enabled()
1692 static void maybe_add_creds(struct sk_buff *skb, const struct socket *sock, in maybe_add_creds()
1704 struct socket *socket, in maybe_init_creds() argument
1710 err = scm_send(socket, &msg, scm, false); in maybe_init_creds()
1714 if (unix_passcred_enabled(socket, other)) { in maybe_init_creds()
1754 static int unix_dgram_sendmsg(struct socket *sock, struct msghdr *msg, in unix_dgram_sendmsg()
1971 static int queue_oob(struct socket *sock, struct msghdr *msg, struct sock *other, in queue_oob()
2023 static int unix_stream_sendmsg(struct socket *sock, struct msghdr *msg, in unix_stream_sendmsg()
2138 static ssize_t unix_stream_sendpage(struct socket *socket, struct page *page, in unix_stream_sendpage() argument
2145 struct sock *other, *sk = socket->sk; in unix_stream_sendpage()
2191 err = maybe_init_creds(&scm, socket, other); in unix_stream_sendpage()
2253 static int unix_seqpacket_sendmsg(struct socket *sock, struct msghdr *msg, in unix_seqpacket_sendmsg()
2272 static int unix_seqpacket_recvmsg(struct socket *sock, struct msghdr *msg, in unix_seqpacket_recvmsg()
2297 struct socket *sock = sk->sk_socket; in __unix_dgram_recvmsg()
2400 static int unix_dgram_recvmsg(struct socket *sock, struct msghdr *msg, size_t size, in unix_dgram_recvmsg()
2500 struct socket *socket; member
2511 struct socket *sock = state->socket; in unix_stream_recv_urg()
2592 struct socket *sock = state->socket; in unix_stream_read_generic()
2818 .socket = sk->sk_socket, in __unix_stream_recvmsg()
2827 static int unix_stream_recvmsg(struct socket *sock, struct msghdr *msg, in unix_stream_recvmsg()
2832 .socket = sock, in unix_stream_recvmsg()
2853 return skb_splice_bits(skb, state->socket->sk, in unix_stream_splice_actor()
2858 static ssize_t unix_stream_splice_read(struct socket *sock, loff_t *ppos, in unix_stream_splice_read()
2864 .socket = sock, in unix_stream_splice_read()
2880 static int unix_shutdown(struct socket *sock, int mode) in unix_shutdown()
2995 static int unix_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) in unix_ioctl()
3037 static int unix_compat_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) in unix_compat_ioctl()
3043 static __poll_t unix_poll(struct file *file, struct socket *sock, poll_table *wait) in unix_poll()
3086 static __poll_t unix_dgram_poll(struct file *file, struct socket *sock, in unix_dgram_poll()