File Index
Files and directories
Sign in
FILE

timer_types.h

File preview with syntax highlighting.

linux-6.19.14/include/linux/timer_types.h C
 1/* SPDX-License-Identifier: GPL-2.0 */
 2#ifndef _LINUX_TIMER_TYPES_H
 3#define _LINUX_TIMER_TYPES_H
 4
 5#include <linux/lockdep_types.h>
 6#include <linux/types.h>
 7
 8struct timer_list {
 9	/*
10	 * All fields that change during normal runtime grouped to the
11	 * same cacheline
12	 */
13	struct hlist_node	entry;
14	unsigned long		expires;
15	void			(*function)(struct timer_list *);
16	u32			flags;
17
18#ifdef CONFIG_LOCKDEP
19	struct lockdep_map	lockdep_map;
20#endif
21};
22
23#endif /* _LINUX_TIMER_TYPES_H */
~/ Read-only file preview.