Home
last modified time | relevance | path

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

12

/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Dfs_counters.c90 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 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()
H A Dbridge_priv.h155 unsigned long lastuse; member
H A Dbridge.c1377 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 Dact_api.h82 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 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/net/netfilter/ipvs/
H A Dip_vs_lblc.c92 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 Dip_vs_lblcr.c262 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 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()
H A Dact_sample.c215 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 Dact_vlan.c337 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 Dact_skbedit.c95 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 Dact_mirred.c478 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 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()
H A Dact_police.c330 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 Dact_gate.c673 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 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/net/ipv6/
H A 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()
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 Dfs.h336 u64 *bytes, u64 *packets, u64 *lastuse);
338 u64 *bytes, u64 *packets, u64 *lastuse);
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
H A Dmeter.h73 u64 *bytes, u64 *packets, u64 *drops, u64 *lastuse);
H A Dmeter.c579 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 Dprestera_flower.c559 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 Dipsec.c1085 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 Dbridge_tracepoint.h30 __entry->used = jiffies_to_msecs(jiffies - fdb->lastuse)
/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_flower.c821 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()

12