Home
last modified time | relevance | path

Searched refs:lastuse (Results 1 – 25 of 44) sorted by relevance

12

/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/esw/
Dbridge_debugfs.c44 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()
Dbridge_priv.h155 unsigned long lastuse; member
Dbridge.c1373 entry->lastuse = jiffies; in mlx5_esw_bridge_fdb_entry_init()
1748 entry->lastuse = jiffies; in mlx5_esw_bridge_fdb_update_used()
1832 unsigned long lastuse = in mlx5_esw_bridge_update() local
1839 if (time_after(lastuse, entry->lastuse)) in mlx5_esw_bridge_update()
1842 time_is_before_jiffies(entry->lastuse + bridge->ageing_time)) in mlx5_esw_bridge_update()
/linux-6.6.21/include/net/
Dact_api.h79 if (tm->lastuse != now) in tcf_lastuse_update()
80 tm->lastuse = now; in tcf_lastuse_update()
88 dtm->lastuse = jiffies_to_clock_t(jiffies - stm->lastuse); in tcf_tm_dump()
286 u64 lastuse, bool hw) in tcf_action_stats_update() argument
292 a->ops->stats_update(a, bytes, packets, drops, lastuse, hw); in tcf_action_stats_update()
Ddst.h72 unsigned long lastuse; member
250 if (unlikely(time != dst->lastuse)) { in dst_use_noref()
252 dst->lastuse = time; in dst_use_noref()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/
Dfs_counters.c51 u64 lastuse; member
174 cache->lastuse = jiffies; in update_counter_cache()
364 counter->cache.lastuse = jiffies; in mlx5_fc_create_ex()
489 return counter->cache.lastuse; in mlx5_fc_query_lastuse()
493 u64 *bytes, u64 *packets, u64 *lastuse) in mlx5_fc_query_cached() argument
501 *lastuse = c.lastuse; in mlx5_fc_query_cached()
508 u64 *bytes, u64 *packets, u64 *lastuse) in mlx5_fc_query_cached_raw() argument
514 *lastuse = c.lastuse; in mlx5_fc_query_cached_raw()
/linux-6.6.21/net/ipv4/
Dipmr_base.c215 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-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/
Dpolice.c175 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-6.6.21/net/sched/
Dact_gact.c174 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()
Dact_sample.c203 u64 drops, u64 lastuse, bool hw) in tcf_sample_stats_update() argument
209 tm->lastuse = max_t(u64, tm->lastuse, lastuse); in tcf_sample_stats_update()
Dact_vlan.c338 u64 drops, u64 lastuse, bool hw) in tcf_vlan_stats_update() argument
344 tm->lastuse = max_t(u64, tm->lastuse, lastuse); in tcf_vlan_stats_update()
Dact_mirred.c347 u64 drops, u64 lastuse, bool hw) in tcf_stats_update() argument
353 tm->lastuse = max_t(u64, tm->lastuse, lastuse); in tcf_stats_update()
Dact_skbedit.c97 u64 lastuse, bool hw) in tcf_skbedit_stats_update() argument
103 tm->lastuse = max_t(u64, tm->lastuse, lastuse); in tcf_skbedit_stats_update()
Dact_pedit.c490 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()
Dact_police.c331 u64 lastuse, bool hw) in tcf_police_stats_update() argument
337 tm->lastuse = max_t(u64, tm->lastuse, lastuse); in tcf_police_stats_update()
Dact_gate.c572 u64 drops, u64 lastuse, bool hw) in tcf_gate_stats_update() argument
578 tm->lastuse = max_t(u64, tm->lastuse, lastuse); in tcf_gate_stats_update()
/linux-6.6.21/net/netfilter/ipvs/
Dip_vs_lblc.c93 unsigned long lastuse; /* last used time */ member
215 en->lastuse = jiffies; in ip_vs_lblc_new()
270 en->lastuse + in ip_vs_lblc_full_check()
325 if (time_before(now, en->lastuse + ENTRY_TIMEOUT)) in ip_vs_lblc_check_expire()
494 en->lastuse = jiffies; in ip_vs_lblc_schedule()
Dip_vs_lblcr.c263 unsigned long lastuse; /* last used time */ member
374 en->lastuse = jiffies; in ip_vs_lblcr_new()
434 if (time_after(en->lastuse + in ip_vs_lblcr_full_check()
489 if (time_before(now, en->lastuse+ENTRY_TIMEOUT)) in ip_vs_lblcr_check_expire()
657 en->lastuse = jiffies; in ip_vs_lblcr_schedule()
/linux-6.6.21/net/ipv6/
Dip6_flowlabel.c130 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()
274 fl->lastuse = jiffies; in __fl6_sock_lookup()
363 fl->lastuse = jiffies; in fl6_renew()
368 if (time_before(fl->expires, fl->lastuse + expires)) in fl6_renew()
369 fl->expires = fl->lastuse + expires; in fl6_renew()
/linux-6.6.21/include/linux/mlx5/
Dfs.h307 u64 *bytes, u64 *packets, u64 *lastuse);
309 u64 *bytes, u64 *packets, u64 *lastuse);
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
Dmeter.h73 u64 *bytes, u64 *packets, u64 *drops, u64 *lastuse);
Dmeter.c583 u64 *bytes, u64 *packets, u64 *drops, u64 *lastuse) in mlx5e_tc_meter_get_stats() argument
594 *lastuse = max_t(u64, lastuse1, lastuse2); in mlx5e_tc_meter_get_stats()
/linux-6.6.21/drivers/net/ethernet/marvell/prestera/
Dprestera_flower.c555 u64 lastuse; in prestera_flower_stats() local
571 &bytes, &lastuse); in prestera_flower_stats()
575 flow_stats_update(&f->stats, bytes, packets, 0, lastuse, in prestera_flower_stats()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/esw/diag/
Dbridge_tracepoint.h30 __entry->used = jiffies_to_msecs(jiffies - fdb->lastuse)
/linux-6.6.21/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_flower.c807 u64 lastuse; in mlxsw_sp_flower_stats() local
823 &drops, &lastuse, &used_hw_stats); in mlxsw_sp_flower_stats()
827 flow_stats_update(&f->stats, bytes, packets, drops, lastuse, in mlxsw_sp_flower_stats()

12