Home
last modified time | relevance | path

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

/linux/kernel/time/
H A Dposix-stubs.c26 SYSCALL_DEFINE2(clock_settime, const clockid_t, which_clock, in SYSCALL_DEFINE2() argument
31 if (which_clock != CLOCK_REALTIME) in SYSCALL_DEFINE2()
39 static int do_clock_gettime(clockid_t which_clock, struct timespec64 *tp) in do_clock_gettime() argument
41 switch (which_clock) { in do_clock_gettime()
60 SYSCALL_DEFINE2(clock_gettime, const clockid_t, which_clock, in SYSCALL_DEFINE2() argument
66 ret = do_clock_gettime(which_clock, &kernel_tp); in SYSCALL_DEFINE2()
75 SYSCALL_DEFINE2(clock_getres, const clockid_t, which_clock, struct __kernel_timespec __user *, tp) in SYSCALL_DEFINE2() argument
82 switch (which_clock) { in SYSCALL_DEFINE2()
94 SYSCALL_DEFINE4(clock_nanosleep, const clockid_t, which_clock, int, flags, in SYSCALL_DEFINE4() argument
101 switch (which_clock) { in SYSCALL_DEFINE4()
[all …]
H A Dposix-timers.h11 int (*clock_getres)(const clockid_t which_clock,
13 int (*clock_set)(const clockid_t which_clock,
16 int (*clock_get_timespec)(const clockid_t which_clock,
19 ktime_t (*clock_get_ktime)(const clockid_t which_clock);
20 int (*clock_adj)(const clockid_t which_clock, struct __kernel_timex *tx);
22 int (*nsleep)(const clockid_t which_clock, int flags,
H A Dalarmtimer.c612 static int alarm_clock_getres(const clockid_t which_clock, struct timespec64 *tp) in alarm_clock_getres() argument
629 static int alarm_clock_get_timespec(clockid_t which_clock, struct timespec64 *tp) in alarm_clock_get_timespec() argument
631 struct alarm_base *base = &alarm_bases[clock2alarm(which_clock)]; in alarm_clock_get_timespec()
647 static ktime_t alarm_clock_get_ktime(clockid_t which_clock) in alarm_clock_get_ktime() argument
649 struct alarm_base *base = &alarm_bases[clock2alarm(which_clock)]; in alarm_clock_get_ktime()
775 static int alarm_timer_nsleep(const clockid_t which_clock, int flags, in alarm_timer_nsleep() argument
778 enum alarmtimer_type type = clock2alarm(which_clock); in alarm_timer_nsleep()
802 exp = timens_ktime_to_host(which_clock, exp); in alarm_timer_nsleep()
/linux/arch/sparc/kernel/
H A Dsys_sparc_64.c592 SYSCALL_DEFINE2(sparc_clock_adjtime, const clockid_t, which_clock, in SYSCALL_DEFINE2() argument
619 ret = do_clock_adjtime(which_clock, &txc); in SYSCALL_DEFINE2()