#include <linux/timerqueue.h>
#include <linux/rbtree.h>
+#include <linux/module.h>
/**
* timerqueue_add - Adds timer to timerqueue.
if (!head->next || node->expires.tv64 < head->next->expires.tv64)
head->next = node;
}
+EXPORT_SYMBOL_GPL(timerqueue_add);
/**
* timerqueue_del - Removes a timer from the timerqueue.
rb_erase(&node->node, &head->head);
RB_CLEAR_NODE(&node->node);
}
-
+EXPORT_SYMBOL_GPL(timerqueue_del);
/**
* timerqueue_getnext - Returns the timer with the earlies expiration time
{
return head->next;
}
-
+EXPORT_SYMBOL_GPL(timerqueue_getnext);
/**
* timerqueue_iterate_next - Returns the timer after the provided timer
return NULL;
return container_of(next, struct timerqueue_node, node);
}
+EXPORT_SYMBOL_GPL(timerqueue_iterate_next);