Lines Matching refs:fib6_info

45 	int (*func)(struct fib6_info *, void *arg);
57 static struct fib6_info *fib6_find_prefix(struct net *net,
107 void fib6_update_sernum(struct net *net, struct fib6_info *f6i) in fib6_update_sernum()
147 struct fib6_info *fib6_info_alloc(gfp_t gfp_flags, bool with_fib6_nh) in fib6_info_alloc()
149 struct fib6_info *f6i; in fib6_info_alloc()
170 struct fib6_info *f6i = container_of(head, struct fib6_info, rcu); in fib6_info_destroy_rcu()
360 struct fib6_info *rt, in call_fib6_entry_notifier()
373 struct fib6_info *rt, in call_fib6_multipath_entry_notifier()
388 struct fib6_info *rt, in call_fib6_entry_notifiers()
402 struct fib6_info *rt, in call_fib6_multipath_entry_notifiers()
416 int call_fib6_entry_notifiers_replace(struct net *net, struct fib6_info *rt) in call_fib6_entry_notifiers_replace()
433 static int fib6_rt_dump(struct fib6_info *rt, struct fib6_dump_arg *arg) in fib6_rt_dump()
514 struct fib6_info *rt; in fib6_dump_node()
538 struct fib6_info, in fib6_dump_node()
714 void fib6_metric_set(struct fib6_info *f6i, int metric, u32 val) in fib6_metric_set()
759 struct fib6_info *leaf = rcu_dereference_protected(fn->leaf, in fib6_add_1()
954 const struct fib6_info *match, in __fib6_drop_pcpu_from()
981 struct fib6_info *from; in __fib6_drop_pcpu_from()
991 struct fib6_info *from;
1003 static void fib6_drop_pcpu_from(struct fib6_info *f6i, in fib6_drop_pcpu_from()
1028 static void fib6_purge_rt(struct fib6_info *rt, struct fib6_node *fn, in fib6_purge_rt()
1048 struct fib6_info *leaf = rcu_dereference_protected(fn->leaf, in fib6_purge_rt()
1050 struct fib6_info *new_leaf; in fib6_purge_rt()
1071 static int fib6_add_rt2node(struct fib6_node *fn, struct fib6_info *rt, in fib6_add_rt2node()
1075 struct fib6_info *leaf = rcu_dereference_protected(fn->leaf, in fib6_add_rt2node()
1077 struct fib6_info *iter = NULL; in fib6_add_rt2node()
1078 struct fib6_info __rcu **ins; in fib6_add_rt2node()
1079 struct fib6_info __rcu **fallback_ins = NULL; in fib6_add_rt2node()
1178 struct fib6_info *sibling, *temp_sibling; in fib6_add_rt2node()
1235 struct fib6_info *sibling, *next_sibling; in fib6_add_rt2node()
1332 static void fib6_start_gc(struct net *net, struct fib6_info *rt) in fib6_start_gc()
1347 static void __fib6_update_sernum_upto_root(struct fib6_info *rt, in __fib6_update_sernum_upto_root()
1362 void fib6_update_sernum_upto_root(struct net *net, struct fib6_info *rt) in fib6_update_sernum_upto_root()
1368 void fib6_update_sernum_stub(struct net *net, struct fib6_info *f6i) in fib6_update_sernum_stub()
1382 int fib6_add(struct fib6_node *root, struct fib6_info *rt, in fib6_add()
1405 offsetof(struct fib6_info, fib6_dst), allow_create, in fib6_add()
1446 offsetof(struct fib6_info, fib6_src), in fib6_add()
1465 offsetof(struct fib6_info, fib6_src), in fib6_add()
1508 struct fib6_info *pn_leaf = in fib6_add()
1593 struct fib6_info *leaf = rcu_dereference(fn->leaf); in fib6_node_lookup_1()
1635 .offset = offsetof(struct fib6_info, fib6_dst), in fib6_node_lookup()
1640 .offset = offsetof(struct fib6_info, fib6_src), in fib6_node_lookup()
1676 struct fib6_info *leaf = rcu_dereference(fn->leaf); in fib6_locate_1()
1726 offsetof(struct fib6_info, fib6_dst), in fib6_locate()
1737 offsetof(struct fib6_info, fib6_src), in fib6_locate()
1756 static struct fib6_info *fib6_find_prefix(struct net *net, in fib6_find_prefix()
1815 struct fib6_info *fn_leaf = rcu_dereference_protected(fn->leaf, in fib6_repair_tree()
1817 struct fib6_info *pn_leaf = rcu_dereference_protected(pn->leaf, in fib6_repair_tree()
1819 struct fib6_info *new_fn_leaf; in fib6_repair_tree()
1917 struct fib6_info __rcu **rtp, struct nl_info *info) in fib6_del_route()
1919 struct fib6_info *leaf, *replace_rt = NULL; in fib6_del_route()
1921 struct fib6_info *rt = rcu_dereference_protected(*rtp, in fib6_del_route()
1952 struct fib6_info *sibling, *next_sibling; in fib6_del_route()
2011 int fib6_del(struct fib6_info *rt, struct nl_info *info) in fib6_del()
2014 struct fib6_info __rcu **rtp; in fib6_del()
2015 struct fib6_info __rcu **rtp_next; in fib6_del()
2035 struct fib6_info *cur = rcu_dereference_protected(*rtp, in fib6_del()
2181 struct fib6_info *rt; in fib6_clean_node()
2217 struct fib6_info, fib6_siblings); in fib6_clean_node()
2236 int (*func)(struct fib6_info *, void *arg), in fib6_clean_tree() argument
2256 int (*func)(struct fib6_info *, void *), in __fib6_clean_all() argument
2276 void fib6_clean_all(struct net *net, int (*func)(struct fib6_info *, void *), in fib6_clean_all() argument
2283 int (*func)(struct fib6_info *, void *), in fib6_clean_all_skip_notify() argument
2300 static int fib6_age(struct fib6_info *rt, struct fib6_gc_args *gc_args) in fib6_age()
2330 struct fib6_info *rt; in fib6_gc_table()
2539 struct fib6_info *rt = v; in ipv6_route_native_seq_show()
2640 struct fib6_info *n; in ipv6_route_seq_next()
2648 n = rcu_dereference(((struct fib6_info *)v)->fib6_next); in ipv6_route_seq_next()