Lines Matching defs:sock
463 static struct sock *sco_sock_alloc(struct net *net, struct socket *sock, int proto, gfp_t prio) in sco_sock_alloc()
490 static int sco_sock_create(struct net *net, struct socket *sock, int protocol, in sco_sock_create()
512 static int sco_sock_bind(struct socket *sock, struct sockaddr *addr, int addr_len) in sco_sock_bind()
547 static int sco_sock_connect(struct socket *sock, struct sockaddr *addr, int alen, int flags) in sco_sock_connect()
582 static int sco_sock_listen(struct socket *sock, int backlog) in sco_sock_listen()
622 static int sco_sock_accept(struct socket *sock, struct socket *newsock, int flags) in sco_sock_accept()
678 static int sco_sock_getname(struct socket *sock, struct sockaddr *addr, int *len, int peer) in sco_sock_getname()
696 static int sco_sock_sendmsg(struct kiocb *iocb, struct socket *sock, in sco_sock_sendmsg()
766 static int sco_sock_recvmsg(struct kiocb *iocb, struct socket *sock, in sco_sock_recvmsg()
788 static int sco_sock_setsockopt(struct socket *sock, int level, int optname, char __user *optval, un… in sco_sock_setsockopt()
852 static int sco_sock_getsockopt_old(struct socket *sock, int optname, char __user *optval, int __use… in sco_sock_getsockopt_old()
912 static int sco_sock_getsockopt(struct socket *sock, int level, int optname, char __user *optval, in… in sco_sock_getsockopt()
960 static int sco_sock_shutdown(struct socket *sock, int how) in sco_sock_shutdown()
985 static int sco_sock_release(struct socket *sock) in sco_sock_release()