Lines Matching refs:state_byspi
190 ospi = xfrm_state_deref_prot(net->xfrm.state_byspi, net); in xfrm_hash_resize()
196 rcu_assign_pointer(net->xfrm.state_byspi, nspi); in xfrm_hash_resize()
986 hlist_for_each_entry_rcu(x, net->xfrm.state_byspi + h, byspi) { in __xfrm_state_lookup_all()
1028 hlist_for_each_entry_rcu(x, net->xfrm.state_byspi + h, byspi) { in __xfrm_state_lookup()
1305 net->xfrm.state_byspi + h, in xfrm_state_find()
1440 XFRM_STATE_INSERT(byspi, &x->byspi, net->xfrm.state_byspi + h, in __xfrm_state_insert()
2251 XFRM_STATE_INSERT(byspi, &x->byspi, net->xfrm.state_byspi + h, in xfrm_alloc_spi()
2898 net->xfrm.state_byspi = xfrm_hash_alloc(sz); in xfrm_state_init()
2899 if (!net->xfrm.state_byspi) in xfrm_state_init()
2914 xfrm_hash_free(net->xfrm.state_byspi, sz); in xfrm_state_init()
2936 WARN_ON(!hlist_empty(net->xfrm.state_byspi)); in xfrm_state_fini()
2937 xfrm_hash_free(net->xfrm.state_byspi, sz); in xfrm_state_fini()