| /linux/drivers/net/ethernet/mellanox/mlx5/core/ |
| H A D | fs_counters.c | 90 cache->lastuse = jiffies; in update_counter_cache() 146 if (time_after64(bulk_query_time, counter->cache.lastuse)) in mlx5_fc_stats_query_all_counters() 291 counter->cache.lastuse = jiffies; in mlx5_fc_create() 391 return counter->cache.lastuse; in mlx5_fc_query_lastuse() 395 u64 *bytes, u64 *packets, u64 *lastuse) in mlx5_fc_query_cached() argument 403 *lastuse = c.lastuse; in mlx5_fc_query_cached() 410 u64 *bytes, u64 *packets, u64 *lastuse) in mlx5_fc_query_cached_raw() argument 416 *lastuse = c.lastuse; in mlx5_fc_query_cached_raw()
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/esw/ |
| H A D | bridge_debugfs.c | 44 u64 packets, bytes, lastuse; in mlx5_esw_bridge_debugfs_show() local 53 mlx5_fc_query_cached_raw(entry->ingress_counter, &bytes, &packets, &lastuse); in mlx5_esw_bridge_debugfs_show() 55 entry->dev->name, entry->key.addr, entry->key.vid, packets, bytes, lastuse, in mlx5_esw_bridge_debugfs_show()
|
| H A D | bridge_priv.h | 155 unsigned long lastuse; member
|
| H A D | bridge.c | 1377 entry->lastuse = jiffies; in mlx5_esw_bridge_fdb_entry_init() 1751 entry->lastuse = jiffies; in mlx5_esw_bridge_fdb_update_used() 1835 unsigned long lastuse = in mlx5_esw_bridge_update() local 1842 if (time_after(lastuse, entry->lastuse)) in mlx5_esw_bridge_update() 1845 time_is_before_jiffies(entry->lastuse + bridge->ageing_time)) in mlx5_esw_bridge_update()
|
| /linux/include/net/ |
| H A D | act_api.h | 82 if (READ_ONCE(tm->lastuse) != now) in tcf_lastuse_update() 83 WRITE_ONCE(tm->lastuse, now); in tcf_lastuse_update() 93 dtm->lastuse = jiffies_to_clock_t(now - READ_ONCE(stm->lastuse)); in tcf_tm_dump() 289 u64 lastuse, bool hw) in tcf_action_stats_update() argument 295 a->ops->stats_update(a, bytes, packets, drops, lastuse, hw); in tcf_action_stats_update()
|
| /linux/net/ipv4/ |
| H A D | ipmr_base.c | 215 unsigned long lastuse; in mr_fill_mroute() local 263 lastuse = READ_ONCE(c->mfc_un.res.lastuse); in mr_fill_mroute() 264 lastuse = time_after_eq(jiffies, lastuse) ? jiffies - lastuse : 0; in mr_fill_mroute() 270 nla_put_u64_64bit(skb, RTA_EXPIRES, jiffies_to_clock_t(lastuse), in mr_fill_mroute()
|
| /linux/net/netfilter/ipvs/ |
| H A D | ip_vs_lblc.c | 92 unsigned long lastuse; /* last used time */ member 213 en->lastuse = jiffies; in ip_vs_lblc_new() 268 en->lastuse + in ip_vs_lblc_full_check() 324 if (time_before(now, en->lastuse + ENTRY_TIMEOUT)) in ip_vs_lblc_check_expire() 493 en->lastuse = jiffies; in ip_vs_lblc_schedule()
|
| H A D | ip_vs_lblcr.c | 262 unsigned long lastuse; /* last used time */ member 372 en->lastuse = jiffies; in ip_vs_lblcr_new() 432 if (time_after(en->lastuse + in ip_vs_lblcr_full_check() 488 if (time_before(now, en->lastuse+ENTRY_TIMEOUT)) in ip_vs_lblcr_check_expire() 656 en->lastuse = jiffies; in ip_vs_lblcr_schedule()
|
| /linux/net/sched/ |
| H A D | act_gact.c | 174 u64 drops, u64 lastuse, bool hw) in tcf_gact_stats_update() argument 182 tm->lastuse = max_t(u64, tm->lastuse, lastuse); in tcf_gact_stats_update()
|
| H A D | act_sample.c | 215 u64 drops, u64 lastuse, bool hw) in tcf_sample_stats_update() argument 221 tm->lastuse = max_t(u64, tm->lastuse, lastuse); in tcf_sample_stats_update()
|
| H A D | act_vlan.c | 337 u64 drops, u64 lastuse, bool hw) in tcf_vlan_stats_update() argument 343 tm->lastuse = max_t(u64, tm->lastuse, lastuse); in tcf_vlan_stats_update()
|
| H A D | act_skbedit.c | 95 u64 lastuse, bool hw) in tcf_skbedit_stats_update() argument 101 tm->lastuse = max_t(u64, tm->lastuse, lastuse); in tcf_skbedit_stats_update()
|
| H A D | act_mirred.c | 478 u64 drops, u64 lastuse, bool hw) in tcf_stats_update() argument 484 tm->lastuse = max_t(u64, tm->lastuse, lastuse); in tcf_stats_update()
|
| H A D | act_pedit.c | 490 u64 drops, u64 lastuse, bool hw) in tcf_pedit_stats_update() argument 496 tm->lastuse = max_t(u64, tm->lastuse, lastuse); in tcf_pedit_stats_update()
|
| H A D | act_police.c | 330 u64 lastuse, bool hw) in tcf_police_stats_update() argument 336 tm->lastuse = max_t(u64, tm->lastuse, lastuse); in tcf_police_stats_update()
|
| H A D | act_gate.c | 673 u64 drops, u64 lastuse, bool hw) in tcf_gate_stats_update() argument 679 tm->lastuse = max_t(u64, tm->lastuse, lastuse); in tcf_gate_stats_update()
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/ |
| H A D | police.c | 175 u64 bytes, packets, drops, lastuse; in tc_act_police_stats() local 184 mlx5e_tc_meter_get_stats(meter, &bytes, &packets, &drops, &lastuse); in tc_act_police_stats() 185 flow_stats_update(&fl_act->stats, bytes, packets, drops, lastuse, in tc_act_police_stats()
|
| /linux/net/ipv6/ |
| H A D | ip6_flowlabel.c | 130 fl->lastuse = jiffies; in fl_release() 132 unsigned long ttd = fl->lastuse + fl->linger; in fl_release() 164 unsigned long ttd = fl->lastuse + fl->linger; in ip6_fl_gc() 249 fl->lastuse = jiffies; in fl_intern() 273 fl->lastuse = jiffies; in __fl6_sock_lookup() 362 fl->lastuse = jiffies; in fl6_renew() 367 if (time_before(fl->expires, fl->lastuse + expires)) in fl6_renew() 368 fl->expires = fl->lastuse + expires; in fl6_renew()
|
| /linux/include/linux/mlx5/ |
| H A D | fs.h | 336 u64 *bytes, u64 *packets, u64 *lastuse); 338 u64 *bytes, u64 *packets, u64 *lastuse);
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/en/tc/ |
| H A D | meter.h | 73 u64 *bytes, u64 *packets, u64 *drops, u64 *lastuse);
|
| H A D | meter.c | 579 u64 *bytes, u64 *packets, u64 *drops, u64 *lastuse) in mlx5e_tc_meter_get_stats() argument 590 *lastuse = max_t(u64, lastuse1, lastuse2); in mlx5e_tc_meter_get_stats()
|
| /linux/drivers/net/ethernet/marvell/prestera/ |
| H A D | prestera_flower.c | 559 u64 lastuse; in prestera_flower_stats() local 575 &bytes, &lastuse); in prestera_flower_stats() 579 flow_stats_update(&f->stats, bytes, packets, 0, lastuse, in prestera_flower_stats()
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
| H A D | ipsec.c | 1085 u64 packets, bytes, lastuse; in mlx5e_xfrm_update_stats() local 1097 &auth_packets, &lastuse); in mlx5e_xfrm_update_stats() 1102 &trailer_packets, &lastuse); in mlx5e_xfrm_update_stats() 1111 &replay_packets, &lastuse); in mlx5e_xfrm_update_stats() 1116 mlx5_fc_query_cached(ipsec_rule->fc, &bytes, &packets, &lastuse); in mlx5e_xfrm_update_stats()
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/esw/diag/ |
| H A D | bridge_tracepoint.h | 30 __entry->used = jiffies_to_msecs(jiffies - fdb->lastuse)
|
| /linux/drivers/net/ethernet/mellanox/mlxsw/ |
| H A D | spectrum_flower.c | 821 u64 lastuse; in mlxsw_sp_flower_stats() local 839 &drops, &lastuse, &used_hw_stats); in mlxsw_sp_flower_stats() 843 flow_stats_update(&f->stats, bytes, packets, drops, lastuse, in mlxsw_sp_flower_stats()
|