Searched refs:clockid (Results 1 – 7 of 7) sorted by relevance
/kernel/time/ |
D | namespace.c | 23 ktime_t do_timens_ktime_to_host(clockid_t clockid, ktime_t tim, in do_timens_ktime_to_host() argument 28 switch (clockid) { in do_timens_ktime_to_host() 329 static void show_offset(struct seq_file *m, int clockid, struct timespec64 *ts) in show_offset() argument 333 switch (clockid) { in show_offset() 383 switch (off->clockid) { in proc_timens_set_offset() 422 switch (off->clockid) { in proc_timens_set_offset()
|
D | hrtimer.c | 75 .clockid = CLOCK_MONOTONIC, 80 .clockid = CLOCK_REALTIME, 85 .clockid = CLOCK_BOOTTIME, 90 .clockid = CLOCK_TAI, 95 .clockid = CLOCK_MONOTONIC, 100 .clockid = CLOCK_REALTIME, 105 .clockid = CLOCK_BOOTTIME, 110 .clockid = CLOCK_TAI, 465 debug_init(struct hrtimer *timer, clockid_t clockid, in debug_init() argument 469 trace_hrtimer_init(timer, clockid, mode); in debug_init() [all …]
|
D | alarmtimer.c | 542 static enum alarmtimer_type clock2alarm(clockid_t clockid) in clock2alarm() argument 544 if (clockid == CLOCK_REALTIME_ALARM) in clock2alarm() 546 if (clockid == CLOCK_BOOTTIME_ALARM) in clock2alarm() 827 enum alarmtimer_type type = restart->nanosleep.clockid; in alarm_timer_nsleep_restart() 882 restart->nanosleep.clockid = type; in alarm_timer_nsleep()
|
D | posix-cpu-timers.c | 1614 restart_block->nanosleep.clockid = which_clock; in posix_cpu_nsleep() 1622 clockid_t which_clock = restart_block->nanosleep.clockid; in posix_cpu_nsleep_restart()
|
/kernel/futex/ |
D | syscalls.c | 250 struct __kernel_timespec __user *, timeout, clockid_t, clockid) in SYSCALL_DEFINE5() argument 268 if (clockid == CLOCK_REALTIME) { in SYSCALL_DEFINE5() 273 if (clockid != CLOCK_REALTIME && clockid != CLOCK_MONOTONIC) in SYSCALL_DEFINE5()
|
/kernel/bpf/ |
D | helpers.c | 1151 clockid_t clockid = flags & (MAX_CLOCKS - 1); in BPF_CALL_3() local 1164 (clockid != CLOCK_MONOTONIC && in BPF_CALL_3() 1165 clockid != CLOCK_REALTIME && in BPF_CALL_3() 1166 clockid != CLOCK_BOOTTIME)) in BPF_CALL_3() 1184 hrtimer_init(&t->timer, clockid, HRTIMER_MODE_REL_SOFT); in BPF_CALL_3()
|
/kernel/events/ |
D | core.c | 12396 err = perf_event_set_clock(event, attr.clockid); in SYSCALL_DEFINE5()
|