• Home
  • Raw
  • Download

Lines Matching refs:stats

75 	struct sw_flow_stats *stats;  in ovs_flow_alloc()  local
84 stats = kmem_cache_alloc_node(flow_stats_cache, in ovs_flow_alloc()
87 if (!stats) in ovs_flow_alloc()
90 spin_lock_init(&stats->lock); in ovs_flow_alloc()
92 RCU_INIT_POINTER(flow->stats[0], stats); in ovs_flow_alloc()
119 if (flow->stats[cpu]) in flow_free()
121 (struct sw_flow_stats __force *)flow->stats[cpu]); in flow_free()
202 struct mask_array_stats *stats; in tbl_mask_array_reset_counters() local
206 stats = per_cpu_ptr(ma->masks_usage_stats, cpu); in tbl_mask_array_reset_counters()
208 start = u64_stats_fetch_begin_irq(&stats->syncp); in tbl_mask_array_reset_counters()
209 counter = stats->usage_cntrs[i]; in tbl_mask_array_reset_counters()
210 } while (u64_stats_fetch_retry_irq(&stats->syncp, start)); in tbl_mask_array_reset_counters()
737 struct mask_array_stats *stats = this_cpu_ptr(ma->masks_usage_stats); in flow_lookup() local
747 u64_stats_update_begin(&stats->syncp); in flow_lookup()
748 stats->usage_cntrs[*index]++; in flow_lookup()
749 u64_stats_update_end(&stats->syncp); in flow_lookup()
768 u64_stats_update_begin(&stats->syncp); in flow_lookup()
769 stats->usage_cntrs[*index]++; in flow_lookup()
770 u64_stats_update_end(&stats->syncp); in flow_lookup()
1133 struct mask_array_stats *stats; in ovs_flow_masks_rebalance() local
1137 stats = per_cpu_ptr(ma->masks_usage_stats, cpu); in ovs_flow_masks_rebalance()
1139 start = u64_stats_fetch_begin_irq(&stats->syncp); in ovs_flow_masks_rebalance()
1140 counter = stats->usage_cntrs[i]; in ovs_flow_masks_rebalance()
1141 } while (u64_stats_fetch_retry_irq(&stats->syncp, in ovs_flow_masks_rebalance()