Home
last modified time | relevance | path

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

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