Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
rheap.c File Reference
#include <linux/types.h>
#include <linux/errno.h>
#include <linux/kernel.h>
#include <linux/export.h>
#include <linux/mm.h>
#include <linux/err.h>
#include <linux/slab.h>
#include <asm/rheap.h>

Go to the source code of this file.

Functions

rh_info_trh_create (unsigned int alignment)
 
 EXPORT_SYMBOL_GPL (rh_create)
 
void rh_destroy (rh_info_t *info)
 
 EXPORT_SYMBOL_GPL (rh_destroy)
 
void rh_init (rh_info_t *info, unsigned int alignment, int max_blocks, rh_block_t *block)
 
 EXPORT_SYMBOL_GPL (rh_init)
 
int rh_attach_region (rh_info_t *info, unsigned long start, int size)
 
 EXPORT_SYMBOL_GPL (rh_attach_region)
 
unsigned long rh_detach_region (rh_info_t *info, unsigned long start, int size)
 
 EXPORT_SYMBOL_GPL (rh_detach_region)
 
unsigned long rh_alloc_align (rh_info_t *info, int size, int alignment, const char *owner)
 
 EXPORT_SYMBOL_GPL (rh_alloc_align)
 
unsigned long rh_alloc (rh_info_t *info, int size, const char *owner)
 
 EXPORT_SYMBOL_GPL (rh_alloc)
 
unsigned long rh_alloc_fixed (rh_info_t *info, unsigned long start, int size, const char *owner)
 
 EXPORT_SYMBOL_GPL (rh_alloc_fixed)
 
int rh_free (rh_info_t *info, unsigned long start)
 
 EXPORT_SYMBOL_GPL (rh_free)
 
int rh_get_stats (rh_info_t *info, int what, int max_stats, rh_stats_t *stats)
 
 EXPORT_SYMBOL_GPL (rh_get_stats)
 
int rh_set_owner (rh_info_t *info, unsigned long start, const char *owner)
 
 EXPORT_SYMBOL_GPL (rh_set_owner)
 
void rh_dump (rh_info_t *info)
 
 EXPORT_SYMBOL_GPL (rh_dump)
 
void rh_dump_blk (rh_info_t *info, rh_block_t *blk)
 
 EXPORT_SYMBOL_GPL (rh_dump_blk)
 

Function Documentation

EXPORT_SYMBOL_GPL ( rh_create  )
EXPORT_SYMBOL_GPL ( rh_destroy  )
EXPORT_SYMBOL_GPL ( rh_init  )
EXPORT_SYMBOL_GPL ( rh_attach_region  )
EXPORT_SYMBOL_GPL ( rh_detach_region  )
EXPORT_SYMBOL_GPL ( rh_alloc_align  )
EXPORT_SYMBOL_GPL ( rh_alloc  )
EXPORT_SYMBOL_GPL ( rh_alloc_fixed  )
EXPORT_SYMBOL_GPL ( rh_free  )
EXPORT_SYMBOL_GPL ( rh_get_stats  )
EXPORT_SYMBOL_GPL ( rh_set_owner  )
EXPORT_SYMBOL_GPL ( rh_dump  )
EXPORT_SYMBOL_GPL ( rh_dump_blk  )
unsigned long rh_alloc ( rh_info_t info,
int  size,
const char owner 
)

Definition at line 517 of file rheap.c.

unsigned long rh_alloc_align ( rh_info_t info,
int  size,
int  alignment,
const char owner 
)

Definition at line 442 of file rheap.c.

unsigned long rh_alloc_fixed ( rh_info_t info,
unsigned long  start,
int  size,
const char owner 
)

Definition at line 527 of file rheap.c.

int rh_attach_region ( rh_info_t info,
unsigned long  start,
int  size 
)

Definition at line 329 of file rheap.c.

rh_info_t* rh_create ( unsigned int  alignment)

Definition at line 253 of file rheap.c.

void rh_destroy ( rh_info_t info)

Definition at line 285 of file rheap.c.

unsigned long rh_detach_region ( rh_info_t info,
unsigned long  start,
int  size 
)

Definition at line 370 of file rheap.c.

void rh_dump ( rh_info_t info)

Definition at line 704 of file rheap.c.

void rh_dump_blk ( rh_info_t info,
rh_block_t blk 
)

Definition at line 740 of file rheap.c.

int rh_free ( rh_info_t info,
unsigned long  start 
)

Definition at line 612 of file rheap.c.

int rh_get_stats ( rh_info_t info,
int  what,
int  max_stats,
rh_stats_t stats 
)

Definition at line 641 of file rheap.c.

void rh_init ( rh_info_t info,
unsigned int  alignment,
int  max_blocks,
rh_block_t block 
)

Definition at line 300 of file rheap.c.

int rh_set_owner ( rh_info_t info,
unsigned long  start,
const char owner 
)

Definition at line 679 of file rheap.c.