'\" t .\" Title: hrtimer_forward .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: January 2017 .\" Manual: Driver Basics .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "HRTIMER_FORWARD" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "Driver Basics" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" hrtimer_forward \- forward the timer expiry .SH "SYNOPSIS" .HP \w'u64\ hrtimer_forward('u .BI "u64 hrtimer_forward(struct\ hrtimer\ *\ " "timer" ", ktime_t\ " "now" ", ktime_t\ " "interval" ");" .SH "ARGUMENTS" .PP \fItimer\fR .RS 4 hrtimer to forward .RE .PP \fInow\fR .RS 4 forward past this time .RE .PP \fIinterval\fR .RS 4 the interval to forward .RE .SH "DESCRIPTION" .PP Forward the timer expiry so it will expire in the future\&. Returns the number of overruns\&. .PP Can be safely called from the callback function of \fItimer\fR\&. If called from other contexts \fItimer\fR must neither be enqueued nor running the callback and the caller needs to take care of serialization\&. .SH "NOTE" .PP This only updates the timer expiry value and does not requeue the timer\&. .SH "COPYRIGHT" .br