Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/bpf/progs/
H A 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()
H A 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()
/openbmc/linux/arch/x86/include/asm/
H A Dtimer.h9 #define TICK_SIZE (tick_nsec / 1000)
/openbmc/linux/include/linux/
H A Dtimex.h148 extern unsigned long tick_nsec; /* SHIFTED_HZ period (nsec) */
/openbmc/linux/kernel/time/
H A Dntp.c37 unsigned long tick_nsec; variable
270 tick_nsec = div_u64(second_length, HZ) >> NTP_SCALE_SHIFT; in ntp_update_frequency()