Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/net/ipv4/
Droute.c1129 struct dst_entry *odst = NULL; in ipv4_sk_update_pmtu() local
1138 odst = sk_dst_get(sk); in ipv4_sk_update_pmtu()
1140 if (sock_owned_by_user(sk) || !odst) { in ipv4_sk_update_pmtu()
1147 rt = (struct rtable *)odst; in ipv4_sk_update_pmtu()
1148 if (odst->obsolete && !odst->ops->check(odst, 0)) { in ipv4_sk_update_pmtu()
1174 dst_release(odst); in ipv4_sk_update_pmtu()
/kernel/linux/linux-5.10/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.c120 struct hlist_head *ndst, *nsrc, *nspi, *odst, *osrc, *ospi; in xfrm_hash_resize() local
145 odst = xfrm_state_deref_prot(net->xfrm.state_bydst, net); in xfrm_hash_resize()
147 xfrm_hash_transfer(odst + i, ndst, nsrc, nspi, nhashmask); in xfrm_hash_resize()
165 xfrm_hash_free(odst, osize); in xfrm_hash_resize()