Home
last modified time | relevance | path

Searched refs:last_time_ns (Results 1 – 2 of 2) sorted by relevance

/linux-6.3-rc2/drivers/net/wireguard/
A Dratelimiter.c27 u64 last_time_ns, tokens, ip; member
66 now - entry->last_time_ns > NSEC_PER_SEC) in wg_ratelimiter_gc_entries()
72 now - entry->last_time_ns > NSEC_PER_SEC) in wg_ratelimiter_gc_entries()
124 entry->last_time_ns); in wg_ratelimiter_allow()
125 entry->last_time_ns = now; in wg_ratelimiter_allow()
146 entry->last_time_ns = ktime_get_coarse_boottime_ns(); in wg_ratelimiter_allow()
/linux-6.3-rc2/tools/testing/selftests/bpf/
A Dbench.c404 static __u64 last_time_ns; variable
408 long delta_ns = new_time_ns - last_time_ns; in sigalarm_handler()
412 last_time_ns = new_time_ns; in sigalarm_handler()
424 last_time_ns = get_time_ns(); in setup_timer()

Completed in 10 milliseconds