#ifndef _LINUX_TIMERQUEUE_H #define _LINUX_TIMERQUEUE_H #include <linux/rbtree.h> #include <linux/ktime.h> struct timerqueue_node { struct rb_node node; ktime_t expires; }; struct timerqueue_head { struct rb_root head; struct timerqueue_node *next; }; extern bool timerqueue_add(struct timerqueue_head *head, struct timerqueue_node *node); extern bool timerqueue_del(struct timerqueue_head *head, struct timerqueue_node *node); extern struct timerqueue_node *timerqueue_iterate_next( struct timerqueue_node *node); /** * timerqueue_getnext - Returns the timer with the earliest expiration time * * @head: head of timerqueue * * Returns a pointer to the timer node that has the * earliest expiration time. */
static inline struct timerqueue_node *timerqueue_getnext(struct timerqueue_head *head) { return head->next; }Contributors
Person | Tokens | Prop | Commits | CommitProp |
Thomas Gleixner | 12 | 63.16% | 1 | 33.33% |
John Stultz | 7 | 36.84% | 2 | 66.67% |
Total | 19 | 100.00% | 3 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
John Stultz | 19 | 95.00% | 2 | 66.67% |
Michel Lespinasse | 1 | 5.00% | 1 | 33.33% |
Total | 20 | 100.00% | 3 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
John Stultz | 24 | 100.00% | 2 | 100.00% |
Total | 24 | 100.00% | 2 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
John Stultz | 128 | 87.07% | 2 | 33.33% |
Thomas Gleixner | 17 | 11.56% | 2 | 33.33% |
Lucas De Marchi | 1 | 0.68% | 1 | 16.67% |
Michel Lespinasse | 1 | 0.68% | 1 | 16.67% |
Total | 147 | 100.00% | 6 | 100.00% |