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)) + \
44 for (i = 0; i < vc4->num_labels; i++) { in vc4_bo_stats_print()91 for (i = 0; i < vc4->num_labels; i++) { in vc4_get_user_label()105 u32 new_label_count = vc4->num_labels + 1; in vc4_get_user_label()116 free_slot = vc4->num_labels; in vc4_get_user_label()118 vc4->num_labels = new_label_count; in vc4_get_user_label()1022 vc4->num_labels = VC4_BO_TYPE_COUNT; in vc4_bo_cache_init()1050 for (i = 0; i < vc4->num_labels; i++) { in vc4_bo_cache_destroy()
106 u32 num_labels; member
899 int num_labels) in __blk_label_update() argument1106 if (nlabel + nsblk->num_resources > num_labels) { in __blk_label_update()1164 static int init_labels(struct nd_mapping *nd_mapping, int num_labels) in init_labels() argument1180 for (i = old_num_labels; i < num_labels; i++) { in init_labels()1192 return max(num_labels, old_num_labels); in init_labels()1205 return max(num_labels, old_num_labels); in init_labels()
2134 u8 i, num_labels; in __ovs_nla_put_key() local2137 num_labels = hweight_long(output->mpls.num_labels_mask); in __ovs_nla_put_key()2139 num_labels * sizeof(*mpls_key)); in __ovs_nla_put_key()2144 for (i = 0; i < num_labels; i++) in __ovs_nla_put_key()