Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
intlist.c File Reference
#include <errno.h>
#include <stdlib.h>
#include <linux/compiler.h>
#include "intlist.h"

Go to the source code of this file.

Functions

int intlist__add (struct intlist *ilist, int i)
 
void intlist__remove (struct intlist *ilist, struct int_node *node)
 
struct int_nodeintlist__find (struct intlist *ilist, int i)
 
struct intlistintlist__new (void)
 
void intlist__delete (struct intlist *ilist)
 
struct int_nodeintlist__entry (const struct intlist *ilist, unsigned int idx)
 

Function Documentation

int intlist__add ( struct intlist ilist,
int  i 
)

Definition at line 50 of file intlist.c.

void intlist__delete ( struct intlist ilist)

Definition at line 85 of file intlist.c.

struct int_node* intlist__entry ( const struct intlist ilist,
unsigned int  idx 
)
read

Definition at line 91 of file intlist.c.

struct int_node* intlist__find ( struct intlist ilist,
int  i 
)
read

Definition at line 60 of file intlist.c.

struct intlist* intlist__new ( void  )
read

Definition at line 71 of file intlist.c.

void intlist__remove ( struct intlist ilist,
struct int_node node 
)

Definition at line 55 of file intlist.c.