Lines Matching refs:clockid
40 int clockid; member
54 return ctx->clockid == CLOCK_REALTIME_ALARM || in isalarm()
55 ctx->clockid == CLOCK_BOOTTIME_ALARM; in isalarm()
162 if ((ctx->clockid == CLOCK_REALTIME || in timerfd_setup_cancel()
163 ctx->clockid == CLOCK_REALTIME_ALARM) && in timerfd_setup_cancel()
194 int clockid = ctx->clockid; in timerfd_setup() local
206 ctx->clockid == CLOCK_REALTIME_ALARM ? in timerfd_setup()
210 hrtimer_init(&ctx->t.tmr, clockid, htmode); in timerfd_setup()
217 texp = timens_ktime_to_host(clockid, texp); in timerfd_setup()
341 ctx->clockid, in timerfd_show()
410 SYSCALL_DEFINE2(timerfd_create, int, clockid, int, flags) in SYSCALL_DEFINE2() argument
421 (clockid != CLOCK_MONOTONIC && in SYSCALL_DEFINE2()
422 clockid != CLOCK_REALTIME && in SYSCALL_DEFINE2()
423 clockid != CLOCK_REALTIME_ALARM && in SYSCALL_DEFINE2()
424 clockid != CLOCK_BOOTTIME && in SYSCALL_DEFINE2()
425 clockid != CLOCK_BOOTTIME_ALARM)) in SYSCALL_DEFINE2()
428 if ((clockid == CLOCK_REALTIME_ALARM || in SYSCALL_DEFINE2()
429 clockid == CLOCK_BOOTTIME_ALARM) && in SYSCALL_DEFINE2()
439 ctx->clockid = clockid; in SYSCALL_DEFINE2()
443 ctx->clockid == CLOCK_REALTIME_ALARM ? in SYSCALL_DEFINE2()
447 hrtimer_init(&ctx->t.tmr, clockid, HRTIMER_MODE_ABS); in SYSCALL_DEFINE2()