Searched refs:masks_and_count (Results 1 – 1 of 1) sorted by relevance
1110 struct mask_count *masks_and_count; in ovs_flow_masks_rebalance() local1116 masks_and_count = kmalloc_array(ma->max, sizeof(*masks_and_count), in ovs_flow_masks_rebalance()1118 if (!masks_and_count) in ovs_flow_masks_rebalance()1129 masks_and_count[i].index = i; in ovs_flow_masks_rebalance()1130 masks_and_count[i].counter = 0; in ovs_flow_masks_rebalance()1144 masks_and_count[i].counter += counter; in ovs_flow_masks_rebalance()1148 masks_and_count[i].counter -= ma->masks_usage_zero_cntr[i]; in ovs_flow_masks_rebalance()1153 ma->masks_usage_zero_cntr[i] += masks_and_count[i].counter; in ovs_flow_masks_rebalance()1161 sort(masks_and_count, masks_entries, sizeof(*masks_and_count), in ovs_flow_masks_rebalance()1166 if (i != masks_and_count[i].index) in ovs_flow_masks_rebalance()[all …]