Home
last modified time | relevance | path

Searched refs:state_byseq (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/include/net/netns/
Dxfrm.h45 struct hlist_head __rcu *state_byseq; member
/linux-6.1.9/net/xfrm/
Dxfrm_state.c170 oseq = xfrm_state_deref_prot(net->xfrm.state_byseq, net); in xfrm_hash_resize()
176 rcu_assign_pointer(net->xfrm.state_byseq, nseq); in xfrm_hash_resize()
1178 hlist_add_head_rcu(&x->byseq, net->xfrm.state_byseq + h); in xfrm_state_find()
1298 hlist_add_head_rcu(&x->byseq, net->xfrm.state_byseq + h); in __xfrm_state_insert()
1984 hlist_for_each_entry_rcu(x, net->xfrm.state_byseq + h, byseq) { in __xfrm_find_acq_byseq()
2735 net->xfrm.state_byseq = xfrm_hash_alloc(sz); in xfrm_state_init()
2736 if (!net->xfrm.state_byseq) in xfrm_state_init()
2768 WARN_ON(!hlist_empty(net->xfrm.state_byseq)); in xfrm_state_fini()
2769 xfrm_hash_free(net->xfrm.state_byseq, sz); in xfrm_state_fini()