Lines Matching refs:rt0
867 struct fib6_info *rt0; in rt6_select() local
877 rt0 = rcu_dereference(fn->rr_ptr); in rt6_select()
878 if (!rt0) in rt6_select()
879 rt0 = leaf; in rt6_select()
886 key_plen = rt0->fib6_dst.plen; in rt6_select()
888 if (rt0->fib6_src.plen) in rt6_select()
889 key_plen = rt0->fib6_src.plen; in rt6_select()
894 find_rr_leaf(fn, leaf, rt0, oif, strict, &do_rr, res); in rt6_select()
896 struct fib6_info *next = rcu_dereference(rt0->fib6_next); in rt6_select()
899 if (!next || next->fib6_metric != rt0->fib6_metric) in rt6_select()
902 if (next != rt0) { in rt6_select()
2808 static void rt6_update_expires(struct rt6_info *rt0, int timeout) in rt6_update_expires() argument
2810 if (!(rt0->rt6i_flags & RTF_EXPIRES)) { in rt6_update_expires()
2814 from = rcu_dereference(rt0->from); in rt6_update_expires()
2816 rt0->dst.expires = from->expires; in rt6_update_expires()
2820 dst_set_expires(&rt0->dst, timeout); in rt6_update_expires()
2821 rt0->rt6i_flags |= RTF_EXPIRES; in rt6_update_expires()