RetroArch
Public Member Functions | Public Attributes | List of all members
MemPool Struct Reference
Collaboration diagram for MemPool:
[legend]

Public Member Functions

bool Ready ()
 
void AddBlock (MemBlock *blk)
 
void DelBlock (MemBlock *b)
 
void InsertBefore (MemBlock *b, MemBlock *p)
 
void InsertAfter (MemBlock *b, MemBlock *n)
 
void CoalesceRight (MemBlock *b)
 
bool Allocate (MemChunk &chunk, u32 size, int align)
 
void Deallocate (const MemChunk &chunk)
 
void Destroy ()
 
u32 GetFreeSpace ()
 

Public Attributes

MemBlockfirst
 
MemBlocklast
 

Member Function Documentation

◆ AddBlock()

void MemPool::AddBlock ( MemBlock blk)
inline
Here is the caller graph for this function:

◆ Allocate()

bool MemPool::Allocate ( MemChunk chunk,
u32  size,
int  align 
)
Here is the caller graph for this function:

◆ CoalesceRight()

void MemPool::CoalesceRight ( MemBlock b)

◆ Deallocate()

void MemPool::Deallocate ( const MemChunk chunk)
Here is the caller graph for this function:

◆ DelBlock()

void MemPool::DelBlock ( MemBlock b)
inline
Here is the call graph for this function:

◆ Destroy()

void MemPool::Destroy ( )
inline
Here is the call graph for this function:

◆ GetFreeSpace()

u32 MemPool::GetFreeSpace ( )
Here is the caller graph for this function:

◆ InsertAfter()

void MemPool::InsertAfter ( MemBlock b,
MemBlock n 
)
inline

◆ InsertBefore()

void MemPool::InsertBefore ( MemBlock b,
MemBlock p 
)
inline

◆ Ready()

bool MemPool::Ready ( )
inline
Here is the caller graph for this function:

Member Data Documentation

◆ first

MemBlock* MemPool::first

◆ last

MemBlock * MemPool::last

The documentation for this struct was generated from the following file: