CernVM-FS  2.12.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
MallocArena::AvailBlockCtl Struct Reference

Public Member Functions

AvailBlockCtlGetNextPtr (char *base)
 
AvailBlockCtlGetPrevPtr (char *base)
 
int32_t ConvertToLink (char *base)
 
void ShrinkTo (int32_t smaller_size)
 

Public Attributes

int32_t size
 
int32_t link_next
 
int32_t link_prev
 

Detailed Description

Lower boundary of a free block. Note that the linking of blocks is not necessarily in ascending order but random.

Definition at line 105 of file malloc_arena.h.

Member Function Documentation

int32_t MallocArena::AvailBlockCtl::ConvertToLink ( char *  base)
inline

Definition at line 112 of file malloc_arena.h.

Referenced by MallocArena::EnqueueAvailBlock(), and MallocArena::MallocArena().

Here is the caller graph for this function:

AvailBlockCtl* MallocArena::AvailBlockCtl::GetNextPtr ( char *  base)
inline

Definition at line 106 of file malloc_arena.h.

Referenced by MallocArena::CreateInitialized(), MallocArena::FindAvailBlock(), and MallocArena::UnlinkAvailBlock().

Here is the caller graph for this function:

AvailBlockCtl* MallocArena::AvailBlockCtl::GetPrevPtr ( char *  base)
inline

Definition at line 109 of file malloc_arena.h.

Referenced by MallocArena::EnqueueAvailBlock(), and MallocArena::UnlinkAvailBlock().

Here is the caller graph for this function:

void MallocArena::AvailBlockCtl::ShrinkTo ( int32_t  smaller_size)
inline

Definition at line 115 of file malloc_arena.h.

Referenced by MallocArena::ReserveBlock().

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

int32_t MallocArena::AvailBlockCtl::link_next
int32_t MallocArena::AvailBlockCtl::link_prev

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