Lines Matching refs:alarm
32 struct alarm alarm; member
80 static enum alarmtimer_restart timerfd_alarmproc(struct alarm *alarm, in timerfd_alarmproc() argument
83 struct timerfd_ctx *ctx = container_of(alarm, struct timerfd_ctx, in timerfd_alarmproc()
84 t.alarm); in timerfd_alarmproc()
164 remaining = alarm_expires_remaining(&ctx->t.alarm); in timerfd_get_remaining()
187 alarm_init(&ctx->t.alarm, in timerfd_setup()
200 alarm_start(&ctx->t.alarm, texp); in timerfd_setup()
202 alarm_start_relative(&ctx->t.alarm, texp); in timerfd_setup()
222 alarm_cancel(&ctx->t.alarm); in timerfd_release()
283 &ctx->t.alarm, ctx->tintv) - 1; in timerfd_read()
284 alarm_restart(&ctx->t.alarm); in timerfd_read()
417 alarm_init(&ctx->t.alarm, in SYSCALL_DEFINE2()
467 if (alarm_try_to_cancel(&ctx->t.alarm) >= 0) in do_timerfd_settime()
485 alarm_forward_now(&ctx->t.alarm, ctx->tintv); in do_timerfd_settime()
519 &ctx->t.alarm, ctx->tintv) - 1; in do_timerfd_gettime()
520 alarm_restart(&ctx->t.alarm); in do_timerfd_gettime()