• Home
  • Raw
  • Download

Lines Matching refs:t

34 	} t;  member
76 t.tmr); in timerfd_tmrproc()
85 t.alarm); in timerfd_alarmproc()
165 remaining = alarm_expires_remaining(&ctx->t.alarm); in timerfd_get_remaining()
167 remaining = hrtimer_expires_remaining_adjusted(&ctx->t.tmr); in timerfd_get_remaining()
188 alarm_init(&ctx->t.alarm, in timerfd_setup()
193 hrtimer_init(&ctx->t.tmr, clockid, htmode); in timerfd_setup()
194 hrtimer_set_expires(&ctx->t.tmr, texp); in timerfd_setup()
195 ctx->t.tmr.function = timerfd_tmrproc; in timerfd_setup()
201 alarm_start(&ctx->t.alarm, texp); in timerfd_setup()
203 alarm_start_relative(&ctx->t.alarm, texp); in timerfd_setup()
205 hrtimer_start(&ctx->t.tmr, texp, htmode); in timerfd_setup()
223 alarm_cancel(&ctx->t.alarm); in timerfd_release()
225 hrtimer_cancel(&ctx->t.tmr); in timerfd_release()
284 &ctx->t.alarm, ctx->tintv) - 1; in timerfd_read()
285 alarm_restart(&ctx->t.alarm); in timerfd_read()
287 ticks += hrtimer_forward_now(&ctx->t.tmr, in timerfd_read()
289 hrtimer_restart(&ctx->t.tmr); in timerfd_read()
305 struct itimerspec t; in timerfd_show() local
308 t.it_value = ktime_to_timespec(timerfd_get_remaining(ctx)); in timerfd_show()
309 t.it_interval = ktime_to_timespec(ctx->tintv); in timerfd_show()
321 (unsigned long long)t.it_value.tv_sec, in timerfd_show()
322 (unsigned long long)t.it_value.tv_nsec, in timerfd_show()
323 (unsigned long long)t.it_interval.tv_sec, in timerfd_show()
324 (unsigned long long)t.it_interval.tv_nsec); in timerfd_show()
418 alarm_init(&ctx->t.alarm, in SYSCALL_DEFINE2()
423 hrtimer_init(&ctx->t.tmr, clockid, HRTIMER_MODE_ABS); in SYSCALL_DEFINE2()
467 if (alarm_try_to_cancel(&ctx->t.alarm) >= 0) in do_timerfd_settime()
470 if (hrtimer_try_to_cancel(&ctx->t.tmr) >= 0) in do_timerfd_settime()
476 hrtimer_cancel_wait_running(&ctx->t.alarm.timer); in do_timerfd_settime()
478 hrtimer_cancel_wait_running(&ctx->t.tmr); in do_timerfd_settime()
489 alarm_forward_now(&ctx->t.alarm, ctx->tintv); in do_timerfd_settime()
491 hrtimer_forward_now(&ctx->t.tmr, ctx->tintv); in do_timerfd_settime()
507 static int do_timerfd_gettime(int ufd, struct itimerspec64 *t) in do_timerfd_gettime() argument
523 &ctx->t.alarm, ctx->tintv) - 1; in do_timerfd_gettime()
524 alarm_restart(&ctx->t.alarm); in do_timerfd_gettime()
527 hrtimer_forward_now(&ctx->t.tmr, ctx->tintv) in do_timerfd_gettime()
529 hrtimer_restart(&ctx->t.tmr); in do_timerfd_gettime()
532 t->it_value = ktime_to_timespec64(timerfd_get_remaining(ctx)); in do_timerfd_gettime()
533 t->it_interval = ktime_to_timespec64(ctx->tintv); in do_timerfd_gettime()