Function Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
$#!
  _duma_allocate, _DUMA_Slot
  _duma_assert, _DUMA_Slot
  _duma_deallocate, _DUMA_Slot
  _duma_init, _DUMA_Slot
  _duma_kmalloc, _DUMA_Slot
A
  allocateMoreSlots, _DUMA_Slot
D
  duma_init, _DUMA_Slot
I
  ilog2
M
  mprotectFailed
P
  Page_AllowAccess
  Page_Create
  Page_Delete
  Page_DenyAccess
  Page_Size
void * _duma_allocate( size_t  alignment,
size_t  userSize,
int  protectBelow,
int  fillByte,
int  protectAllocList,
enum  _DUMA_Allocator  allocator,
enum _DUMA_FailReturn  fail  DUMA_PARAMLIST_FL )
This is the memory allocator.
void _duma_assert( const  char  * exprstr,
const  char  * filename,
int  lineno )
Print message and halt program execution in crazy way.
void _duma_deallocate( void  * address,
int  protectAllocList,
enum _DUMA_Allocator  allocator  DUMA_PARAMLIST_FL )
Deallocate allocated memory after running some checks, then open slot for use.
void _duma_init( void )
_duma_init sets up the memory allocation arena and the run-time configuration information.
void * _duma_kmalloc( size_t  size,
int  flags  DUMA_PARAMLIST_FL )
A version of kmalloc.
static void allocateMoreSlots( void )
allocateMoreSlots is called when there are only enough slot structures left to support the allocation of a single malloc buffer.
void duma_init( void )
duma_init sets configuration settings.
static inline int ilog2( int  val )
Base 2 log computation.
static void mprotectFailed( void )
Report that VirtualProtect or mprotect failed and abort program execution.
void Page_AllowAccess( void  * address,
size_t  size )
Allow memory access to allocated memory.
static void * Page_Create( size_t  size,
int  exitonfail,
int  printerror,
int  flags )
Create memory.
static void Page_Delete( void  * address,
size_t  size )
Free’s DUMA allocated memory.
static void Page_DenyAccess( void  * address,
size_t  size )
Deny access to allocated memory region.
static size_t Page_Size( void )
Retrieve page size.