• Home
  • Raw
  • Download

Lines Matching refs:leaf

244 		rcu_assign_pointer(table->tb6_root.leaf,  in fib6_alloc_table()
419 w->leaf = NULL; in fib6_node_dump()
470 w->leaf = rt; in fib6_dump_node()
491 w->leaf = NULL; in fib6_dump_node()
707 struct fib6_info *leaf = rcu_dereference_protected(fn->leaf, in fib6_add_1() local
709 key = (struct rt6key *)((u8 *)leaf + offset); in fib6_add_1()
735 RCU_INIT_POINTER(fn->leaf, NULL); in fib6_add_1()
736 fib6_info_release(leaf); in fib6_add_1()
739 rcu_access_pointer(fn->leaf) == in fib6_add_1()
741 RCU_INIT_POINTER(fn->leaf, NULL); in fib6_add_1()
847 in->leaf = fn->leaf; in fib6_add_1()
848 fib6_info_hold(rcu_dereference_protected(in->leaf, in fib6_add_1()
992 struct fib6_info *leaf = rcu_dereference_protected(fn->leaf, in fib6_purge_rt() local
995 if (!(fn->fn_flags & RTN_RTINFO) && leaf == rt) { in fib6_purge_rt()
999 rcu_assign_pointer(fn->leaf, new_leaf); in fib6_purge_rt()
1016 struct fib6_info *leaf = rcu_dereference_protected(fn->leaf, in fib6_add_rt2node() local
1033 ins = &fn->leaf; in fib6_add_rt2node()
1035 for (iter = leaf; iter; in fib6_add_rt2node()
1109 if (ins == &fn->leaf) in fib6_add_rt2node()
1118 sibling = leaf; in fib6_add_rt2node()
1359 rcu_assign_pointer(sfn->leaf, in fib6_add()
1395 if (!rcu_access_pointer(fn->leaf)) { in fib6_add()
1398 rcu_assign_pointer(fn->leaf, in fib6_add()
1402 rcu_assign_pointer(fn->leaf, rt); in fib6_add()
1426 rcu_dereference_protected(pn->leaf, in fib6_add()
1430 RCU_INIT_POINTER(pn->leaf, NULL); in fib6_add()
1440 rcu_assign_pointer(pn->leaf, pn_leaf); in fib6_add()
1459 !rcu_access_pointer(fn->leaf)))) in fib6_add()
1508 struct fib6_info *leaf = rcu_dereference(fn->leaf); in fib6_node_lookup_1() local
1511 if (!leaf) in fib6_node_lookup_1()
1514 key = (struct rt6key *) ((u8 *)leaf + args->offset); in fib6_node_lookup_1()
1591 struct fib6_info *leaf = rcu_dereference(fn->leaf); in fib6_locate_1() local
1595 if (!leaf) { in fib6_locate_1()
1602 key = (struct rt6key *)((u8 *)leaf + offset); in fib6_locate_1()
1686 return rcu_dereference_protected(child_left->leaf, in fib6_find_prefix()
1689 return rcu_dereference_protected(child_right->leaf, in fib6_find_prefix()
1715 rcu_assign_pointer(fn->leaf, net->ipv6.fib6_null_entry); in fib6_repair_tree()
1730 struct fib6_info *fn_leaf = rcu_dereference_protected(fn->leaf, in fib6_repair_tree()
1732 struct fib6_info *pn_leaf = rcu_dereference_protected(pn->leaf, in fib6_repair_tree()
1764 rcu_assign_pointer(fn->leaf, new_fn_leaf); in fib6_repair_tree()
1818 RCU_INIT_POINTER(pn->leaf, NULL); in fib6_repair_tree()
1859 if (w->state == FWS_C && w->leaf == rt) { in fib6_del_route()
1861 w->leaf = rcu_dereference_protected(rt->fib6_next, in fib6_del_route()
1863 if (!w->leaf) in fib6_del_route()
1873 if (!rcu_access_pointer(fn->leaf)) { in fib6_del_route()
1915 for (rtp = &fn->leaf; *rtp; rtp = rtp_next) { in fib6_del()
1992 w->leaf = rcu_dereference_protected(fn->leaf, 1); in fib6_walk_continue()
1995 if (w->leaf && fn->fn_flags & RTN_RTINFO) { in fib6_walk_continue()
2033 w->leaf = rcu_dereference_protected(w->node->leaf, 1); in fib6_walk_continue()
2073 w->leaf = NULL; in fib6_clean_node()
2080 w->leaf = rt; in fib6_clean_node()
2101 w->leaf = rt; in fib6_clean_node()
2272 rcu_assign_pointer(net->ipv6.fib6_main_tbl->tb6_root.leaf, in fib6_net_init()
2284 rcu_assign_pointer(net->ipv6.fib6_local_tbl->tb6_root.leaf, in fib6_net_init()
2401 iter->w.leaf = NULL; in ipv6_route_seq_show()
2413 iter->w.leaf = rcu_dereference_protected( in ipv6_route_yield()
2414 iter->w.leaf->fib6_next, in ipv6_route_yield()
2417 if (!iter->skip && iter->w.leaf) in ipv6_route_yield()
2419 } while (iter->w.leaf); in ipv6_route_yield()
2493 return iter->w.leaf; in ipv6_route_seq_next()