Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions
rblist.h File Reference
#include <linux/rbtree.h>
#include <stdbool.h>

Go to the source code of this file.

Data Structures

struct  rblist
 

Functions

void rblist__init (struct rblist *rblist)
 
void rblist__delete (struct rblist *rblist)
 
int rblist__add_node (struct rblist *rblist, const void *new_entry)
 
void rblist__remove_node (struct rblist *rblist, struct rb_node *rb_node)
 
struct rb_noderblist__find (struct rblist *rblist, const void *entry)
 
struct rb_noderblist__entry (const struct rblist *rblist, unsigned int idx)
 

Function Documentation

int rblist__add_node ( struct rblist rblist,
const void new_entry 
)

Definition at line 14 of file rblist.c.

void rblist__delete ( struct rblist rblist)

Definition at line 82 of file rblist.c.

struct rb_node* rblist__entry ( const struct rblist rblist,
unsigned int  idx 
)
read

Definition at line 97 of file rblist.c.

struct rb_node* rblist__find ( struct rblist rblist,
const void entry 
)
read

Definition at line 50 of file rblist.c.

void rblist__init ( struct rblist rblist)

Definition at line 72 of file rblist.c.

void rblist__remove_node ( struct rblist rblist,
struct rb_node rb_node 
)

Definition at line 44 of file rblist.c.