Lines Matching refs:fib6_node

59 					 struct fib6_node *fn);
60 static struct fib6_node *fib6_repair_tree(struct net *net,
62 struct fib6_node *fn);
109 struct fib6_node *fn;
111 fn = rcu_dereference_protected(f6i->fib6_node,
172 WARN_ON(f6i->fib6_node);
184 static struct fib6_node *node_alloc(struct net *net)
186 struct fib6_node *fn;
195 static void node_free_immediate(struct net *net, struct fib6_node *fn)
201 static void node_free(struct net *net, struct fib6_node *fn)
762 static struct fib6_node *fib6_add_1(struct net *net,
764 struct fib6_node *root,
770 struct fib6_node *fn, *in, *ln;
771 struct fib6_node *pn = NULL;
1039 static void fib6_purge_rt(struct fib6_info *rt, struct fib6_node *fn,
1088 static int fib6_add_rt2node(struct fib6_node *fn, struct fib6_info *rt,
1285 rcu_assign_pointer(rt->fib6_node, fn);
1315 rcu_assign_pointer(rt->fib6_node, fn);
1325 iter->fib6_node = NULL;
1340 iter->fib6_node = NULL;
1359 static int fib6_add_rt2node_nh(struct fib6_node *fn, struct fib6_info *rt,
1399 struct fib6_node *fn = rcu_dereference_protected(rt->fib6_node,
1431 int fib6_add(struct fib6_node *root, struct fib6_info *rt,
1436 struct fib6_node *fn;
1438 struct fib6_node *pn = NULL;
1467 struct fib6_node *sn;
1470 struct fib6_node *sfn;
1618 static struct fib6_node *fib6_node_lookup_1(struct fib6_node *root,
1621 struct fib6_node *fn;
1634 struct fib6_node *next;
1649 struct fib6_node *subtree = FIB6_SUBTREE(fn);
1663 struct fib6_node *sfn;
1687 struct fib6_node *fib6_node_lookup(struct fib6_node *root,
1691 struct fib6_node *fn;
1727 static struct fib6_node *fib6_locate_1(struct fib6_node *root,
1732 struct fib6_node *fn, *prev = NULL;
1777 struct fib6_node *fib6_locate(struct fib6_node *root,
1782 struct fib6_node *fn;
1792 struct fib6_node *subtree = FIB6_SUBTREE(fn);
1817 struct fib6_node *fn)
1819 struct fib6_node *child_left, *child_right;
1847 static struct fib6_node *fib6_repair_tree(struct net *net,
1849 struct fib6_node *fn)
1853 struct fib6_node *child;
1864 struct fib6_node *fn_r = rcu_dereference_protected(fn->right,
1866 struct fib6_node *fn_l = rcu_dereference_protected(fn->left,
1868 struct fib6_node *pn = rcu_dereference_protected(fn->parent,
1870 struct fib6_node *pn_r = rcu_dereference_protected(pn->right,
1872 struct fib6_node *pn_l = rcu_dereference_protected(pn->left,
1975 static void fib6_del_route(struct fib6_table *table, struct fib6_node *fn,
2001 rt->fib6_node = NULL;
2077 struct fib6_node *fn;
2083 fn = rcu_dereference_protected(rt->fib6_node,
2136 struct fib6_node *fn, *pn, *left, *right;
2267 rcu_access_pointer(rt->fib6_node),
2295 static void fib6_clean_tree(struct net *net, struct fib6_node *root,
2577 fib6_node_kmem = KMEM_CACHE(fib6_node,