Lines Matching defs:sock

473 	struct socket *sock = file->private_data;  in netlink_mm_open()  local
483 struct socket *sock = file->private_data; in netlink_mm_close() local
495 static int netlink_mmap(struct file *file, struct socket *sock, in netlink_mmap()
668 static unsigned int netlink_poll(struct file *file, struct socket *sock, in netlink_poll()
1174 static int __netlink_create(struct net *net, struct socket *sock, in __netlink_create()
1206 static int netlink_create(struct net *net, struct socket *sock, int protocol, in netlink_create()
1272 static int netlink_release(struct socket *sock) in netlink_release()
1348 static int netlink_autobind(struct socket *sock) in netlink_autobind()
1452 static inline int netlink_allowed(const struct socket *sock, unsigned int flag) in netlink_allowed()
1517 static int netlink_bind(struct socket *sock, struct sockaddr *addr, in netlink_bind()
1593 static int netlink_connect(struct socket *sock, struct sockaddr *addr, in netlink_connect()
1632 static int netlink_getname(struct socket *sock, struct sockaddr *addr, in netlink_getname()
1655 struct sock *sock; in netlink_getsockbyportid() local
1675 struct sock *sock; in netlink_getsockbyfilp() local
2217 static int netlink_setsockopt(struct socket *sock, int level, int optname, in netlink_setsockopt()
2324 static int netlink_getsockopt(struct socket *sock, int level, int optname, in netlink_getsockopt()
2426 static int netlink_sendmsg(struct socket *sock, struct msghdr *msg, size_t len) in netlink_sendmsg()
2518 static int netlink_recvmsg(struct socket *sock, struct msghdr *msg, size_t len, in netlink_recvmsg()
2622 struct socket *sock; in __netlink_kernel_create() local