Lines Matching refs:leaf
839 static void find_rr_leaf(struct fib6_node *fn, struct fib6_info *leaf, in find_rr_leaf() argument
850 __find_rr_leaf(leaf, rr_head, metric, res, &cont, in find_rr_leaf()
863 struct fib6_info *leaf = rcu_dereference(fn->leaf); in rt6_select() local
871 if (!leaf || leaf == net->ipv6.fib6_null_entry) in rt6_select()
876 rt0 = leaf; in rt6_select()
891 find_rr_leaf(fn, leaf, rt0, oif, strict, &do_rr, res); in rt6_select()
897 next = leaf; in rt6_select()
900 spin_lock_bh(&leaf->fib6_table->tb6_lock); in rt6_select()
904 spin_unlock_bh(&leaf->fib6_table->tb6_lock); in rt6_select()
1215 res.f6i = rcu_dereference(fn->leaf); in ip6_pol_route_lookup()
3948 if (rcu_access_pointer(fn->leaf) == rt) { in __ip6_del_rt_siblings()
4664 iter = rcu_dereference_protected(fn->leaf, in rt6_multipath_first_sibling()
5190 struct fib6_info *leaf; in ip6_route_mpath_should_notify() local
5198 leaf = rcu_dereference(fn->leaf); in ip6_route_mpath_should_notify()
5199 if (!leaf) in ip6_route_mpath_should_notify()
5202 if (rt == leaf || in ip6_route_mpath_should_notify()
5203 (rt_can_ecmp && rt->fib6_metric == leaf->fib6_metric && in ip6_route_mpath_should_notify()
5204 rt6_qualify_for_ecmp(leaf))) in ip6_route_mpath_should_notify()