Home
last modified time | relevance | path

Searched refs:MAX_CLOCKS (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/include/uapi/linux/
Dtime.h66 #define MAX_CLOCKS 16 macro
/linux-6.1.9/lib/vdso/
Dgettimeofday.c234 if (unlikely((u32) clock >= MAX_CLOCKS)) in __cvdso_clock_gettime_common()
364 if (unlikely((u32) clock >= MAX_CLOCKS)) in __cvdso_clock_getres_common()
/linux-6.1.9/kernel/bpf/
Dhelpers.c1136 clockid_t clockid = flags & (MAX_CLOCKS - 1); in BPF_CALL_3()
1140 BUILD_BUG_ON(MAX_CLOCKS != 16); in BPF_CALL_3()
1147 if (flags >= MAX_CLOCKS || in BPF_CALL_3()
/linux-6.1.9/kernel/time/
Dhrtimer.c116 static const int hrtimer_clock_to_base_table[MAX_CLOCKS] = {
118 [0 ... MAX_CLOCKS - 1] = HRTIMER_MAX_CLOCK_BASES,
1531 if (likely(clock_id < MAX_CLOCKS)) { in hrtimer_clockid_to_base()