Lines Matching refs:state_byspi
168 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()
2741 xfrm_hash_free(net->xfrm.state_byspi, sz); in xfrm_state_fini()