Home
last modified time | relevance | path

Searched refs:state_byspi (Results 1 – 2 of 2) sorted by relevance

/linux/include/net/netns/
A Dxfrm.h44 struct hlist_head __rcu *state_byspi; member
/linux/net/xfrm/
A Dxfrm_state.c168 ospi = xfrm_state_deref_prot(net->xfrm.state_byspi, net); in xfrm_hash_resize()
174 rcu_assign_pointer(net->xfrm.state_byspi, nspi); in xfrm_hash_resize()
961 hlist_for_each_entry_rcu(x, net->xfrm.state_byspi + h, byspi) { in __xfrm_state_lookup()
1173 hlist_add_head_rcu(&x->byspi, net->xfrm.state_byspi + h); in xfrm_state_find()
1291 hlist_add_head_rcu(&x->byspi, net->xfrm.state_byspi + h); in __xfrm_state_insert()
2076 hlist_add_head_rcu(&x->byspi, net->xfrm.state_byspi + h); in xfrm_alloc_spi()
2702 net->xfrm.state_byspi = xfrm_hash_alloc(sz); in xfrm_state_init()
2703 if (!net->xfrm.state_byspi) in xfrm_state_init()
2718 xfrm_hash_free(net->xfrm.state_byspi, sz); in xfrm_state_init()
2740 WARN_ON(!hlist_empty(net->xfrm.state_byspi)); in xfrm_state_fini()
[all …]

Completed in 8 milliseconds