Home
last modified time | relevance | path

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

/linux-4.4.14/net/core/
Ddrop_monitor.c192 struct dm_hw_stat_delta *new_stat; in trace_napi_poll_hit() local
201 list_for_each_entry_rcu(new_stat, &hw_stats_list, list) { in trace_napi_poll_hit()
208 if ((new_stat->dev == napi->dev) && in trace_napi_poll_hit()
209 (time_after(jiffies, new_stat->last_rx + dm_hw_check_delta)) && in trace_napi_poll_hit()
210 (napi->dev->stats.rx_dropped != new_stat->last_drop_val)) { in trace_napi_poll_hit()
212 new_stat->last_drop_val = napi->dev->stats.rx_dropped; in trace_napi_poll_hit()
213 new_stat->last_rx = jiffies; in trace_napi_poll_hit()
223 struct dm_hw_stat_delta *new_stat = NULL; in set_all_monitor_traces() local
253 list_for_each_entry_safe(new_stat, temp, &hw_stats_list, list) { in set_all_monitor_traces()
254 if (new_stat->dev == NULL) { in set_all_monitor_traces()
[all …]