Lines Matching refs:old_stats
145 struct flow_stats *old_stats; in lan966x_police_port_add() local
174 old_stats = &port->tc.police_stat; in lan966x_police_port_add()
176 old_stats->bytes = new_stats.rx_bytes; in lan966x_police_port_add()
177 old_stats->pkts = new_stats.rx_packets; in lan966x_police_port_add()
178 old_stats->drops = new_stats.rx_dropped; in lan966x_police_port_add()
179 old_stats->lastused = jiffies; in lan966x_police_port_add()
219 struct flow_stats *old_stats; in lan966x_police_port_stats() local
221 old_stats = &port->tc.police_stat; in lan966x_police_port_stats()
225 new_stats.rx_bytes - old_stats->bytes, in lan966x_police_port_stats()
226 new_stats.rx_packets - old_stats->pkts, in lan966x_police_port_stats()
227 new_stats.rx_dropped - old_stats->drops, in lan966x_police_port_stats()
228 old_stats->lastused, in lan966x_police_port_stats()
231 old_stats->bytes = new_stats.rx_bytes; in lan966x_police_port_stats()
232 old_stats->pkts = new_stats.rx_packets; in lan966x_police_port_stats()
233 old_stats->drops = new_stats.rx_dropped; in lan966x_police_port_stats()
234 old_stats->lastused = jiffies; in lan966x_police_port_stats()