Home
last modified time | relevance | path

Searched refs:tmr (Results 1 – 1 of 1) sorted by relevance

/fs/
Dtimerfd.c26 struct hrtimer tmr; member
41 struct timerfd_ctx *ctx = container_of(htmr, struct timerfd_ctx, tmr); in timerfd_tmrproc()
57 remaining = hrtimer_expires_remaining(&ctx->tmr); in timerfd_get_remaining()
74 hrtimer_init(&ctx->tmr, ctx->clockid, htmode); in timerfd_setup()
75 hrtimer_set_expires(&ctx->tmr, texp); in timerfd_setup()
76 ctx->tmr.function = timerfd_tmrproc; in timerfd_setup()
78 hrtimer_start(&ctx->tmr, texp, htmode); in timerfd_setup()
85 hrtimer_cancel(&ctx->tmr); in timerfd_release()
146 ticks += hrtimer_forward_now(&ctx->tmr, in timerfd_read()
148 hrtimer_restart(&ctx->tmr); in timerfd_read()
[all …]