Linux Perf
rblist.c File Reference
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
#include "rblist.h"
Include dependency graph for rblist.c:

Go to the source code of this file.

Functions

int rblist__add_node (struct rblist *rblist, const void *new_entry)
 
void rblist__remove_node (struct rblist *rblist, struct rb_node *rb_node)
 
static struct rb_node * __rblist__findnew (struct rblist *rblist, const void *entry, bool create)
 
struct rb_node * rblist__find (struct rblist *rblist, const void *entry)
 
struct rb_node * rblist__findnew (struct rblist *rblist, const void *entry)
 
void rblist__init (struct rblist *rblist)
 
void rblist__exit (struct rblist *rblist)
 
void rblist__delete (struct rblist *rblist)
 
struct rb_node * rblist__entry (const struct rblist *rblist, unsigned int idx)
 

Function Documentation

◆ __rblist__findnew()

static struct rb_node* __rblist__findnew ( struct rblist rblist,
const void *  entry,
bool  create 
)
static

Definition at line 51 of file rblist.c.

◆ rblist__add_node()

int rblist__add_node ( struct rblist rblist,
const void *  new_entry 
)

Definition at line 14 of file rblist.c.

◆ rblist__delete()

void rblist__delete ( struct rblist rblist)

Definition at line 115 of file rblist.c.

Here is the call graph for this function:

◆ rblist__entry()

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

Definition at line 123 of file rblist.c.

◆ rblist__exit()

void rblist__exit ( struct rblist rblist)

Definition at line 104 of file rblist.c.

Here is the call graph for this function:

◆ rblist__find()

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

Definition at line 84 of file rblist.c.

Here is the call graph for this function:

◆ rblist__findnew()

struct rb_node* rblist__findnew ( struct rblist rblist,
const void *  entry 
)

Definition at line 89 of file rblist.c.

Here is the call graph for this function:

◆ rblist__init()

void rblist__init ( struct rblist rblist)

Definition at line 94 of file rblist.c.

◆ rblist__remove_node()

void rblist__remove_node ( struct rblist rblist,
struct rb_node *  rb_node 
)

Definition at line 44 of file rblist.c.