---
name: "init_timer_key"
section: "9"
platform: "linux"
package: "linux-manual-3.16"
version: "3.16.56-1+deb8u1"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/init_timer_key"
---

# init\_timer\_key(9)

initialize a timer

## NAME

init\_timer\_key - initialize a timer

## SYNOPSIS

**void init\_timer\_key(struct timer\_list \*** *timer***, unsigned int** *flags***, const char \*** *name***, struct lock\_class\_key \*** *key***);**

## ARGUMENTS

*timer*

the timer to be initialized

*flags*

timer flags

*name*

name of the timer

*key*

lockdep class key of the fake lock used for tracking timer sync lock dependencies

## DESCRIPTION

**init\_timer\_key** must be done to a timer prior calling \*any\* of the other timer functions.

## COPYRIGHT
