Lines Matching refs:state_bysrc
167 osrc = xfrm_state_deref_prot(net->xfrm.state_bysrc, net); in xfrm_hash_resize()
173 rcu_assign_pointer(net->xfrm.state_bysrc, nsrc); in xfrm_hash_resize()
986 hlist_for_each_entry_rcu(x, net->xfrm.state_bysrc + h, bysrc) { in __xfrm_state_lookup_byaddr()
1170 hlist_add_head_rcu(&x->bysrc, net->xfrm.state_bysrc + h); in xfrm_state_find()
1285 hlist_add_head_rcu(&x->bysrc, net->xfrm.state_bysrc + h); in __xfrm_state_insert()
1413 hlist_add_head_rcu(&x->bysrc, net->xfrm.state_bysrc + h); in __find_acq_core()
1632 hlist_for_each_entry(x, net->xfrm.state_bysrc+h, bysrc) { in xfrm_migrate_state_find()
2699 net->xfrm.state_bysrc = xfrm_hash_alloc(sz); in xfrm_state_init()
2700 if (!net->xfrm.state_bysrc) in xfrm_state_init()
2720 xfrm_hash_free(net->xfrm.state_bysrc, sz); in xfrm_state_init()
2742 WARN_ON(!hlist_empty(net->xfrm.state_bysrc)); in xfrm_state_fini()
2743 xfrm_hash_free(net->xfrm.state_bysrc, sz); in xfrm_state_fini()