Lines Matching refs:rt0
862 struct fib6_info *rt0; in rt6_select() local
872 rt0 = rcu_dereference(fn->rr_ptr); in rt6_select()
873 if (!rt0) in rt6_select()
874 rt0 = leaf; in rt6_select()
881 key_plen = rt0->fib6_dst.plen; in rt6_select()
883 if (rt0->fib6_src.plen) in rt6_select()
884 key_plen = rt0->fib6_src.plen; in rt6_select()
889 find_rr_leaf(fn, leaf, rt0, oif, strict, &do_rr, res); in rt6_select()
891 struct fib6_info *next = rcu_dereference(rt0->fib6_next); in rt6_select()
894 if (!next || next->fib6_metric != rt0->fib6_metric) in rt6_select()
897 if (next != rt0) { in rt6_select()
2684 static void rt6_update_expires(struct rt6_info *rt0, int timeout) in rt6_update_expires() argument
2686 if (!(rt0->rt6i_flags & RTF_EXPIRES)) { in rt6_update_expires()
2690 from = rcu_dereference(rt0->from); in rt6_update_expires()
2692 rt0->dst.expires = from->expires; in rt6_update_expires()
2696 dst_set_expires(&rt0->dst, timeout); in rt6_update_expires()
2697 rt0->rt6i_flags |= RTF_EXPIRES; in rt6_update_expires()