Home
last modified time | relevance | path

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

/Linux-v4.19/net/ipv4/
Droute.c1086 struct dst_entry *odst = NULL; in ipv4_sk_update_pmtu() local
1095 odst = sk_dst_get(sk); in ipv4_sk_update_pmtu()
1097 if (sock_owned_by_user(sk) || !odst) { in ipv4_sk_update_pmtu()
1104 rt = (struct rtable *)odst; in ipv4_sk_update_pmtu()
1105 if (odst->obsolete && !odst->ops->check(odst, 0)) { in ipv4_sk_update_pmtu()
1131 dst_release(odst); in ipv4_sk_update_pmtu()
/Linux-v4.19/net/xfrm/
Dxfrm_policy.c454 struct hlist_head *odst; in xfrm_bydst_resize() local
463 odst = rcu_dereference_protected(net->xfrm.policy_bydst[dir].table, in xfrm_bydst_resize()
466 odst = rcu_dereference_protected(net->xfrm.policy_bydst[dir].table, in xfrm_bydst_resize()
470 xfrm_dst_hash_transfer(net, odst + i, ndst, nhashmask, dir); in xfrm_bydst_resize()
480 xfrm_hash_free(odst, (hmask + 1) * sizeof(struct hlist_head)); in xfrm_bydst_resize()
574 struct hlist_head *odst; in xfrm_hash_rebuild() local
599 odst = net->xfrm.policy_bydst[dir].table; in xfrm_hash_rebuild()
601 INIT_HLIST_HEAD(odst + i); in xfrm_hash_rebuild()
Dxfrm_state.c118 struct hlist_head *ndst, *nsrc, *nspi, *odst, *osrc, *ospi; in xfrm_hash_resize() local
143 odst = xfrm_state_deref_prot(net->xfrm.state_bydst, net); in xfrm_hash_resize()
145 xfrm_hash_transfer(odst + i, ndst, nsrc, nspi, nhashmask); in xfrm_hash_resize()
163 xfrm_hash_free(odst, osize); in xfrm_hash_resize()