Home
last modified time | relevance | path

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

12

/Linux-v5.10/include/net/
Dact_api.h68 if (tm->lastuse != now) in tcf_lastuse_update()
69 tm->lastuse = now; in tcf_lastuse_update()
77 dtm->lastuse = jiffies_to_clock_t(jiffies - stm->lastuse); in tcf_tm_dump()
246 u64 lastuse, bool hw) in tcf_action_stats_update() argument
252 a->ops->stats_update(a, bytes, packets, drops, lastuse, hw); in tcf_action_stats_update()
Ddst.h70 unsigned long lastuse; member
232 if (unlikely(time != dst->lastuse)) { in dst_use_noref()
234 dst->lastuse = time; in dst_use_noref()
Dpkt_cls.h271 u64 bytes, u64 packets, u64 drops, u64 lastuse, in tcf_exts_stats_update() argument
283 lastuse, true); in tcf_exts_stats_update()
/Linux-v5.10/net/ipv4/
Dipmr_base.c214 unsigned long lastuse; in mr_fill_mroute() local
255 lastuse = READ_ONCE(c->mfc_un.res.lastuse); in mr_fill_mroute()
256 lastuse = time_after_eq(jiffies, lastuse) ? jiffies - lastuse : 0; in mr_fill_mroute()
262 nla_put_u64_64bit(skb, RTA_EXPIRES, jiffies_to_clock_t(lastuse), in mr_fill_mroute()
/Linux-v5.10/net/sched/
Dact_gact.c173 u64 drops, u64 lastuse, bool hw) in tcf_gact_stats_update() argument
181 tm->lastuse = max_t(u64, tm->lastuse, lastuse); in tcf_gact_stats_update()
Dact_skbedit.c78 u64 lastuse, bool hw) in tcf_skbedit_stats_update() argument
84 tm->lastuse = max_t(u64, tm->lastuse, lastuse); in tcf_skbedit_stats_update()
Dact_vlan.c344 u64 drops, u64 lastuse, bool hw) in tcf_vlan_stats_update() argument
350 tm->lastuse = max_t(u64, tm->lastuse, lastuse); in tcf_vlan_stats_update()
Dact_mirred.c314 u64 drops, u64 lastuse, bool hw) in tcf_stats_update() argument
320 tm->lastuse = max_t(u64, tm->lastuse, lastuse); in tcf_stats_update()
Dact_police.c290 u64 lastuse, bool hw) in tcf_police_stats_update() argument
296 tm->lastuse = max_t(u64, tm->lastuse, lastuse); in tcf_police_stats_update()
Dact_pedit.c411 u64 drops, u64 lastuse, bool hw) in tcf_pedit_stats_update() argument
417 tm->lastuse = max_t(u64, tm->lastuse, lastuse); in tcf_pedit_stats_update()
Dact_gate.c579 u64 drops, u64 lastuse, bool hw) in tcf_gate_stats_update() argument
585 tm->lastuse = max_t(u64, tm->lastuse, lastuse); in tcf_gate_stats_update()
Dact_ct.c1468 u64 drops, u64 lastuse, bool hw) in tcf_stats_update() argument
1473 c->tcf_tm.lastuse = max_t(u64, c->tcf_tm.lastuse, lastuse); in tcf_stats_update()
/Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/
Dfs_counters.c49 u64 lastuse; member
166 cache->lastuse = jiffies; in update_counter_cache()
314 counter->cache.lastuse = jiffies; in mlx5_fc_create()
430 return counter->cache.lastuse; in mlx5_fc_query_lastuse()
434 u64 *bytes, u64 *packets, u64 *lastuse) in mlx5_fc_query_cached() argument
442 *lastuse = c.lastuse; in mlx5_fc_query_cached()
Den_tc.c1667 u64 lastuse; in mlx5e_tc_update_neigh_used_value() local
1698 lastuse = mlx5_fc_query_lastuse(counter); in mlx5e_tc_update_neigh_used_value()
1699 if (time_after((unsigned long)lastuse, nhe->reported_lastuse)) { in mlx5e_tc_update_neigh_used_value()
4953 u64 lastuse = 0; in mlx5e_stats_flower() local
4975 mlx5_fc_query_cached(counter, &bytes, &packets, &lastuse); in mlx5e_stats_flower()
4998 lastuse = max_t(u64, lastuse, lastuse2); in mlx5e_stats_flower()
5004 flow_stats_update(&f->stats, bytes, packets, 0, lastuse, in mlx5e_stats_flower()
/Linux-v5.10/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-v5.10/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()
247 fl->lastuse = jiffies; in fl_intern()
271 fl->lastuse = jiffies; in __fl6_sock_lookup()
360 fl->lastuse = jiffies; in fl6_renew()
365 if (time_before(fl->expires, fl->lastuse + expires)) in fl6_renew()
366 fl->expires = fl->lastuse + expires; in fl6_renew()
/Linux-v5.10/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_flower.c641 u64 lastuse; in mlxsw_sp_flower_stats() local
657 &drops, &lastuse, &used_hw_stats); in mlxsw_sp_flower_stats()
661 flow_stats_update(&f->stats, bytes, packets, drops, lastuse, in mlxsw_sp_flower_stats()
/Linux-v5.10/include/linux/mlx5/
Dfs.h243 u64 *bytes, u64 *packets, u64 *lastuse);
/Linux-v5.10/tools/include/uapi/linux/
Dpkt_cls.h97 __u64 lastuse; member
/Linux-v5.10/net/core/
Ddst.c72 dst->lastuse = jiffies; in dst_init()
/Linux-v5.10/include/linux/
Dmroute_base.h147 unsigned long lastuse; member
/Linux-v5.10/include/uapi/linux/
Dpkt_cls.h165 __u64 lastuse; member
/Linux-v5.10/net/decnet/
Ddn_route.c194 (now - rt->dst.lastuse) < expire) { in dn_dst_check_expire()
228 (now - rt->dst.lastuse) < expire) { in dn_dst_gc()
1201 rt->dst.lastuse = jiffies; in dn_route_output_slow()
1467 rt->dst.lastuse = jiffies; in dn_route_input_slow()
/Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/en/
Dtc_ct.c952 u64 lastuse, packets, bytes; in mlx5_tc_ct_block_flow_offload_stats() local
959 mlx5_fc_query_cached(entry->shared_counter->counter, &bytes, &packets, &lastuse); in mlx5_tc_ct_block_flow_offload_stats()
960 flow_stats_update(&f->stats, bytes, packets, 0, lastuse, in mlx5_tc_ct_block_flow_offload_stats()

12