Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/net/wireguard/
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.6.21/tools/testing/selftests/bpf/
Dbench.c408 static __u64 last_time_ns; variable
412 long delta_ns = new_time_ns - last_time_ns; in sigalarm_handler()
416 last_time_ns = new_time_ns; in sigalarm_handler()
428 last_time_ns = get_time_ns(); in setup_timer()