Home
last modified time | relevance | path

Searched refs:odst (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/net/ipv4/
Droute.c1114 struct dst_entry *odst = NULL; in ipv4_sk_update_pmtu() local
1123 odst = sk_dst_get(sk); in ipv4_sk_update_pmtu()
1125 if (sock_owned_by_user(sk) || !odst) { in ipv4_sk_update_pmtu()
1132 rt = (struct rtable *)odst; in ipv4_sk_update_pmtu()
1133 if (odst->obsolete && !odst->ops->check(odst, 0)) { in ipv4_sk_update_pmtu()
1159 dst_release(odst); in ipv4_sk_update_pmtu()
/linux-6.1.9/net/xfrm/
Dxfrm_policy.c582 struct hlist_head *odst; in xfrm_bydst_resize() local
591 odst = rcu_dereference_protected(net->xfrm.policy_bydst[dir].table, in xfrm_bydst_resize()
595 xfrm_dst_hash_transfer(net, odst + i, ndst, nhashmask, dir); in xfrm_bydst_resize()
605 xfrm_hash_free(odst, (hmask + 1) * sizeof(struct hlist_head)); in xfrm_bydst_resize()
1229 struct hlist_head *odst; in xfrm_hash_rebuild() local
1304 odst = net->xfrm.policy_bydst[dir].table; in xfrm_hash_rebuild()
1306 hlist_for_each_entry_safe(policy, n, odst + i, bydst) in xfrm_hash_rebuild()
Dxfrm_state.c132 struct hlist_head *ndst, *nsrc, *nspi, *nseq, *odst, *osrc, *ospi, *oseq; in xfrm_hash_resize() local
164 odst = xfrm_state_deref_prot(net->xfrm.state_bydst, net); in xfrm_hash_resize()
166 xfrm_hash_transfer(odst + i, ndst, nsrc, nspi, nseq, nhashmask); in xfrm_hash_resize()
186 xfrm_hash_free(odst, osize); in xfrm_hash_resize()