Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions
idset.c File Reference
#include <linux/vmalloc.h>
#include <linux/bitmap.h>
#include <linux/bitops.h>
#include "idset.h"
#include "css.h"

Go to the source code of this file.

Data Structures

struct  idset
 

Functions

void idset_free (struct idset *set)
 
void idset_clear (struct idset *set)
 
void idset_fill (struct idset *set)
 
struct idsetidset_sch_new (void)
 
void idset_sch_add (struct idset *set, struct subchannel_id schid)
 
void idset_sch_del (struct idset *set, struct subchannel_id schid)
 
void idset_sch_del_subseq (struct idset *set, struct subchannel_id schid)
 
int idset_sch_contains (struct idset *set, struct subchannel_id schid)
 
int idset_sch_get_first (struct idset *set, struct subchannel_id *schid)
 
int idset_is_empty (struct idset *set)
 
void idset_add_set (struct idset *to, struct idset *from)
 

Function Documentation

void idset_add_set ( struct idset to,
struct idset from 
)

Definition at line 126 of file idset.c.

void idset_clear ( struct idset set)

Definition at line 41 of file idset.c.

void idset_fill ( struct idset set)

Definition at line 46 of file idset.c.

void idset_free ( struct idset set)

Definition at line 36 of file idset.c.

int idset_is_empty ( struct idset set)

Definition at line 121 of file idset.c.

void idset_sch_add ( struct idset set,
struct subchannel_id  schid 
)

Definition at line 83 of file idset.c.

int idset_sch_contains ( struct idset set,
struct subchannel_id  schid 
)

Definition at line 101 of file idset.c.

void idset_sch_del ( struct idset set,
struct subchannel_id  schid 
)

Definition at line 88 of file idset.c.

void idset_sch_del_subseq ( struct idset set,
struct subchannel_id  schid 
)

Definition at line 94 of file idset.c.

int idset_sch_get_first ( struct idset set,
struct subchannel_id schid 
)

Definition at line 106 of file idset.c.

struct idset* idset_sch_new ( void  )
read

Definition at line 78 of file idset.c.