Home
last modified time | relevance | path

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

12

/linux/include/net/
A Dact_api.h76 if (tm->lastuse != now) in tcf_lastuse_update()
77 tm->lastuse = now; in tcf_lastuse_update()
85 dtm->lastuse = jiffies_to_clock_t(jiffies - stm->lastuse); in tcf_tm_dump()
258 u64 lastuse, bool hw) in tcf_action_stats_update() argument
264 a->ops->stats_update(a, bytes, packets, drops, lastuse, hw); in tcf_action_stats_update()
A Ddst.h71 unsigned long lastuse; member
235 if (unlikely(time != dst->lastuse)) { in dst_use_noref()
237 dst->lastuse = time; in dst_use_noref()
A Dpkt_cls.h263 u64 bytes, u64 packets, u64 drops, u64 lastuse, in tcf_exts_stats_update() argument
275 lastuse, true); in tcf_exts_stats_update()
/linux/net/ipv4/
A 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/net/sched/
A 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()
A Dact_sample.c195 u64 drops, u64 lastuse, bool hw) in tcf_sample_stats_update() argument
201 tm->lastuse = max_t(u64, tm->lastuse, lastuse); in tcf_sample_stats_update()
A 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()
A Dact_vlan.c347 u64 drops, u64 lastuse, bool hw) in tcf_vlan_stats_update() argument
353 tm->lastuse = max_t(u64, tm->lastuse, lastuse); in tcf_vlan_stats_update()
A Dact_mirred.c329 u64 drops, u64 lastuse, bool hw) in tcf_stats_update() argument
335 tm->lastuse = max_t(u64, tm->lastuse, lastuse); in tcf_stats_update()
A 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()
A Dact_police.c325 u64 lastuse, bool hw) in tcf_police_stats_update() argument
331 tm->lastuse = max_t(u64, tm->lastuse, lastuse); in tcf_police_stats_update()
A 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()
A Dact_ct.c1488 u64 drops, u64 lastuse, bool hw) in tcf_stats_update() argument
1493 c->tcf_tm.lastuse = max_t(u64, c->tcf_tm.lastuse, lastuse); in tcf_stats_update()
/linux/net/netfilter/ipvs/
A 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()
A 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/drivers/net/ethernet/mellanox/mlx5/core/
A Dfs_counters.c50 u64 lastuse; member
171 cache->lastuse = jiffies; in update_counter_cache()
319 counter->cache.lastuse = jiffies; in mlx5_fc_create_ex()
443 return counter->cache.lastuse; in mlx5_fc_query_lastuse()
447 u64 *bytes, u64 *packets, u64 *lastuse) in mlx5_fc_query_cached() argument
455 *lastuse = c.lastuse; in mlx5_fc_query_cached()
/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()
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/drivers/net/ethernet/marvell/prestera/
A Dprestera_flower.c343 u64 lastuse; in prestera_flower_stats() local
352 err = prestera_acl_rule_get_stats(sw, rule, &packets, &bytes, &lastuse); in prestera_flower_stats()
356 flow_stats_update(&f->stats, bytes, packets, 0, lastuse, in prestera_flower_stats()
/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/
A Dbridge_priv.h41 unsigned long lastuse; member
A Dbridge.c1176 entry->lastuse = jiffies; in mlx5_esw_bridge_fdb_entry_init()
1482 entry->lastuse = jiffies; in mlx5_esw_bridge_fdb_update_used()
1546 unsigned long lastuse = in mlx5_esw_bridge_update() local
1552 if (time_after(lastuse, entry->lastuse)) in mlx5_esw_bridge_update()
1555 time_is_before_jiffies(entry->lastuse + bridge->ageing_time)) in mlx5_esw_bridge_update()
/linux/drivers/net/ethernet/mellanox/mlxsw/
A Dspectrum_flower.c664 u64 lastuse; in mlxsw_sp_flower_stats() local
680 &drops, &lastuse, &used_hw_stats); in mlxsw_sp_flower_stats()
684 flow_stats_update(&f->stats, bytes, packets, drops, lastuse, in mlxsw_sp_flower_stats()
/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/diag/
A Dbridge_tracepoint.h30 __entry->used = jiffies_to_msecs(jiffies - fdb->lastuse)
/linux/include/linux/mlx5/
A Dfs.h255 u64 *bytes, u64 *packets, u64 *lastuse);
/linux/tools/include/uapi/linux/
A Dpkt_cls.h97 __u64 lastuse; member
/linux/net/core/
A Ddst.c71 dst->lastuse = jiffies; in dst_init()

Completed in 46 milliseconds

12