Lines Matching defs:sock
464 static struct sock *dn_alloc_sock(struct net *net, struct socket *sock, gfp_t gfp, int kern) in dn_alloc_sock()
668 static int dn_create(struct net *net, struct socket *sock, int protocol, in dn_create()
701 dn_release(struct socket *sock) in dn_release()
717 static int dn_bind(struct socket *sock, struct sockaddr *uaddr, int addr_len) in dn_bind()
778 static int dn_auto_bind(struct socket *sock) in dn_auto_bind()
901 struct socket *sock = sk->sk_socket; in __dn_connect() local
967 static int dn_connect(struct socket *sock, struct sockaddr *uaddr, int addrlen, int flags) in dn_connect()
1065 static int dn_accept(struct socket *sock, struct socket *newsock, int flags, in dn_accept()
1175 static int dn_getname(struct socket *sock, struct sockaddr *uaddr,int peer) in dn_getname()
1202 static __poll_t dn_poll(struct file *file, struct socket *sock, poll_table *wait) in dn_poll()
1214 static int dn_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) in dn_ioctl()
1265 static int dn_listen(struct socket *sock, int backlog) in dn_listen()
1291 static int dn_shutdown(struct socket *sock, int how) in dn_shutdown()
1323 static int dn_setsockopt(struct socket *sock, int level, int optname, char __user *optval, unsigned… in dn_setsockopt()
1341 static int __dn_setsockopt(struct socket *sock, int level,int optname, char __user *optval, unsigne… in __dn_setsockopt()
1502 static int dn_getsockopt(struct socket *sock, int level, int optname, char __user *optval, int __us… in dn_getsockopt()
1528 static int __dn_getsockopt(struct socket *sock, int level,int optname, char __user *optval,int __us… in __dn_getsockopt()
1670 static int dn_recvmsg(struct socket *sock, struct msghdr *msg, size_t size, in dn_recvmsg()
1906 static int dn_sendmsg(struct socket *sock, struct msghdr *msg, size_t size) in dn_sendmsg()