/linux-2.6.39/kernel/ |
D | posix-timers.c | 161 static int posix_clock_realtime_get(clockid_t which_clock, struct timespec *tp) in posix_clock_realtime_get() argument 168 static int posix_clock_realtime_set(const clockid_t which_clock, in posix_clock_realtime_set() argument 174 static int posix_clock_realtime_adj(const clockid_t which_clock, in posix_clock_realtime_adj() argument 183 static int posix_ktime_get_ts(clockid_t which_clock, struct timespec *tp) in posix_ktime_get_ts() argument 192 static int posix_get_monotonic_raw(clockid_t which_clock, struct timespec *tp) in posix_get_monotonic_raw() argument 199 static int posix_get_realtime_coarse(clockid_t which_clock, struct timespec *tp) in posix_get_realtime_coarse() argument 205 static int posix_get_monotonic_coarse(clockid_t which_clock, in posix_get_monotonic_coarse() argument 212 static int posix_get_coarse_res(const clockid_t which_clock, struct timespec *tp) in posix_get_coarse_res() argument 218 static int posix_get_boottime(const clockid_t which_clock, struct timespec *tp) in posix_get_boottime() argument 528 SYSCALL_DEFINE3(timer_create, const clockid_t, which_clock, in SYSCALL_DEFINE3() argument [all …]
|
D | posix-cpu-timers.c | 28 static int check_clock(const clockid_t which_clock) in check_clock() argument 32 const pid_t pid = CPUCLOCK_PID(which_clock); in check_clock() 34 if (CPUCLOCK_WHICH(which_clock) >= CPUCLOCK_MAX) in check_clock() 42 if (!p || !(CPUCLOCK_PERTHREAD(which_clock) ? in check_clock() 52 timespec_to_sample(const clockid_t which_clock, const struct timespec *tp) in timespec_to_sample() argument 56 if (CPUCLOCK_WHICH(which_clock) == CPUCLOCK_SCHED) { in timespec_to_sample() 64 static void sample_to_timespec(const clockid_t which_clock, in sample_to_timespec() argument 68 if (CPUCLOCK_WHICH(which_clock) == CPUCLOCK_SCHED) in sample_to_timespec() 74 static inline int cpu_time_before(const clockid_t which_clock, in cpu_time_before() argument 78 if (CPUCLOCK_WHICH(which_clock) == CPUCLOCK_SCHED) { in cpu_time_before() [all …]
|
D | compat.c | 586 long compat_sys_timer_create(clockid_t which_clock, in compat_sys_timer_create() argument 601 return sys_timer_create(which_clock, event, created_timer_id); in compat_sys_timer_create() 644 long compat_sys_clock_settime(clockid_t which_clock, in compat_sys_clock_settime() argument 655 err = sys_clock_settime(which_clock, in compat_sys_clock_settime() 661 long compat_sys_clock_gettime(clockid_t which_clock, in compat_sys_clock_gettime() argument 670 err = sys_clock_gettime(which_clock, in compat_sys_clock_gettime() 678 long compat_sys_clock_adjtime(clockid_t which_clock, in compat_sys_clock_adjtime() argument 691 ret = sys_clock_adjtime(which_clock, (struct timex __user *) &txc); in compat_sys_clock_adjtime() 701 long compat_sys_clock_getres(clockid_t which_clock, in compat_sys_clock_getres() argument 710 err = sys_clock_getres(which_clock, in compat_sys_clock_getres() [all …]
|
D | softirq.c | 576 clockid_t which_clock, enum hrtimer_mode mode) in tasklet_hrtimer_init() argument 578 hrtimer_init(&ttimer->timer, which_clock, mode); in tasklet_hrtimer_init()
|
D | hrtimer.c | 1176 int hrtimer_get_res(const clockid_t which_clock, struct timespec *tp) in hrtimer_get_res() argument 1179 int base = hrtimer_clockid_to_base(which_clock); in hrtimer_get_res()
|
/linux-2.6.39/include/linux/ |
D | posix-timers.h | 87 int (*clock_getres) (const clockid_t which_clock, struct timespec *tp); 88 int (*clock_set) (const clockid_t which_clock, 90 int (*clock_get) (const clockid_t which_clock, struct timespec * tp); 91 int (*clock_adj) (const clockid_t which_clock, struct timex *tx); 93 int (*nsleep) (const clockid_t which_clock, int flags,
|
D | hrtimer.h | 330 extern void hrtimer_init(struct hrtimer *timer, clockid_t which_clock, 334 extern void hrtimer_init_on_stack(struct hrtimer *timer, clockid_t which_clock, 340 clockid_t which_clock, in hrtimer_init_on_stack() argument 343 hrtimer_init(timer, which_clock, mode); in hrtimer_init_on_stack() 379 extern int hrtimer_get_res(const clockid_t which_clock, struct timespec *tp);
|
D | syscalls.h | 305 asmlinkage long sys_timer_create(clockid_t which_clock, 315 asmlinkage long sys_clock_settime(clockid_t which_clock, 317 asmlinkage long sys_clock_gettime(clockid_t which_clock, 319 asmlinkage long sys_clock_adjtime(clockid_t which_clock, 321 asmlinkage long sys_clock_getres(clockid_t which_clock, 323 asmlinkage long sys_clock_nanosleep(clockid_t which_clock, int flags,
|
D | interrupt.h | 610 clockid_t which_clock, enum hrtimer_mode mode);
|
/linux-2.6.39/drivers/char/ |
D | mmtimer.c | 768 static int sgi_clock_getres(const clockid_t which_clock, struct timespec *tp) in sgi_clock_getres() argument
|