Lines Matching refs:platform_labels
43 if (index < net->mpls.platform_labels) { in mpls_route_input_rcu()
424 size_t platform_labels; in find_free_label() local
428 platform_labels = net->mpls.platform_labels; in find_free_label()
429 for (index = MPLS_LABEL_FIRST_UNRESERVED; index < platform_labels; in find_free_label()
740 if (index >= net->mpls.platform_labels) in mpls_route_add()
806 if (index >= net->mpls.platform_labels) in mpls_route_del()
902 for (index = 0; index < net->mpls.platform_labels; index++) { in mpls_ifdown()
1303 size_t platform_labels; in mpls_dump_routes() local
1313 platform_labels = net->mpls.platform_labels; in mpls_dump_routes()
1314 for (; index < platform_labels; index++) { in mpls_dump_routes()
1440 old_limit = net->mpls.platform_labels; in resize_platform_label_table()
1467 net->mpls.platform_labels = limit; in resize_platform_label_table()
1493 int platform_labels = net->mpls.platform_labels; in mpls_platform_labels() local
1497 .data = &platform_labels, in mpls_platform_labels()
1507 ret = resize_platform_label_table(net, platform_labels); in mpls_platform_labels()
1527 net->mpls.platform_labels = 0; in mpls_net_init()
1547 size_t platform_labels; in mpls_net_exit() local
1566 platform_labels = net->mpls.platform_labels; in mpls_net_exit()
1567 for (index = 0; index < platform_labels; index++) { in mpls_net_exit()