Lines Matching refs:labels
1708 u8 labels, const u32 label[]) in nla_put_labels() argument
1714 nla = nla_reserve(skb, attrtype, labels*4); in nla_put_labels()
1720 for (i = labels - 1; i >= 0; i--) { in nla_put_labels()
1729 int nla_get_labels(const struct nlattr *nla, u8 max_labels, u8 *labels, in nla_get_labels() argument
1805 *labels = nla_labels; in nla_get_labels()
2372 u32 labels[MAX_NEW_LABELS]; in mpls_getroute() local
2431 labels, extack) != 0) { in mpls_getroute()
2464 hdr[i] = mpls_entry_encode(labels[i], in mpls_getroute()
2533 struct mpls_route __rcu **labels = NULL, **old; in resize_platform_label_table() local
2538 labels = kvzalloc(size, GFP_KERNEL); in resize_platform_label_table()
2539 if (!labels) in resize_platform_label_table()
2587 memcpy(labels, old, cp_size); in resize_platform_label_table()
2592 RCU_INIT_POINTER(labels[MPLS_LABEL_IPV6NULL], rt2); in resize_platform_label_table()
2598 RCU_INIT_POINTER(labels[MPLS_LABEL_IPV4NULL], rt0); in resize_platform_label_table()
2604 rcu_assign_pointer(net->mpls.platform_label, labels); in resize_platform_label_table()
2620 kvfree(labels); in resize_platform_label_table()