Searched refs:state_byspi (Results 1 – 2 of 2) sorted by relevance
44 struct hlist_head __rcu *state_byspi; member
169 ospi = xfrm_state_deref_prot(net->xfrm.state_byspi, net); in xfrm_hash_resize()175 rcu_assign_pointer(net->xfrm.state_byspi, nspi); in xfrm_hash_resize()962 hlist_for_each_entry_rcu(x, net->xfrm.state_byspi + h, byspi) { in __xfrm_state_lookup()1174 hlist_add_head_rcu(&x->byspi, net->xfrm.state_byspi + h); in xfrm_state_find()1292 hlist_add_head_rcu(&x->byspi, net->xfrm.state_byspi + h); in __xfrm_state_insert()2088 hlist_add_head_rcu(&x->byspi, net->xfrm.state_byspi + h); in xfrm_alloc_spi()2732 net->xfrm.state_byspi = xfrm_hash_alloc(sz); in xfrm_state_init()2733 if (!net->xfrm.state_byspi) in xfrm_state_init()2748 xfrm_hash_free(net->xfrm.state_byspi, sz); in xfrm_state_init()2770 WARN_ON(!hlist_empty(net->xfrm.state_byspi)); in xfrm_state_fini()[all …]