usermode/library/pmalloc/src/vhalloc.h File Reference

A simple persistent memory allocator based on Vistaheap. More...

#include <stdlib.h>

Go to the source code of this file.

Defines

#define VHALLOC_PMALLOC(x)   vhalloc_pmalloc(x)
#define VHALLOC_PFREE(x)   vhalloc_pfree(x)
#define VHALLOC_PREALLOC(x, y)   vhalloc_prealloc(x,y)
#define VHALLOC_PCALLOC(x, y)   vhalloc_pcalloc(x,y)
#define VHALLOC_PCFREE(x)   vhalloc_pcfree(x)
#define VHALLOC_PMEMALIGN(x, y)   vhalloc_pmemalign(x,y)
#define VHALLOC_PVALLOC(x)   vhalloc_pvalloc(x)
#define VHALLOC_PGET_USABLE_SIZE(x)   vhalloc_pmalloc_usable_size(x)
#define VHALLOC_PMALLOC_STATS   vhalloc_pmalloc_stats
#define VHALLOC_OBJSIZE(x)   vhalloc_objsize(x)

Functions

TM_CALLABLE void * VHALLOC_PMALLOC (size_t)
TM_CALLABLE void VHALLOC_PFREE (void *mem)
TM_CALLABLE void * VHALLOC_PREALLOC (void *mem, size_t bytes)
TM_CALLABLE void * VHALLOC_PCALLOC (size_t n, size_t elem_size)
TM_CALLABLE void VHALLOC_PCFREE (void *mem)
TM_CALLABLE void * VHALLOC_PMEMALIGN (size_t alignment, size_t bytes)
TM_CALLABLE void * VHALLOC_PVALLOC (size_t bytes)
TM_CALLABLE void VHALLOC_PMALLOC_STATS ()
TM_CALLABLE size_t VHALLOC_PGET_USABLE_SIZE (void *mem)
size_t VHALLOC_OBJSIZE (void *ptr)


Detailed Description

A simple persistent memory allocator based on Vistaheap.

Definition in file vhalloc.h.


Generated on Sat Apr 23 11:43:36 2011 for Mnemosyne by  doxygen 1.4.7