Lines Matching refs:genl_sock
285 if (!init_net.genl_sock) in genl_validate_assign_mc_groups()
294 err = __netlink_change_ngroups(net->genl_sock, in genl_validate_assign_mc_groups()
309 err = netlink_change_ngroups(init_net.genl_sock, in genl_validate_assign_mc_groups()
331 net->genl_sock, family->mcgrp_offset + i); in genl_unregister_mc_groups()
678 err = __netlink_dump_start(net->genl_sock, skb, nlh, &c); in genl_family_rcv_msg_dumpit()
689 err = __netlink_dump_start(net->genl_sock, skb, nlh, &c); in genl_family_rcv_msg_dumpit()
1071 if (!init_net.genl_sock) in genl_ctrl_event()
1395 net->genl_sock = netlink_kernel_create(net, NETLINK_GENERIC, &cfg); in genl_pernet_init()
1397 if (!net->genl_sock && net_eq(net, &init_net)) in genl_pernet_init()
1400 if (!net->genl_sock) in genl_pernet_init()
1408 netlink_kernel_release(net->genl_sock); in genl_pernet_exit()
1409 net->genl_sock = NULL; in genl_pernet_exit()
1452 err = nlmsg_multicast(prev->genl_sock, tmp, in genlmsg_mcast()
1463 err = nlmsg_multicast(prev->genl_sock, skb, portid, group, flags); in genlmsg_mcast()
1490 struct sock *sk = net->genl_sock; in genl_notify()