Lines Matching refs:fib6_node

58 					 struct fib6_node *fn);
59 static struct fib6_node *fib6_repair_tree(struct net *net,
61 struct fib6_node *fn);
109 struct fib6_node *fn; in fib6_update_sernum()
111 fn = rcu_dereference_protected(f6i->fib6_node, in fib6_update_sernum()
170 WARN_ON(f6i->fib6_node); in fib6_info_destroy_rcu()
182 static struct fib6_node *node_alloc(struct net *net) in node_alloc()
184 struct fib6_node *fn; in node_alloc()
193 static void node_free_immediate(struct net *net, struct fib6_node *fn) in node_free_immediate()
201 struct fib6_node *fn = container_of(head, struct fib6_node, rcu); in node_free_rcu()
206 static void node_free(struct net *net, struct fib6_node *fn) in node_free()
739 static struct fib6_node *fib6_add_1(struct net *net, in fib6_add_1()
741 struct fib6_node *root, in fib6_add_1()
747 struct fib6_node *fn, *in, *ln; in fib6_add_1()
748 struct fib6_node *pn = NULL; in fib6_add_1()
1025 static void fib6_purge_rt(struct fib6_info *rt, struct fib6_node *fn, in fib6_purge_rt()
1065 static int fib6_add_rt2node(struct fib6_node *fn, struct fib6_info *rt, in fib6_add_rt2node()
1247 rcu_assign_pointer(rt->fib6_node, fn); in fib6_add_rt2node()
1277 rcu_assign_pointer(rt->fib6_node, fn); in fib6_add_rt2node()
1287 iter->fib6_node = NULL; in fib6_add_rt2node()
1303 iter->fib6_node = NULL; in fib6_add_rt2node()
1341 struct fib6_node *fn = rcu_dereference_protected(rt->fib6_node, in __fib6_update_sernum_upto_root()
1373 int fib6_add(struct fib6_node *root, struct fib6_info *rt, in fib6_add()
1377 struct fib6_node *fn, *pn = NULL; in fib6_add()
1405 struct fib6_node *sn; in fib6_add()
1408 struct fib6_node *sfn; in fib6_add()
1547 static struct fib6_node *fib6_node_lookup_1(struct fib6_node *root, in fib6_node_lookup_1()
1550 struct fib6_node *fn; in fib6_node_lookup_1()
1563 struct fib6_node *next; in fib6_node_lookup_1()
1578 struct fib6_node *subtree = FIB6_SUBTREE(fn); in fib6_node_lookup_1()
1592 struct fib6_node *sfn; in fib6_node_lookup_1()
1616 struct fib6_node *fib6_node_lookup(struct fib6_node *root, in fib6_node_lookup()
1620 struct fib6_node *fn; in fib6_node_lookup()
1656 static struct fib6_node *fib6_locate_1(struct fib6_node *root, in fib6_locate_1()
1661 struct fib6_node *fn, *prev = NULL; in fib6_locate_1()
1706 struct fib6_node *fib6_locate(struct fib6_node *root, in fib6_locate()
1711 struct fib6_node *fn; in fib6_locate()
1721 struct fib6_node *subtree = FIB6_SUBTREE(fn); in fib6_locate()
1746 struct fib6_node *fn) in fib6_find_prefix()
1748 struct fib6_node *child_left, *child_right; in fib6_find_prefix()
1776 static struct fib6_node *fib6_repair_tree(struct net *net, in fib6_repair_tree()
1778 struct fib6_node *fn) in fib6_repair_tree()
1782 struct fib6_node *child; in fib6_repair_tree()
1793 struct fib6_node *fn_r = rcu_dereference_protected(fn->right, in fib6_repair_tree()
1795 struct fib6_node *fn_l = rcu_dereference_protected(fn->left, in fib6_repair_tree()
1797 struct fib6_node *pn = rcu_dereference_protected(fn->parent, in fib6_repair_tree()
1799 struct fib6_node *pn_r = rcu_dereference_protected(pn->right, in fib6_repair_tree()
1801 struct fib6_node *pn_l = rcu_dereference_protected(pn->left, in fib6_repair_tree()
1901 static void fib6_del_route(struct fib6_table *table, struct fib6_node *fn, in fib6_del_route()
1929 rt->fib6_node = NULL; in fib6_del_route()
2004 struct fib6_node *fn; in fib6_del()
2010 fn = rcu_dereference_protected(rt->fib6_node, in fib6_del()
2063 struct fib6_node *fn, *pn, *left, *right; in fib6_walk_continue()
2194 rcu_access_pointer(rt->fib6_node), in fib6_clean_node()
2222 static void fib6_clean_tree(struct net *net, struct fib6_node *root, in fib6_clean_tree()
2451 sizeof(struct fib6_node), 0, in fib6_init()