PPL Logo

conv-core/memory-isomalloc.h File Reference

Go to the source code of this file.

Data Structures

struct  CmiIsomallocBlockList

Typedefs

typedef struct
CmiIsomallocBlockList 
CmiIsomallocBlockList

Functions

void CmiIsomallocPup (pup_er p, void **block)
void CmiIsomallocFree (void *block)
int CmiIsomallocEnabled ()
void CmiEnableIsomalloc ()
void CmiDisableIsomalloc ()
CmiInt8 CmiIsomallocLength (void *block)
int CmiIsomallocInRange (void *addr)
CmiIsomallocBlockListCmiIsomallocBlockListNew (void)
void CmiIsomallocBlockListPup (pup_er p, CmiIsomallocBlockList **l)
void CmiIsomallocBlockListDelete (CmiIsomallocBlockList *l)
void * CmiIsomallocBlockListMalloc (CmiIsomallocBlockList *l, size_t nBytes)
void * CmiIsomallocBlockListMallocAlign (CmiIsomallocBlockList *l, size_t align, size_t nBytes)
void CmiIsomallocBlockListFree (void *doomedMallocedBlock)
void * CmiIsomallocMallocForThread (CthThread th, size_t nBytes)
void * CmiIsomallocMallocAlignForThread (CthThread th, size_t align, size_t nBytes)
void * malloc_nomigrate (size_t size)
void free_nomigrate (void *mem)
void * malloc_reentrant (size_t size)
void free_reentrant (void *mem)
CmiIsomallocBlockListCmiIsomallocBlockListActivate (CmiIsomallocBlockList *l)
CmiIsomallocBlockListCmiIsomallocBlockListCurrent ()


Typedef Documentation

Definition at line 38 of file memory-isomalloc.h.


Function Documentation

void CmiIsomallocPup ( pup_er  p,
void **  block 
)

void CmiIsomallocFree ( void *  block  ) 

Definition at line 2152 of file isomalloc.C.

References all_slotOP(), disabled_unmap(), isomallocStart, CmiIsomallocBlock::length, length2slots(), mempool_free_thread(), n, pointer2block(), PUP::s, CmiIsomallocBlock::slot, and unmap_slots().

Referenced by CmiIsomallocBlockListDelete(), and CmiIsomallocBlockListFree().

Here is the call graph for this function:

Here is the caller graph for this function:

int CmiIsomallocEnabled (  ) 

Definition at line 2096 of file isomalloc.C.

References isomallocStart.

Referenced by checkAddress(), CmiIsomallocMallocAlignForThread(), CmiIsomallocMallocForThread(), and CthAllocateStack().

Here is the caller graph for this function:

CmiInt8 CmiIsomallocLength ( void *  block  ) 

Definition at line 2172 of file isomalloc.C.

References CmiIsomallocBlock::length, and pointer2block().

Referenced by meta_realloc().

Here is the call graph for this function:

Here is the caller graph for this function:

int CmiIsomallocInRange ( void *  addr  ) 

Definition at line 2178 of file isomalloc.C.

References isomallocEnd, isomallocStart, pointer_ge(), and pointer_lt().

Referenced by checkAddress(), meta_free(), and meta_realloc().

Here is the call graph for this function:

Here is the caller graph for this function:

CmiIsomallocBlockList* CmiIsomallocBlockListNew ( void   ) 

void CmiIsomallocBlockListPup ( pup_er  p,
CmiIsomallocBlockList **  l 
)

void CmiIsomallocBlockListDelete ( CmiIsomallocBlockList l  ) 

Definition at line 2448 of file isomalloc.C.

References CmiIsomallocFree(), mempool_destroy(), CmiIsomallocBlockList::next, and CmiIsomallocBlockList::pool.

Referenced by TCharm::clear(), CthThreadBaseFree(), ArmciVirtualProcessor::~ArmciVirtualProcessor(), and TCharm::~TCharm().

Here is the call graph for this function:

Here is the caller graph for this function:

void* CmiIsomallocBlockListMalloc ( CmiIsomallocBlockList l,
size_t  nBytes 
)

Definition at line 2470 of file isomalloc.C.

References CmiIsomallocFromPool(), n, CmiIsomallocBlockList::next, CmiIsomallocBlockList::pool, CmiIsomallocBlockList::prev, and Slot_toUser().

Referenced by ArmciVirtualProcessor::BlockMalloc(), CmiIsomallocMallocForThread(), CthAllocateStack(), and meta_malloc().

Here is the call graph for this function:

Here is the caller graph for this function:

void* CmiIsomallocBlockListMallocAlign ( CmiIsomallocBlockList l,
size_t  align,
size_t  nBytes 
)

Definition at line 2487 of file isomalloc.C.

References isomalloc_internal_alloc_aligned(), n, CmiIsomallocBlockList::next, CmiIsomallocBlockList::prev, and Slot_toUser().

Referenced by CmiIsomallocMallocAlignForThread(), CthAllocateStack(), meta_aligned_alloc(), meta_memalign(), and meta_posix_memalign().

Here is the call graph for this function:

Here is the caller graph for this function:

void CmiIsomallocBlockListFree ( void *  doomedMallocedBlock  ) 

Definition at line 2500 of file isomalloc.C.

References CmiAbort(), CmiIsomallocFree(), n, CmiIsomallocBlockList::next, CmiIsomallocBlockList::prev, and Slot_fmUser().

Referenced by ARMCI_Free(), ARMCI_Free_local(), meta_free(), and CtgGlobalStruct::~CtgGlobalStruct().

Here is the call graph for this function:

Here is the caller graph for this function:

void* CmiIsomallocMallocForThread ( CthThread  th,
size_t  nBytes 
)

Definition at line 2220 of file threads.C.

References CmiIsomallocBlockListMalloc(), CmiIsomallocBlockListNew(), and CmiIsomallocEnabled().

Referenced by CtgGlobalStruct::allocate().

Here is the call graph for this function:

Here is the caller graph for this function:

void* CmiIsomallocMallocAlignForThread ( CthThread  th,
size_t  align,
size_t  nBytes 
)

Definition at line 2227 of file threads.C.

References CmiIsomallocBlockListMallocAlign(), CmiIsomallocBlockListNew(), and CmiIsomallocEnabled().

Referenced by allocNewTLSSeg().

Here is the call graph for this function:

Here is the caller graph for this function:

void* malloc_nomigrate ( size_t  size  ) 

Definition at line 228 of file memory-isomalloc.C.

void free_nomigrate ( void *  mem  ) 

Definition at line 236 of file memory-isomalloc.C.

void * malloc_reentrant ( size_t  size  ) 

Definition at line 421 of file memory.C.

References malloc().

Referenced by create_btree_node(), list_insert(), and new_slotset().

Here is the call graph for this function:

Here is the caller graph for this function:

void free_reentrant ( void *  mem  ) 

Definition at line 422 of file memory.C.

References free().

Referenced by btree_delete(), btree_delete_int(), delete_btree(), delete_list_array(), delete_slotset(), and list_delete().

Here is the call graph for this function:

Here is the caller graph for this function:


Generated on Mon Sep 21 08:02:19 2020 for Charm++ by  doxygen 1.5.5