Lines Matching refs:rth
110 struct rtable __rcu *rth; member
922 struct rtable *rth; in vrf_ip_out_redirect() local
926 rth = rcu_dereference(vrf->rth); in vrf_ip_out_redirect()
927 if (likely(rth)) { in vrf_ip_out_redirect()
928 dst = &rth->dst; in vrf_ip_out_redirect()
1038 struct rtable *rth = rtnl_dereference(vrf->rth); in vrf_rtable_release() local
1042 RCU_INIT_POINTER(vrf->rth, NULL); in vrf_rtable_release()
1048 if (rth) { in vrf_rtable_release()
1049 dst = &rth->dst; in vrf_rtable_release()
1060 struct rtable *rth; in vrf_rtable_create() local
1066 rth = rt_dst_alloc(dev, 0, RTN_UNICAST, 1, 1); in vrf_rtable_create()
1067 if (!rth) in vrf_rtable_create()
1070 rth->dst.output = vrf_output; in vrf_rtable_create()
1072 rcu_assign_pointer(vrf->rth, rth); in vrf_rtable_create()