Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
timerqueue.c File Reference
#include <linux/bug.h>
#include <linux/timerqueue.h>
#include <linux/rbtree.h>
#include <linux/export.h>

Go to the source code of this file.

Functions

void timerqueue_add (struct timerqueue_head *head, struct timerqueue_node *node)
 
 EXPORT_SYMBOL_GPL (timerqueue_add)
 
void timerqueue_del (struct timerqueue_head *head, struct timerqueue_node *node)
 
 EXPORT_SYMBOL_GPL (timerqueue_del)
 
struct timerqueue_nodetimerqueue_iterate_next (struct timerqueue_node *node)
 
 EXPORT_SYMBOL_GPL (timerqueue_iterate_next)
 

Function Documentation

EXPORT_SYMBOL_GPL ( timerqueue_add  )
EXPORT_SYMBOL_GPL ( timerqueue_del  )
EXPORT_SYMBOL_GPL ( timerqueue_iterate_next  )
void timerqueue_add ( struct timerqueue_head head,
struct timerqueue_node node 
)

timerqueue_add - Adds timer to timerqueue.

: head of timerqueue : timer node to be added

Adds the timer node to the timerqueue, sorted by the node's expires value.

Definition at line 39 of file timerqueue.c.

void timerqueue_del ( struct timerqueue_head head,
struct timerqueue_node node 
)

timerqueue_del - Removes a timer from the timerqueue.

: head of timerqueue : timer node to be removed

Removes the timer node from the timerqueue.

Definition at line 72 of file timerqueue.c.

struct timerqueue_node* timerqueue_iterate_next ( struct timerqueue_node node)
read

timerqueue_iterate_next - Returns the timer after the provided timer

: Pointer to a timer.

Provides the timer that is after the given node. This is used, when necessary, to iterate through the list of timers in a timer list without modifying the list.

Definition at line 97 of file timerqueue.c.