Lines Matching refs:rt0
879 struct fib6_info *rt0; in rt6_select() local
889 rt0 = rcu_dereference(fn->rr_ptr); in rt6_select()
890 if (!rt0) in rt6_select()
891 rt0 = leaf; in rt6_select()
898 key_plen = rt0->fib6_dst.plen; in rt6_select()
900 if (rt0->fib6_src.plen) in rt6_select()
901 key_plen = rt0->fib6_src.plen; in rt6_select()
906 find_rr_leaf(fn, leaf, rt0, oif, strict, &do_rr, res); in rt6_select()
908 struct fib6_info *next = rcu_dereference(rt0->fib6_next); in rt6_select()
911 if (!next || next->fib6_metric != rt0->fib6_metric) in rt6_select()
914 if (next != rt0) { in rt6_select()
2691 static void rt6_update_expires(struct rt6_info *rt0, int timeout) in rt6_update_expires() argument
2693 if (!(rt0->rt6i_flags & RTF_EXPIRES)) { in rt6_update_expires()
2697 from = rcu_dereference(rt0->from); in rt6_update_expires()
2699 rt0->dst.expires = from->expires; in rt6_update_expires()
2703 dst_set_expires(&rt0->dst, timeout); in rt6_update_expires()
2704 rt0->rt6i_flags |= RTF_EXPIRES; in rt6_update_expires()