Home
last modified time | relevance | path

Searched refs:which_clock (Results 1 – 6 of 6) 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()
129 SYSCALL_DEFINE2(clock_settime32,const clockid_t,which_clock,struct old_timespec32 __user *,tp) SYSCALL_DEFINE2() argument
142 SYSCALL_DEFINE2(clock_gettime32,clockid_t,which_clock,struct old_timespec32 __user *,tp) SYSCALL_DEFINE2() argument
157 SYSCALL_DEFINE2(clock_getres_time32,clockid_t,which_clock,struct old_timespec32 __user *,tp) SYSCALL_DEFINE2() argument
177 SYSCALL_DEFINE4(clock_nanosleep_time32,clockid_t,which_clock,int,flags,struct old_timespec32 __user *,rqtp,struct old_timespec32 __user *,rmtp) SYSCALL_DEFINE4() argument
[all...]
H A Dposix-cpu-timers.c160 posix_cpu_clock_getres(const clockid_t which_clock, struct timespec64 *tp) in posix_cpu_clock_getres() argument
162 int error = validate_clock_permissions(which_clock); in posix_cpu_clock_getres()
167 if (CPUCLOCK_WHICH(which_clock) == CPUCLOCK_SCHED) { in posix_cpu_clock_getres()
1478 static int do_cpu_nanosleep(const clockid_t which_clock, int flags, in do_cpu_nanosleep() argument
1491 timer.it_clock = which_clock; in do_cpu_nanosleep()
1570 static int posix_cpu_nsleep(const clockid_t which_clock, int flags, in posix_cpu_nsleep() argument
1579 if (CPUCLOCK_PERTHREAD(which_clock) && in posix_cpu_nsleep()
1580 (CPUCLOCK_PID(which_clock) == 0 || in posix_cpu_nsleep()
1581 CPUCLOCK_PID(which_clock) == task_pid_vnr(current))) in posix_cpu_nsleep()
1584 error = do_cpu_nanosleep(which_clock, flag in posix_cpu_nsleep()
1599 clockid_t which_clock = restart_block->nanosleep.clockid; posix_cpu_nsleep_restart() local
1610 process_cpu_clock_getres(const clockid_t which_clock,struct timespec64 * tp) process_cpu_clock_getres() argument
1615 process_cpu_clock_get(const clockid_t which_clock,struct timespec64 * tp) process_cpu_clock_get() argument
1625 process_cpu_nsleep(const clockid_t which_clock,int flags,const struct timespec64 * rqtp) process_cpu_nsleep() argument
1630 thread_cpu_clock_getres(const clockid_t which_clock,struct timespec64 * tp) thread_cpu_clock_getres() argument
1635 thread_cpu_clock_get(const clockid_t which_clock,struct timespec64 * tp) thread_cpu_clock_get() argument
[all...]
H A Dalarmtimer.c603 * @which_clock: clockid
608 static int alarm_clock_getres(const clockid_t which_clock, struct timespec64 *tp) in alarm_clock_getres() argument
620 * @which_clock: clockid
625 static int alarm_clock_get_timespec(clockid_t which_clock, struct timespec64 *tp) in alarm_clock_get_timespec() argument
627 struct alarm_base *base = &alarm_bases[clock2alarm(which_clock)]; in alarm_clock_get_timespec()
639 * @which_clock: clockid
643 static ktime_t alarm_clock_get_ktime(clockid_t which_clock) in alarm_clock_get_ktime() argument
645 struct alarm_base *base = &alarm_bases[clock2alarm(which_clock)]; in alarm_clock_get_ktime()
765 * @which_clock: clockid
771 static int alarm_timer_nsleep(const clockid_t which_clock, in argument
[all...]
/linux/include/linux/
H A Dtimex.h155 extern int do_clock_adjtime(const clockid_t which_clock, struct __kernel_timex * ktx);
H A Dcompat.h689 asmlinkage long compat_sys_timer_create(clockid_t which_clock,
/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()