Home
last modified time | relevance | path

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

12

/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/
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()
A Dbridge_priv.h155 unsigned long lastuse; member
/linux/include/net/
A 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()
288 u64 lastuse, bool hw) in tcf_action_stats_update() argument
294 a->ops->stats_update(a, bytes, packets, drops, lastuse, hw); in tcf_action_stats_update()
A Ddst.h72 unsigned long lastuse; member
243 if (unlikely(time != dst->lastuse)) { in dst_use_noref()
245 dst->lastuse = time; in dst_use_noref()
/linux/drivers/net/ethernet/mellanox/mlx5/core/
A 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/net/ipv4/
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/drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/
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/sched/
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()
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()
A Dact_vlan.c339 u64 drops, u64 lastuse, bool hw) in tcf_vlan_stats_update() argument
345 tm->lastuse = max_t(u64, tm->lastuse, lastuse); in tcf_vlan_stats_update()
A 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()
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()
A 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()
A Dact_mirred.c463 u64 drops, u64 lastuse, bool hw) in tcf_stats_update() argument
469 tm->lastuse = max_t(u64, tm->lastuse, lastuse); in tcf_stats_update()
A 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/net/netfilter/ipvs/
A Dip_vs_lblc.c93 unsigned long lastuse; /* last used time */ member
214 en->lastuse = jiffies; in ip_vs_lblc_new()
269 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()
A Dip_vs_lblcr.c263 unsigned long lastuse; /* last used time */ member
373 en->lastuse = jiffies; in ip_vs_lblcr_new()
433 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/ipv6/
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()
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/include/linux/mlx5/
A Dfs.h307 u64 *bytes, u64 *packets, u64 *lastuse);
309 u64 *bytes, u64 *packets, u64 *lastuse);
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
A Dmeter.h73 u64 *bytes, u64 *packets, u64 *drops, u64 *lastuse);
A 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/drivers/net/ethernet/marvell/prestera/
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/
A Dipsec.c1002 u64 packets, bytes, lastuse; in mlx5e_xfrm_update_stats() local
1014 &auth_packets, &lastuse); in mlx5e_xfrm_update_stats()
1019 &trailer_packets, &lastuse); in mlx5e_xfrm_update_stats()
1028 &replay_packets, &lastuse); in mlx5e_xfrm_update_stats()
1033 mlx5_fc_query_cached(ipsec_rule->fc, &bytes, &packets, &lastuse); in mlx5e_xfrm_update_stats()
/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/diag/
A Dbridge_tracepoint.h30 __entry->used = jiffies_to_msecs(jiffies - fdb->lastuse)
/linux/drivers/net/ethernet/mellanox/mlxsw/
A Dspectrum_flower.c811 u64 lastuse; in mlxsw_sp_flower_stats() local
827 &drops, &lastuse, &used_hw_stats); in mlxsw_sp_flower_stats()
831 flow_stats_update(&f->stats, bytes, packets, drops, lastuse, in mlxsw_sp_flower_stats()

Completed in 50 milliseconds

12