Lines Matching refs:rt0
868 struct fib6_info *rt0; in rt6_select() local
878 rt0 = rcu_dereference(fn->rr_ptr); in rt6_select()
879 if (!rt0) in rt6_select()
880 rt0 = leaf; in rt6_select()
887 key_plen = rt0->fib6_dst.plen; in rt6_select()
889 if (rt0->fib6_src.plen) in rt6_select()
890 key_plen = rt0->fib6_src.plen; in rt6_select()
895 find_rr_leaf(fn, leaf, rt0, oif, strict, &do_rr, res); in rt6_select()
897 struct fib6_info *next = rcu_dereference(rt0->fib6_next); in rt6_select()
900 if (!next || next->fib6_metric != rt0->fib6_metric) in rt6_select()
903 if (next != rt0) { in rt6_select()
2809 static void rt6_update_expires(struct rt6_info *rt0, int timeout) in rt6_update_expires() argument
2811 if (!(rt0->rt6i_flags & RTF_EXPIRES)) { in rt6_update_expires()
2815 from = rcu_dereference(rt0->from); in rt6_update_expires()
2817 rt0->dst.expires = from->expires; in rt6_update_expires()
2821 dst_set_expires(&rt0->dst, timeout); in rt6_update_expires()
2822 rt0->rt6i_flags |= RTF_EXPIRES; in rt6_update_expires()