#include <errno.h>
#include <stdlib.h>
#include <linux/compiler.h>
#include "intlist.h"
Go to the source code of this file.
|
static struct rb_node * | intlist__node_new (struct rblist *rblist __maybe_unused, const void *entry) |
|
static void | int_node__delete (struct int_node *ilist) |
|
static void | intlist__node_delete (struct rblist *rblist __maybe_unused, struct rb_node *rb_node) |
|
static int | intlist__node_cmp (struct rb_node *rb_node, const void *entry) |
|
int | intlist__add (struct intlist *ilist, int i) |
|
void | intlist__remove (struct intlist *ilist, struct int_node *node) |
|
static struct int_node * | __intlist__findnew (struct intlist *ilist, int i, bool create) |
|
struct int_node * | intlist__find (struct intlist *ilist, int i) |
|
struct int_node * | intlist__findnew (struct intlist *ilist, int i) |
|
static int | intlist__parse_list (struct intlist *ilist, const char *s) |
|
struct intlist * | intlist__new (const char *slist) |
|
void | intlist__delete (struct intlist *ilist) |
|
struct int_node * | intlist__entry (const struct intlist *ilist, unsigned int idx) |
|
◆ __intlist__findnew()
static struct int_node* __intlist__findnew |
( |
struct intlist * |
ilist, |
|
|
int |
i, |
|
|
bool |
create |
|
) |
| |
|
static |
◆ int_node__delete()
static void int_node__delete |
( |
struct int_node * |
ilist | ) |
|
|
static |
◆ intlist__add()
int intlist__add |
( |
struct intlist * |
ilist, |
|
|
int |
i |
|
) |
| |
◆ intlist__delete()
void intlist__delete |
( |
struct intlist * |
ilist | ) |
|
◆ intlist__entry()
struct int_node* intlist__entry |
( |
const struct intlist * |
ilist, |
|
|
unsigned int |
idx |
|
) |
| |
◆ intlist__find()
◆ intlist__findnew()
◆ intlist__new()
struct intlist* intlist__new |
( |
const char * |
slist | ) |
|
◆ intlist__node_cmp()
static int intlist__node_cmp |
( |
struct rb_node * |
rb_node, |
|
|
const void * |
entry |
|
) |
| |
|
static |
◆ intlist__node_delete()
static void intlist__node_delete |
( |
struct rblist *rblist |
__maybe_unused, |
|
|
struct rb_node * |
rb_node |
|
) |
| |
|
static |
◆ intlist__node_new()
static struct rb_node* intlist__node_new |
( |
struct rblist *rblist |
__maybe_unused, |
|
|
const void * |
entry |
|
) |
| |
|
static |
◆ intlist__parse_list()
static int intlist__parse_list |
( |
struct intlist * |
ilist, |
|
|
const char * |
s |
|
) |
| |
|
static |
◆ intlist__remove()