#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 | thomas gleixner | 12 | 63.16% | 1 | 33.33% |
john stultz | john stultz | 7 | 36.84% | 2 | 66.67% |
Total | 19 | 100.00% | 3 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
john stultz | john stultz | 19 | 95.00% | 2 | 66.67% |
michel lespinasse | michel lespinasse | 1 | 5.00% | 1 | 33.33% |
Total | 20 | 100.00% | 3 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
john stultz | john stultz | 24 | 100.00% | 2 | 100.00% |
Total | 24 | 100.00% | 2 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
john stultz | john stultz | 128 | 87.07% | 2 | 33.33% |
thomas gleixner | thomas gleixner | 17 | 11.56% | 2 | 33.33% |
lucas de marchi | lucas de marchi | 1 | 0.68% | 1 | 16.67% |
michel lespinasse | michel lespinasse | 1 | 0.68% | 1 | 16.67% |
Total | 147 | 100.00% | 6 | 100.00% |