Home
last modified time | relevance | path

Searched defs:which_clock (Results 1 – 12 of 12) sorted by relevance

/kernel/linux/linux-4.19/kernel/time/
Dposix-stubs.c61 SYSCALL_DEFINE2(clock_settime, const clockid_t, which_clock, in SYSCALL_DEFINE2() argument
74 int do_clock_gettime(clockid_t which_clock, struct timespec64 *tp) in do_clock_gettime()
92 SYSCALL_DEFINE2(clock_gettime, const clockid_t, which_clock, in SYSCALL_DEFINE2() argument
107 SYSCALL_DEFINE2(clock_getres, const clockid_t, which_clock, struct __kernel_timespec __user *, tp) in SYSCALL_DEFINE2() argument
126 SYSCALL_DEFINE4(clock_nanosleep, const clockid_t, which_clock, int, flags, in SYSCALL_DEFINE4() argument
164 COMPAT_SYSCALL_DEFINE2(clock_settime, const clockid_t, which_clock, in COMPAT_SYSCALL_DEFINE2() argument
177 COMPAT_SYSCALL_DEFINE2(clock_gettime, clockid_t, which_clock, in COMPAT_SYSCALL_DEFINE2() argument
192 COMPAT_SYSCALL_DEFINE2(clock_getres, clockid_t, which_clock, in COMPAT_SYSCALL_DEFINE2() argument
212 COMPAT_SYSCALL_DEFINE4(clock_nanosleep, clockid_t, which_clock, int, flags, in COMPAT_SYSCALL_DEFINE4() argument
Dposix-timers.c189 static int posix_clock_realtime_get(clockid_t which_clock, struct timespec64 *tp) in posix_clock_realtime_get()
196 static int posix_clock_realtime_set(const clockid_t which_clock, in posix_clock_realtime_set()
202 static int posix_clock_realtime_adj(const clockid_t which_clock, in posix_clock_realtime_adj()
211 static int posix_ktime_get_ts(clockid_t which_clock, struct timespec64 *tp) in posix_ktime_get_ts()
220 static int posix_get_monotonic_raw(clockid_t which_clock, struct timespec64 *tp) in posix_get_monotonic_raw()
227 static int posix_get_realtime_coarse(clockid_t which_clock, struct timespec64 *tp) in posix_get_realtime_coarse()
233 static int posix_get_monotonic_coarse(clockid_t which_clock, in posix_get_monotonic_coarse()
240 static int posix_get_coarse_res(const clockid_t which_clock, struct timespec64 *tp) in posix_get_coarse_res()
246 static int posix_get_boottime(const clockid_t which_clock, struct timespec64 *tp) in posix_get_boottime()
252 static int posix_get_tai(clockid_t which_clock, struct timespec64 *tp) in posix_get_tai()
[all …]
Dposix-cpu-timers.c38 static int check_clock(const clockid_t which_clock) in check_clock()
126 posix_cpu_clock_getres(const clockid_t which_clock, struct timespec64 *tp) in posix_cpu_clock_getres()
145 posix_cpu_clock_set(const clockid_t which_clock, const struct timespec64 *tp) in posix_cpu_clock_set()
162 static int cpu_clock_sample(const clockid_t which_clock, in cpu_clock_sample()
244 static int cpu_clock_sample_group(const clockid_t which_clock, in cpu_clock_sample_group()
270 const clockid_t which_clock, in posix_cpu_clock_get_task()
291 static int posix_cpu_clock_get(const clockid_t which_clock, struct timespec64 *tp) in posix_cpu_clock_get()
547 static int cpu_timer_sample_group(const clockid_t which_clock, in cpu_timer_sample_group()
1256 static int do_cpu_nanosleep(const clockid_t which_clock, int flags, in do_cpu_nanosleep()
1353 static int posix_cpu_nsleep(const clockid_t which_clock, int flags, in posix_cpu_nsleep()
[all …]
Dalarmtimer.c642 static int alarm_clock_getres(const clockid_t which_clock, struct timespec64 *tp) in alarm_clock_getres()
659 static int alarm_clock_get(clockid_t which_clock, struct timespec64 *tp) in alarm_clock_get()
789 static int alarm_timer_nsleep(const clockid_t which_clock, int flags, in alarm_timer_nsleep()
/kernel/linux/linux-5.10/kernel/time/
Dposix-stubs.c60 SYSCALL_DEFINE2(clock_settime, const clockid_t, which_clock, in SYSCALL_DEFINE2() argument
73 int do_clock_gettime(clockid_t which_clock, struct timespec64 *tp) in do_clock_gettime()
93 SYSCALL_DEFINE2(clock_gettime, const clockid_t, which_clock, in SYSCALL_DEFINE2() argument
108 SYSCALL_DEFINE2(clock_getres, const clockid_t, which_clock, struct __kernel_timespec __user *, tp) in SYSCALL_DEFINE2() argument
127 SYSCALL_DEFINE4(clock_nanosleep, const clockid_t, which_clock, int, flags, in SYSCALL_DEFINE4() argument
172 SYSCALL_DEFINE2(clock_settime32, const clockid_t, which_clock, in SYSCALL_DEFINE2() argument
185 SYSCALL_DEFINE2(clock_gettime32, clockid_t, which_clock, in SYSCALL_DEFINE2() argument
200 SYSCALL_DEFINE2(clock_getres_time32, clockid_t, which_clock, in SYSCALL_DEFINE2() argument
220 SYSCALL_DEFINE4(clock_nanosleep_time32, clockid_t, which_clock, int, flags, in SYSCALL_DEFINE4() argument
Dposix-timers.c170 static int posix_get_realtime_timespec(clockid_t which_clock, struct timespec64 *tp) in posix_get_realtime_timespec()
176 static ktime_t posix_get_realtime_ktime(clockid_t which_clock) in posix_get_realtime_ktime()
182 static int posix_clock_realtime_set(const clockid_t which_clock, in posix_clock_realtime_set()
188 static int posix_clock_realtime_adj(const clockid_t which_clock, in posix_clock_realtime_adj()
197 static int posix_get_monotonic_timespec(clockid_t which_clock, struct timespec64 *tp) in posix_get_monotonic_timespec()
204 static ktime_t posix_get_monotonic_ktime(clockid_t which_clock) in posix_get_monotonic_ktime()
212 static int posix_get_monotonic_raw(clockid_t which_clock, struct timespec64 *tp) in posix_get_monotonic_raw()
220 static int posix_get_realtime_coarse(clockid_t which_clock, struct timespec64 *tp) in posix_get_realtime_coarse()
226 static int posix_get_monotonic_coarse(clockid_t which_clock, in posix_get_monotonic_coarse()
234 static int posix_get_coarse_res(const clockid_t which_clock, struct timespec64 *tp) in posix_get_coarse_res()
[all …]
Dposix-cpu-timers.c153 posix_cpu_clock_getres(const clockid_t which_clock, struct timespec64 *tp) in posix_cpu_clock_getres()
1364 static int do_cpu_nanosleep(const clockid_t which_clock, int flags, in do_cpu_nanosleep()
1462 static int posix_cpu_nsleep(const clockid_t which_clock, int flags, in posix_cpu_nsleep()
1491 clockid_t which_clock = restart_block->nanosleep.clockid; in posix_cpu_nsleep_restart() local
1502 static int process_cpu_clock_getres(const clockid_t which_clock, in process_cpu_clock_getres()
1507 static int process_cpu_clock_get(const clockid_t which_clock, in process_cpu_clock_get()
1517 static int process_cpu_nsleep(const clockid_t which_clock, int flags, in process_cpu_nsleep()
1522 static int thread_cpu_clock_getres(const clockid_t which_clock, in thread_cpu_clock_getres()
1527 static int thread_cpu_clock_get(const clockid_t which_clock, in thread_cpu_clock_get()
Dalarmtimer.c649 static int alarm_clock_getres(const clockid_t which_clock, struct timespec64 *tp) in alarm_clock_getres()
666 static int alarm_clock_get_timespec(clockid_t which_clock, struct timespec64 *tp) in alarm_clock_get_timespec()
684 static ktime_t alarm_clock_get_ktime(clockid_t which_clock) in alarm_clock_get_ktime()
813 static int alarm_timer_nsleep(const clockid_t which_clock, int flags, in alarm_timer_nsleep()
/kernel/linux/linux-4.19/kernel/
Dsoftirq.c615 clockid_t which_clock, enum hrtimer_mode mode) in tasklet_hrtimer_init()
/kernel/linux/linux-5.10/arch/sparc/kernel/
Dsys_sparc_64.c575 SYSCALL_DEFINE2(sparc_clock_adjtime, const clockid_t, which_clock, in SYSCALL_DEFINE2() argument
/kernel/linux/linux-5.10/include/linux/
Dhrtimer.h395 clockid_t which_clock, in hrtimer_init_on_stack()
/kernel/linux/linux-4.19/include/linux/
Dhrtimer.h375 clockid_t which_clock, in hrtimer_init_on_stack()