Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
ebitmap.c File Reference
#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/errno.h>
#include <net/netlabel.h>
#include "ebitmap.h"
#include "policydb.h"

Go to the source code of this file.

Macros

#define BITS_PER_U64   (sizeof(u64) * 8)
 

Functions

int ebitmap_cmp (struct ebitmap *e1, struct ebitmap *e2)
 
int ebitmap_cpy (struct ebitmap *dst, struct ebitmap *src)
 
int ebitmap_contains (struct ebitmap *e1, struct ebitmap *e2)
 
int ebitmap_get_bit (struct ebitmap *e, unsigned long bit)
 
int ebitmap_set_bit (struct ebitmap *e, unsigned long bit, int value)
 
void ebitmap_destroy (struct ebitmap *e)
 
int ebitmap_read (struct ebitmap *e, void *fp)
 
int ebitmap_write (struct ebitmap *e, void *fp)
 

Macro Definition Documentation

#define BITS_PER_U64   (sizeof(u64) * 8)

Definition at line 25 of file ebitmap.c.

Function Documentation

int ebitmap_cmp ( struct ebitmap e1,
struct ebitmap e2 
)

Definition at line 27 of file ebitmap.c.

int ebitmap_contains ( struct ebitmap e1,
struct ebitmap e2 
)

Definition at line 216 of file ebitmap.c.

int ebitmap_cpy ( struct ebitmap dst,
struct ebitmap src 
)

Definition at line 49 of file ebitmap.c.

void ebitmap_destroy ( struct ebitmap e)

Definition at line 331 of file ebitmap.c.

int ebitmap_get_bit ( struct ebitmap e,
unsigned long  bit 
)

Definition at line 246 of file ebitmap.c.

int ebitmap_read ( struct ebitmap e,
void fp 
)

Definition at line 350 of file ebitmap.c.

int ebitmap_set_bit ( struct ebitmap e,
unsigned long  bit,
int  value 
)

Definition at line 263 of file ebitmap.c.

int ebitmap_write ( struct ebitmap e,
void fp 
)

Definition at line 452 of file ebitmap.c.