Lines Matching refs:rt0
864 struct fib6_info *rt0; in rt6_select() local
874 rt0 = rcu_dereference(fn->rr_ptr); in rt6_select()
875 if (!rt0) in rt6_select()
876 rt0 = leaf; in rt6_select()
883 key_plen = rt0->fib6_dst.plen; in rt6_select()
885 if (rt0->fib6_src.plen) in rt6_select()
886 key_plen = rt0->fib6_src.plen; in rt6_select()
891 find_rr_leaf(fn, leaf, rt0, oif, strict, &do_rr, res); in rt6_select()
893 struct fib6_info *next = rcu_dereference(rt0->fib6_next); in rt6_select()
896 if (!next || next->fib6_metric != rt0->fib6_metric) in rt6_select()
899 if (next != rt0) { in rt6_select()
2812 static void rt6_update_expires(struct rt6_info *rt0, int timeout) in rt6_update_expires() argument
2814 if (!(rt0->rt6i_flags & RTF_EXPIRES)) { in rt6_update_expires()
2818 from = rcu_dereference(rt0->from); in rt6_update_expires()
2820 rt0->dst.expires = from->expires; in rt6_update_expires()
2824 dst_set_expires(&rt0->dst, timeout); in rt6_update_expires()
2825 rt0->rt6i_flags |= RTF_EXPIRES; in rt6_update_expires()