Home
last modified time | relevance | path

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

/tools/testing/selftests/bpf/progs/
Dbpf_iter_tcp4.c29 u64 tick_nsec = (NSEC_PER_SEC + CONFIG_HZ/2) / CONFIG_HZ; in jiffies_to_clock_t() local
32 if ((tick_nsec % user_hz_nsec) == 0) { in jiffies_to_clock_t()
38 return x * tick_nsec/user_hz_nsec; in jiffies_to_clock_t()
Dbpf_iter_tcp6.c29 u64 tick_nsec = (NSEC_PER_SEC + CONFIG_HZ/2) / CONFIG_HZ; in jiffies_to_clock_t() local
32 if ((tick_nsec % user_hz_nsec) == 0) { in jiffies_to_clock_t()
38 return x * tick_nsec/user_hz_nsec; in jiffies_to_clock_t()