Lines Matching refs:fib6_info

44 	int (*func)(struct fib6_info *, void *arg);
56 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()
168 struct fib6_info *f6i = container_of(head, struct fib6_info, rcu); in fib6_info_destroy_rcu()
364 struct fib6_info *rt, in call_fib6_entry_notifier()
377 struct fib6_info *rt, in call_fib6_multipath_entry_notifier()
392 struct fib6_info *rt, in call_fib6_entry_notifiers()
406 struct fib6_info *rt, in call_fib6_multipath_entry_notifiers()
420 int call_fib6_entry_notifiers_replace(struct net *net, struct fib6_info *rt) in call_fib6_entry_notifiers_replace()
437 static int fib6_rt_dump(struct fib6_info *rt, struct fib6_dump_arg *arg) in fib6_rt_dump()
518 struct fib6_info *rt; in fib6_dump_node()
542 struct fib6_info, in fib6_dump_node()
713 void fib6_metric_set(struct fib6_info *f6i, int metric, u32 val) in fib6_metric_set()
760 struct fib6_info *leaf = rcu_dereference_protected(fn->leaf, in fib6_add_1()
955 const struct fib6_info *match, in __fib6_drop_pcpu_from()
979 struct fib6_info *from; in __fib6_drop_pcpu_from()
981 from = xchg((__force struct fib6_info **)&pcpu_rt->from, NULL); in __fib6_drop_pcpu_from()
988 struct fib6_info *from;
1000 static void fib6_drop_pcpu_from(struct fib6_info *f6i, in fib6_drop_pcpu_from()
1025 static void fib6_purge_rt(struct fib6_info *rt, struct fib6_node *fn, in fib6_purge_rt()
1045 struct fib6_info *leaf = rcu_dereference_protected(fn->leaf, in fib6_purge_rt()
1047 struct fib6_info *new_leaf; in fib6_purge_rt()
1065 static int fib6_add_rt2node(struct fib6_node *fn, struct fib6_info *rt, in fib6_add_rt2node()
1069 struct fib6_info *leaf = rcu_dereference_protected(fn->leaf, in fib6_add_rt2node()
1071 struct fib6_info *iter = NULL; in fib6_add_rt2node()
1072 struct fib6_info __rcu **ins; in fib6_add_rt2node()
1073 struct fib6_info __rcu **fallback_ins = NULL; in fib6_add_rt2node()
1169 struct fib6_info *sibling, *temp_sibling; in fib6_add_rt2node()
1226 struct fib6_info *sibling, *next_sibling; in fib6_add_rt2node()
1323 static void fib6_start_gc(struct net *net, struct fib6_info *rt) in fib6_start_gc()
1338 static void __fib6_update_sernum_upto_root(struct fib6_info *rt, in __fib6_update_sernum_upto_root()
1353 void fib6_update_sernum_upto_root(struct net *net, struct fib6_info *rt) in fib6_update_sernum_upto_root()
1359 void fib6_update_sernum_stub(struct net *net, struct fib6_info *f6i) in fib6_update_sernum_stub()
1373 int fib6_add(struct fib6_node *root, struct fib6_info *rt, in fib6_add()
1393 offsetof(struct fib6_info, fib6_dst), allow_create, in fib6_add()
1434 offsetof(struct fib6_info, fib6_src), in fib6_add()
1453 offsetof(struct fib6_info, fib6_src), in fib6_add()
1492 struct fib6_info *pn_leaf = in fib6_add()
1581 struct fib6_info *leaf = rcu_dereference(fn->leaf); in fib6_node_lookup_1()
1623 .offset = offsetof(struct fib6_info, fib6_dst), in fib6_node_lookup()
1628 .offset = offsetof(struct fib6_info, fib6_src), in fib6_node_lookup()
1664 struct fib6_info *leaf = rcu_dereference(fn->leaf); in fib6_locate_1()
1714 offsetof(struct fib6_info, fib6_dst), in fib6_locate()
1725 offsetof(struct fib6_info, fib6_src), in fib6_locate()
1744 static struct fib6_info *fib6_find_prefix(struct net *net, in fib6_find_prefix()
1803 struct fib6_info *fn_leaf = rcu_dereference_protected(fn->leaf, in fib6_repair_tree()
1805 struct fib6_info *pn_leaf = rcu_dereference_protected(pn->leaf, in fib6_repair_tree()
1807 struct fib6_info *new_fn_leaf; in fib6_repair_tree()
1902 struct fib6_info __rcu **rtp, struct nl_info *info) in fib6_del_route()
1904 struct fib6_info *leaf, *replace_rt = NULL; in fib6_del_route()
1906 struct fib6_info *rt = rcu_dereference_protected(*rtp, in fib6_del_route()
1939 struct fib6_info *sibling, *next_sibling; in fib6_del_route()
1998 int fib6_del(struct fib6_info *rt, struct nl_info *info) in fib6_del()
2001 struct fib6_info __rcu **rtp; in fib6_del()
2002 struct fib6_info __rcu **rtp_next; in fib6_del()
2022 struct fib6_info *cur = rcu_dereference_protected(*rtp, in fib6_del()
2168 struct fib6_info *rt; in fib6_clean_node()
2204 struct fib6_info, fib6_siblings); in fib6_clean_node()
2223 int (*func)(struct fib6_info *, void *arg), in fib6_clean_tree() argument
2243 int (*func)(struct fib6_info *, void *), in __fib6_clean_all() argument
2263 void fib6_clean_all(struct net *net, int (*func)(struct fib6_info *, void *), in fib6_clean_all() argument
2270 int (*func)(struct fib6_info *, void *), in fib6_clean_all_skip_notify() argument
2287 static int fib6_age(struct fib6_info *rt, void *arg) in fib6_age()
2486 struct fib6_info *rt = v; in ipv6_route_native_seq_show()
2585 struct fib6_info *n; in ipv6_route_seq_next()
2593 n = rcu_dereference_bh(((struct fib6_info *)v)->fib6_next); in ipv6_route_seq_next()