Home
last modified time | relevance | path

Searched refs:num_labels (Results 1 – 5 of 5) sorted by relevance

/linux-6.1.9/net/mpls/
Dinternal.h105 #define MPLS_NH_VIA_OFF(num_labels) \ argument
106 ALIGN(sizeof(struct mpls_nh) + (num_labels) * sizeof(u32), \
112 #define MPLS_NH_SIZE(num_labels, max_via_alen) \ argument
113 (MPLS_NH_VIA_OFF((num_labels)) + \
/linux-6.1.9/drivers/gpu/drm/vc4/
Dvc4_bo.c48 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()
Dvc4_drv.h111 u32 num_labels; member
/linux-6.1.9/drivers/nvdimm/
Dlabel.c967 static int init_labels(struct nd_mapping *nd_mapping, int num_labels) in init_labels() argument
983 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()
/linux-6.1.9/net/openvswitch/
Dflow_netlink.c2163 u8 i, num_labels; in __ovs_nla_put_key() local
2166 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()