hrtimer_forward_now(9) - phpMan
HRTIMER_FORWARD_NOW(9) Driver Basics HRTIMER_FORWARD_NOW(9)
NAME
hrtimer_forward_now - forward the timer expiry so it expires after now
SYNOPSIS
u64 hrtimer_forward_now(struct hrtimer * timer, ktime_t interval);
ARGUMENTS
timer
hrtimer to forward
interval
the interval to forward
DESCRIPTION
Forward the timer expiry so it will expire after the current time of the hrtimer clock
base. Returns the number of overruns.
Can be safely called from the callback function of timer. If called from other contexts
timer must neither be enqueued nor running the callback and the caller needs to take care
of serialization.
NOTE
This only updates the timer expiry value and does not requeue the timer.
COPYRIGHT
Kernel Hackers Manual 4.8. January 2017 HRTIMER_FORWARD_NOW(9)
|