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()
337 ctx->clockid, in timerfd_show()
406 SYSCALL_DEFINE2(timerfd_create, int, clockid, int, flags) in SYSCALL_DEFINE2() argument
416 (clockid != CLOCK_MONOTONIC && in SYSCALL_DEFINE2()
417 clockid != CLOCK_REALTIME && in SYSCALL_DEFINE2()
418 clockid != CLOCK_REALTIME_ALARM && in SYSCALL_DEFINE2()
419 clockid != CLOCK_BOOTTIME && in SYSCALL_DEFINE2()
420 clockid != CLOCK_BOOTTIME_ALARM)) in SYSCALL_DEFINE2()
423 if ((clockid == CLOCK_REALTIME_ALARM || in SYSCALL_DEFINE2()
424 clockid == CLOCK_BOOTTIME_ALARM) && in SYSCALL_DEFINE2()
434 ctx->clockid = clockid; in SYSCALL_DEFINE2()
438 ctx->clockid == CLOCK_REALTIME_ALARM ? in SYSCALL_DEFINE2()
442 hrtimer_init(&ctx->t.tmr, clockid, HRTIMER_MODE_ABS); in SYSCALL_DEFINE2()