'\" t .\" Title: hrtimer_forward_now .\" 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_NOW" "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_now \- forward the timer expiry so it expires after now .SH "SYNOPSIS" .HP \w'u64\ hrtimer_forward_now('u .BI "u64 hrtimer_forward_now(struct\ hrtimer\ *\ " "timer" ", ktime_t\ " "interval" ");" .SH "ARGUMENTS" .PP \fItimer\fR .RS 4 hrtimer to forward .RE .PP \fIinterval\fR .RS 4 the interval to forward .RE .SH "DESCRIPTION" .PP Forward the timer expiry so it will expire after the current time of the hrtimer clock base\&. 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