Lines Matching defs:leaf
840 static void find_rr_leaf(struct fib6_node *fn, struct fib6_info *leaf,
851 __find_rr_leaf(leaf, rr_head, metric, res, &cont,
864 struct fib6_info *leaf = rcu_dereference(fn->leaf);
872 if (!leaf || leaf == net->ipv6.fib6_null_entry)
877 rt0 = leaf;
880 * and fn->leaf does not points to its child's leaf
892 find_rr_leaf(fn, leaf, rt0, oif, strict, &do_rr, res);
898 next = leaf;
901 spin_lock_bh(&leaf->fib6_table->tb6_lock);
905 spin_unlock_bh(&leaf->fib6_table->tb6_lock);
1216 res.f6i = rcu_dereference(fn->leaf);
3832 * leaf, then we do not need to send a notification. Otherwise,
3839 if (rcu_access_pointer(fn->leaf) == rt) {
4577 iter = rcu_dereference_protected(fn->leaf,
5103 struct fib6_info *leaf;
5111 leaf = rcu_dereference(fn->leaf);
5112 if (!leaf)
5115 if (rt == leaf ||
5116 (rt_can_ecmp && rt->fib6_metric == leaf->fib6_metric &&
5117 rt6_qualify_for_ecmp(leaf)))