• Home
  • Raw
  • Download

Lines Matching refs:net

108 	struct net *net;  member
207 struct net *net; member
291 static struct sock *audit_get_sk(const struct net *net) in audit_get_sk() argument
295 if (!net) in audit_get_sk()
298 aunet = net_generic(net, audit_net_id); in audit_get_sk()
482 put_net(ac->net); in auditd_conn_free()
498 static int auditd_set(struct pid *pid, u32 portid, struct net *net, in auditd_set() argument
505 if (!pid || !net) in auditd_set()
513 ac_new->net = get_net(net); in auditd_set()
692 struct net *net; in auditd_send_unicast_skb() local
711 net = get_net(ac->net); in auditd_send_unicast_skb()
712 sk = audit_get_sk(net); in auditd_send_unicast_skb()
717 put_net(net); in auditd_send_unicast_skb()
846 struct net *net = NULL; in kauditd_thread() local
861 net = get_net(ac->net); in kauditd_thread()
862 sk = audit_get_sk(net); in kauditd_thread()
900 if (net) { in kauditd_thread()
901 put_net(net); in kauditd_thread()
902 net = NULL; in kauditd_thread()
923 struct sock *sk = audit_get_sk(dest->net); in audit_send_list_thread()
932 put_net(dest->net); in audit_send_list_thread()
969 if (reply->net) in audit_free_reply()
970 put_net(reply->net); in audit_free_reply()
983 netlink_unicast(audit_get_sk(reply->net), reply->skb, reply->portid, 0); in audit_send_reply_thread()
1014 reply->net = get_net(sock_net(NETLINK_CB(request_skb).sk)); in audit_send_reply()
1631 static int audit_multicast_bind(struct net *net, int group) in audit_multicast_bind() argument
1641 static void audit_multicast_unbind(struct net *net, int group) in audit_multicast_unbind() argument
1646 static int __net_init audit_net_init(struct net *net) in audit_net_init() argument
1656 struct audit_net *aunet = net_generic(net, audit_net_id); in audit_net_init()
1658 aunet->sk = netlink_kernel_create(net, NETLINK_AUDIT, &cfg); in audit_net_init()
1669 static void __net_exit audit_net_exit(struct net *net) in audit_net_exit() argument
1671 struct audit_net *aunet = net_generic(net, audit_net_id); in audit_net_exit()