Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/progs/
H A Dbpf_iter_tcp4.c30 u64 user_hz_nsec = NSEC_PER_SEC / USER_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()
H A Dbpf_iter_tcp6.c30 u64 user_hz_nsec = NSEC_PER_SEC / USER_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()