Lines Matching defs:sock
470 struct socket *sock = file->private_data; in netlink_mm_open() local
480 struct socket *sock = file->private_data; in netlink_mm_close() local
492 static int netlink_mmap(struct file *file, struct socket *sock, in netlink_mmap()
660 static unsigned int netlink_poll(struct file *file, struct socket *sock, in netlink_poll()
1160 static int __netlink_create(struct net *net, struct socket *sock, in __netlink_create()
1191 static int netlink_create(struct net *net, struct socket *sock, int protocol, in netlink_create()
1257 static int netlink_release(struct socket *sock) in netlink_release()
1333 static int netlink_autobind(struct socket *sock) in netlink_autobind()
1433 static inline int netlink_allowed(const struct socket *sock, unsigned int flag) in netlink_allowed()
1498 static int netlink_bind(struct socket *sock, struct sockaddr *addr, in netlink_bind()
1574 static int netlink_connect(struct socket *sock, struct sockaddr *addr, in netlink_connect()
1613 static int netlink_getname(struct socket *sock, struct sockaddr *addr, in netlink_getname()
1636 struct sock *sock; in netlink_getsockbyportid() local
1656 struct sock *sock; in netlink_getsockbyfilp() local
2173 static int netlink_setsockopt(struct socket *sock, int level, int optname, in netlink_setsockopt()
2263 static int netlink_getsockopt(struct socket *sock, int level, int optname, in netlink_getsockopt()
2323 static int netlink_sendmsg(struct socket *sock, struct msghdr *msg, size_t len) in netlink_sendmsg()
2415 static int netlink_recvmsg(struct socket *sock, struct msghdr *msg, size_t len, in netlink_recvmsg()
2517 struct socket *sock; in __netlink_kernel_create() local