Home
last modified time | relevance | path

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

/linux-6.6.21/include/net/netns/
Dxfrm.h45 struct hlist_head __rcu *state_byseq; member
/linux-6.6.21/net/xfrm/
Dxfrm_state.c191 oseq = xfrm_state_deref_prot(net->xfrm.state_byseq, net); in xfrm_hash_resize()
197 rcu_assign_pointer(net->xfrm.state_byseq, nseq); in xfrm_hash_resize()
1312 net->xfrm.state_byseq + h, in xfrm_state_find()
1444 XFRM_STATE_INSERT(byseq, &x->byseq, net->xfrm.state_byseq + h, in __xfrm_state_insert()
2135 hlist_for_each_entry_rcu(x, net->xfrm.state_byseq + h, byseq) { in __xfrm_find_acq_byseq()
2893 net->xfrm.state_byseq = xfrm_hash_alloc(sz); in xfrm_state_init()
2894 if (!net->xfrm.state_byseq) in xfrm_state_init()
2926 WARN_ON(!hlist_empty(net->xfrm.state_byseq)); in xfrm_state_fini()
2927 xfrm_hash_free(net->xfrm.state_byseq, sz); in xfrm_state_fini()