Lines Matching defs:leaf
843 static void find_rr_leaf(struct fib6_node *fn, struct fib6_info *leaf,
854 __find_rr_leaf(leaf, rr_head, metric, res, &cont,
867 struct fib6_info *leaf = rcu_dereference(fn->leaf);
875 if (!leaf || leaf == net->ipv6.fib6_null_entry)
880 rt0 = leaf;
883 * and fn->leaf does not points to its child's leaf
895 find_rr_leaf(fn, leaf, rt0, oif, strict, &do_rr, res);
901 next = leaf;
904 spin_lock_bh(&leaf->fib6_table->tb6_lock);
908 spin_unlock_bh(&leaf->fib6_table->tb6_lock);
1216 res.f6i = rcu_dereference(fn->leaf);
3916 * leaf, then we do not need to send a notification. Otherwise,
3923 if (rcu_access_pointer(fn->leaf) == rt) {
4664 iter = rcu_dereference_protected(fn->leaf,
5196 struct fib6_info *leaf;
5204 leaf = rcu_dereference(fn->leaf);
5205 if (!leaf)
5208 if (rt == leaf ||
5209 (rt_can_ecmp && rt->fib6_metric == leaf->fib6_metric &&
5210 rt6_qualify_for_ecmp(leaf)))