Home
last modified time | relevance | path

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

/linux-6.6.21/net/openvswitch/
Dflow_table.c1111 struct mask_count *masks_and_count; in ovs_flow_masks_rebalance() local
1117 masks_and_count = kmalloc_array(ma->max, sizeof(*masks_and_count), in ovs_flow_masks_rebalance()
1119 if (!masks_and_count) in ovs_flow_masks_rebalance()
1130 masks_and_count[i].index = i; in ovs_flow_masks_rebalance()
1131 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 …]