]> exis.tech > repos - linux.git/blob - include/linux/timerqueue_types.h
Linux 7.1
[linux.git] / include / linux / timerqueue_types.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _LINUX_TIMERQUEUE_TYPES_H
3 #define _LINUX_TIMERQUEUE_TYPES_H
4
5 #include <linux/rbtree_types.h>
6 #include <linux/types.h>
7
8 struct timerqueue_node {
9 struct rb_node node;
10 ktime_t expires;
11 };
12
13 struct timerqueue_head {
14 struct rb_root_cached rb_root;
15 };
16
17 struct timerqueue_linked_node {
18 struct rb_node_linked node;
19 ktime_t expires;
20 };
21
22 struct timerqueue_linked_head {
23 struct rb_root_linked rb_root;
24 };
25
26 #endif /* _LINUX_TIMERQUEUE_TYPES_H */