Lines Matching refs:state_byspi
191 ospi = xfrm_state_deref_prot(net->xfrm.state_byspi, net); in xfrm_hash_resize()
197 rcu_assign_pointer(net->xfrm.state_byspi, nspi); in xfrm_hash_resize()
1045 hlist_for_each_entry_rcu(x, net->xfrm.state_byspi + h, byspi) { in __xfrm_state_lookup_all()
1087 hlist_for_each_entry_rcu(x, net->xfrm.state_byspi + h, byspi) { in __xfrm_state_lookup()
1365 net->xfrm.state_byspi + h, in xfrm_state_find()
1496 XFRM_STATE_INSERT(byspi, &x->byspi, net->xfrm.state_byspi + h, in __xfrm_state_insert()
2328 XFRM_STATE_INSERT(byspi, &x->byspi, net->xfrm.state_byspi + h, in xfrm_alloc_spi()
2985 net->xfrm.state_byspi = xfrm_hash_alloc(sz); in xfrm_state_init()
2986 if (!net->xfrm.state_byspi) in xfrm_state_init()
3001 xfrm_hash_free(net->xfrm.state_byspi, sz); in xfrm_state_init()
3023 WARN_ON(!hlist_empty(net->xfrm.state_byspi)); in xfrm_state_fini()
3024 xfrm_hash_free(net->xfrm.state_byspi, sz); in xfrm_state_fini()