Searched refs:net_pfkey (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/net/key/
H A Daf_key.c96 struct netns_pfkey *net_pfkey = net_generic(net, pfkey_net_id); pfkey_sock_destruct() local
109 atomic_dec(&net_pfkey->socks_nr); pfkey_sock_destruct()
117 struct netns_pfkey *net_pfkey = net_generic(net, pfkey_net_id); pfkey_insert() local
120 sk_add_node_rcu(sk, &net_pfkey->table); pfkey_insert()
140 struct netns_pfkey *net_pfkey = net_generic(net, pfkey_net_id); pfkey_create() local
162 atomic_inc(&net_pfkey->socks_nr); pfkey_create()
226 struct netns_pfkey *net_pfkey = net_generic(net, pfkey_net_id); pfkey_broadcast() local
238 sk_for_each_rcu(sk, &net_pfkey->table) { pfkey_broadcast()
3002 struct netns_pfkey *net_pfkey = net_generic(net, pfkey_net_id); pfkey_send_notify() local
3004 if (atomic_read(&net_pfkey->socks_nr) == 0) pfkey_send_notify()
3063 struct netns_pfkey *net_pfkey = net_generic(c->net, pfkey_net_id); pfkey_is_alive() local
3068 sk_for_each_rcu(sk, &net_pfkey->table) { pfkey_is_alive()
3727 struct netns_pfkey *net_pfkey = net_generic(net, pfkey_net_id); __acquires() local
3730 return seq_hlist_start_head_rcu(&net_pfkey->table, *ppos); __acquires()
3736 struct netns_pfkey *net_pfkey = net_generic(net, pfkey_net_id); pfkey_seq_next() local
3738 return seq_hlist_next_rcu(v, &net_pfkey->table, ppos); pfkey_seq_next()
3807 struct netns_pfkey *net_pfkey = net_generic(net, pfkey_net_id); pfkey_net_init() local
3810 INIT_HLIST_HEAD(&net_pfkey->table); pfkey_net_init()
3811 atomic_set(&net_pfkey->socks_nr, 0); pfkey_net_init()
3820 struct netns_pfkey *net_pfkey = net_generic(net, pfkey_net_id); pfkey_net_exit() local
3823 BUG_ON(!hlist_empty(&net_pfkey->table)); pfkey_net_exit()

Completed in 112 milliseconds