1INIT_TIMER_KEY(9)                Driver Basics               INIT_TIMER_KEY(9)
2
3
4

NAME

6       init_timer_key - initialize a timer
7

SYNOPSIS

9       void init_timer_key(struct timer_list * timer, unsigned int flags,
10                           const char * name, struct lock_class_key * key);
11

ARGUMENTS

13       timer
14           the timer to be initialized
15
16       flags
17           timer flags
18
19       name
20           name of the timer
21
22       key
23           lockdep class key of the fake lock used for tracking timer sync
24           lock dependencies
25

DESCRIPTION

27       init_timer_key must be done to a timer prior calling *any* of the other
28       timer functions.
29
31Kernel Hackers Manual 3.10         June 2019                 INIT_TIMER_KEY(9)
Impressum