Home
last modified time | relevance | path

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

/net/ipv4/
Droute.c1100 struct dst_entry *odst = NULL; in ipv4_sk_update_pmtu() local
1109 odst = sk_dst_get(sk); in ipv4_sk_update_pmtu()
1111 if (sock_owned_by_user(sk) || !odst) { in ipv4_sk_update_pmtu()
1118 rt = (struct rtable *)odst; in ipv4_sk_update_pmtu()
1119 if (odst->obsolete && !odst->ops->check(odst, 0)) { in ipv4_sk_update_pmtu()
1145 dst_release(odst); in ipv4_sk_update_pmtu()
/net/xfrm/
Dxfrm_policy.c456 struct hlist_head *odst; in xfrm_bydst_resize() local
465 odst = rcu_dereference_protected(net->xfrm.policy_bydst[dir].table, in xfrm_bydst_resize()
468 odst = rcu_dereference_protected(net->xfrm.policy_bydst[dir].table, in xfrm_bydst_resize()
472 xfrm_dst_hash_transfer(net, odst + i, ndst, nhashmask, dir); in xfrm_bydst_resize()
482 xfrm_hash_free(odst, (hmask + 1) * sizeof(struct hlist_head)); in xfrm_bydst_resize()
576 struct hlist_head *odst; in xfrm_hash_rebuild() local
601 odst = net->xfrm.policy_bydst[dir].table; in xfrm_hash_rebuild()
603 INIT_HLIST_HEAD(odst + i); in xfrm_hash_rebuild()
Dxfrm_state.c117 struct hlist_head *ndst, *nsrc, *nspi, *odst, *osrc, *ospi; in xfrm_hash_resize() local
142 odst = xfrm_state_deref_prot(net->xfrm.state_bydst, net); in xfrm_hash_resize()
144 xfrm_hash_transfer(odst + i, ndst, nsrc, nspi, nhashmask); in xfrm_hash_resize()
162 xfrm_hash_free(odst, osize); in xfrm_hash_resize()