'\" t .\" Title: init_timer_key .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: January 2017 .\" Manual: Driver Basics .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "INIT_TIMER_KEY" "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" init_timer_key \- initialize a timer .SH "SYNOPSIS" .HP \w'void\ init_timer_key('u .BI "void init_timer_key(struct\ timer_list\ *\ " "timer" ", unsigned\ int\ " "flags" ", const\ char\ *\ " "name" ", struct\ lock_class_key\ *\ " "key" ");" .SH "ARGUMENTS" .PP \fItimer\fR .RS 4 the timer to be initialized .RE .PP \fIflags\fR .RS 4 timer flags .RE .PP \fIname\fR .RS 4 name of the timer .RE .PP \fIkey\fR .RS 4 lockdep class key of the fake lock used for tracking timer sync lock dependencies .RE .SH "DESCRIPTION" .PP \fBinit_timer_key\fR must be done to a timer prior calling *any* of the other timer functions\&. .SH "COPYRIGHT" .br