Searched refs:num_labels (Results 1 – 5 of 5) sorted by relevance
105 #define MPLS_NH_VIA_OFF(num_labels) \ argument106 ALIGN(sizeof(struct mpls_nh) + (num_labels) * sizeof(u32), \112 #define MPLS_NH_SIZE(num_labels, max_via_alen) \ argument113 (MPLS_NH_VIA_OFF((num_labels)) + \
48 for (i = 0; i < vc4->num_labels; i++) { in vc4_bo_stats_print()95 for (i = 0; i < vc4->num_labels; i++) { in vc4_get_user_label()109 u32 new_label_count = vc4->num_labels + 1; in vc4_get_user_label()120 free_slot = vc4->num_labels; in vc4_get_user_label()122 vc4->num_labels = new_label_count; in vc4_get_user_label()1025 vc4->num_labels = VC4_BO_TYPE_COUNT; in vc4_bo_cache_init()1055 for (i = 0; i < vc4->num_labels; i++) { in vc4_bo_cache_destroy()
111 u32 num_labels; member
967 static int init_labels(struct nd_mapping *nd_mapping, int num_labels) in init_labels() argument983 for (i = old_num_labels; i < num_labels; i++) { in init_labels()995 return max(num_labels, old_num_labels); in init_labels()1008 return max(num_labels, old_num_labels); in init_labels()
2163 u8 i, num_labels; in __ovs_nla_put_key() local2166 num_labels = hweight_long(output->mpls.num_labels_mask); in __ovs_nla_put_key()2168 num_labels * sizeof(*mpls_key)); in __ovs_nla_put_key()2173 for (i = 0; i < num_labels; i++) in __ovs_nla_put_key()