Lines Matching refs:platform_label
83 struct mpls_route __rcu **platform_label = in mpls_route_input_rcu() local
84 rcu_dereference(net->mpls.platform_label); in mpls_route_input_rcu()
85 rt = rcu_dereference(platform_label[index]); in mpls_route_input_rcu()
557 struct mpls_route __rcu **platform_label; in mpls_route_update() local
562 platform_label = rtnl_dereference(net->mpls.platform_label); in mpls_route_update()
563 rt = rtnl_dereference(platform_label[index]); in mpls_route_update()
564 rcu_assign_pointer(platform_label[index], new); in mpls_route_update()
574 struct mpls_route __rcu **platform_label; in find_free_label() local
578 platform_label = rtnl_dereference(net->mpls.platform_label); in find_free_label()
582 if (!rtnl_dereference(platform_label[index])) in find_free_label()
966 struct mpls_route __rcu **platform_label; in mpls_route_add() local
994 platform_label = rtnl_dereference(net->mpls.platform_label); in mpls_route_add()
995 old = rtnl_dereference(platform_label[index]); in mpls_route_add()
1484 struct mpls_route __rcu **platform_label; in mpls_ifdown() local
1488 platform_label = rtnl_dereference(net->mpls.platform_label); in mpls_ifdown()
1490 struct mpls_route *rt = rtnl_dereference(platform_label[index]); in mpls_ifdown()
1560 struct mpls_route __rcu **platform_label; in mpls_ifup() local
1565 platform_label = rtnl_dereference(net->mpls.platform_label); in mpls_ifup()
1567 struct mpls_route *rt = rtnl_dereference(platform_label[index]); in mpls_ifup()
2163 struct mpls_route __rcu **platform_label; in mpls_dump_routes() local
2193 platform_label = rtnl_dereference(net->mpls.platform_label); in mpls_dump_routes()
2202 rt = rtnl_dereference(platform_label[index]); in mpls_dump_routes()
2551 old = rtnl_dereference(net->mpls.platform_label); in resize_platform_label_table()
2580 rcu_assign_pointer(net->mpls.platform_label, labels); in resize_platform_label_table()
2662 net->mpls.platform_label = NULL; in mpls_net_init()
2688 struct mpls_route __rcu **platform_label; in mpls_net_exit() local
2707 platform_label = rtnl_dereference(net->mpls.platform_label); in mpls_net_exit()
2710 struct mpls_route *rt = rtnl_dereference(platform_label[index]); in mpls_net_exit()
2711 RCU_INIT_POINTER(platform_label[index], NULL); in mpls_net_exit()
2717 kvfree(platform_label); in mpls_net_exit()