Go to the source code of this file.
Data Structures | |
| struct | _heap_info |
Typedefs | |
| typedef _heap_info | heap_info |
Functions | |
| static __malloc_ptr_t save_malloc_hook | __MALLOC_P ((size_t __size, const __malloc_ptr_t)) |
| static __malloc_ptr_t save_memalign_hook | __MALLOC_P ((size_t __align, size_t __size, const __malloc_ptr_t)) |
| static void save_free_hook | __MALLOC_P ((__malloc_ptr_t __ptr, const __malloc_ptr_t)) |
| static Void_t * | malloc_atfork (size_t sz, const Void_t *caller) |
| static void | free_atfork (Void_t *mem, const Void_t *caller) |
| static void ptmalloc_lock_all | __MALLOC_P ((void)) |
| static char *internal_function | next_env_entry (char ***position) |
| void | __libc_malloc_pthread_startup (bool first_time) |
| thread_atfork_static (ptmalloc_lock_all, ptmalloc_unlock_all,\ptmalloc_unlock_all2) static void dump_heap(heap_info *heap) dump_heap(heap) heap_info *heap | |
Variables | |
| static tsd_key_t | arena_key |
| static mutex_t | list_lock |
| static int | stat_n_heaps |
| static unsigned long | arena_mem |
| int | __malloc_initialized = -1 |
| static Void_t * | save_arena |
| char ** | _environ |
| top_pad | |
| long | diff |
| size_t | pad |
| size_t | size |
| typedef struct _heap_info heap_info |
| static __malloc_ptr_t save_malloc_hook __MALLOC_P | ( | (size_t __size, const __malloc_ptr_t) | ) | [static] |
| static __malloc_ptr_t save_memalign_hook __MALLOC_P | ( | (size_t __align, size_t __size, const __malloc_ptr_t) | ) | [static] |
| static void save_free_hook __MALLOC_P | ( | (__malloc_ptr_t __ptr, const __malloc_ptr_t) | ) | [static] |
| static Void_t* malloc_atfork | ( | size_t | sz, | |
| const Void_t * | caller | |||
| ) | [static] |
Definition at line 157 of file memory-gnu-arena.c.
References _int_malloc(), arena_key, list_lock, main_arena, malloc_check(), mem2mem_check(), public_mALLOc(), and top_check().
Referenced by __MALLOC_P().
| static void free_atfork | ( | Void_t * | mem, | |
| const Void_t * | caller | |||
| ) | [static] |
Definition at line 184 of file memory-gnu-arena.c.
References _int_free(), _heap_info::ar_ptr, arena_key, munmap_chunk(), malloc_state::mutex, and p.
Referenced by __MALLOC_P().
| static void ptmalloc_init __MALLOC_P | ( | (void) | ) | [static] |
Definition at line 219 of file memory-gnu-arena.c.
References __malloc_initialized, _heap_info::ar_ptr, arena_key, free_atfork(), list_lock, main_arena, malloc_atfork(), malloc_state::mutex, and malloc_state::next.
| static char* internal_function next_env_entry | ( | char *** | position | ) | [static] |
Definition at line 300 of file memory-gnu-arena.c.
| void __libc_malloc_pthread_startup | ( | bool | first_time | ) |
Definition at line 353 of file memory-gnu-arena.c.
References free_starter(), malloc_starter(), and memalign_starter().
| thread_atfork_static | ( | ptmalloc_lock_all | , | |
| ptmalloc_unlock_all | , | |||
| \ | ptmalloc_unlock_all2 | |||
| ) |
Definition at line 63 of file memory-gnu-arena.c.
Referenced by __MALLOC_P(), free_atfork(), and malloc_atfork().
int stat_n_heaps [static] |
Definition at line 67 of file memory-gnu-arena.c.
unsigned long arena_mem [static] |
Definition at line 74 of file memory-gnu-arena.c.
| int __malloc_initialized = -1 |
Void_t* save_arena [static] |
Definition at line 146 of file memory-gnu-arena.c.
| char** _environ |
Definition at line 561 of file memory-gnu-arena.c.
| long diff |
Definition at line 617 of file memory-gnu-arena.c.
Referenced by ADIOI_XFS_ReadContig(), ADIOI_XFS_WriteContig(), BgSendPendingCorrections(), coordCompare(), IntegrateAckDatagram(), HbmLB::Loadbalancing(), matchTest(), SelectQueue2(), SelectQueue3(), and NeighborCommLB::Strategy().
| size_t pad |
| size_t size |
Definition at line 711 of file memory-gnu-arena.c.
Referenced by _allocEnv(), _allocMsg(), CkIndex_TraceSummaryBOC::_call_askSummary_marshall3(), CkIndex_CkCacheManager::_call_CkCacheManager_marshall1(), CkIndex_CkCacheManager::_call_CkCacheManager_marshall2(), CkIndex_CkNodeReductionMgr::_call_modifyTree_marshall7(), CkIndex_TraceSummaryBOC::_callmarshall_askSummary_marshall3(), CkIndex_CkCacheManager::_callmarshall_CkCacheManager_marshall1(), CkIndex_CkCacheManager::_callmarshall_CkCacheManager_marshall2(), CkIndex_CkNodeReductionMgr::_callmarshall_modifyTree_marshall7(), _initCharm(), CkIndex_TraceSummaryBOC::_marshallmessagepup_askSummary_marshall3(), CkIndex_CkCacheManager::_marshallmessagepup_CkCacheManager_marshall1(), CkIndex_CkCacheManager::_marshallmessagepup_CkCacheManager_marshall2(), CkIndex_CkNodeReductionMgr::_marshallmessagepup_modifyTree_marshall7(), CpdList_arrayElements::add(), CpdList_object::add(), ADIOI_Exch_and_write(), ADIOI_Fill_send_buffer(), ADIOI_Fill_user_buffer(), ADIOI_GEN_ReadStrided(), ADIOI_GEN_ReadStrided_naive(), ADIOI_GEN_ReadStridedColl(), ADIOI_GEN_WriteStrided(), ADIOI_GEN_WriteStridedColl(), ADIOI_HFS_Fcntl(), ADIOI_NFS_Fcntl(), ADIOI_NFS_ReadStrided(), ADIOI_NFS_WriteStrided(), ADIOI_NTFS_Fcntl(), ADIOI_PIOFS_Fcntl(), ADIOI_PIOFS_WriteStrided(), ADIOI_PVFS_Fcntl(), ADIOI_PVFS_WriteStrided(), ADIOI_PVFS_WriteStridedListIO(), ADIOI_Read_and_exch(), ADIOI_SFS_Fcntl(), ADIOI_UFS_Fcntl(), ADIOI_W_Exchange_data(), ADIOI_XFS_Aligned_Mem_File_Read(), ADIOI_XFS_Aligned_Mem_File_Write(), ADIOI_XFS_ReadContig(), ADIOI_XFS_WriteContig(), envelope::alloc(), CtgGlobalStruct::allocate(), AMPI_Allgather(), AMPI_Allgatherv(), AMPI_Alltoall(), AMPI_Alltoall2(), AMPI_Alltoallv(), AMPI_Comm_remote_size(), AMPI_Comm_size(), ampi_endFunc(), AMPI_Gather(), AMPI_Gatherv(), AMPI_Group_size(), AMPI_Iallgather(), AMPI_Ialltoall(), ampi_msgSend(), AMPI_Reduce_scatter(), AMPI_Scan(), AMPI_Scatter(), AMPI_Scatterv(), AMPI_Testall(), AMPI_Type_size(), AMPI_Waitall(), CProxy_TraceSummaryBOC::askSummary(), CProxyElement_TraceSummaryBOC::askSummary(), TraceSummaryBOC::askSummary(), AssembleDatagram(), bg_dcopy128(), BgCloneMsg(), BgExpandMsg(), BGLTorusManager::BGLTorusManager(), BgSendBufferedCorrMsgs(), FEM_MUtil::buildChunkToNodeTable(), bvset_enumerate(), ampi::cartCreatePhase1(), CcsRecvResponseMsg(), CcsSendRequest(), CcsSendRequestWithTimeout(), CkAllocateMarshallMsg(), CkAllocateMarshallMsgNoninline(), CkAllocBuffer(), CkCacheManager::CkCacheManager(), CkCopyMsg(), CkCreateAttachedFutureSend(), CkCreateLocalGroup(), CProxy_CkCacheManager::ckNew(), CkPupMainChareData(), CkPupMessage(), CkQ< CharmStrategy * >::CkQ(), CkRegisterReadonly(), TempoArray::ckTempoAllReduce(), TempoArray::ckTempoReduce(), CMI_VMI_CmiAlloc(), CMI_VMI_CmiFree(), CMI_VMI_Connection_Handler(), CMI_VMI_Socket_Receive(), CMI_VMI_Socket_Send(), CmiAlloc(), CmiAsyncBroadcastAllFn(), CmiAsyncBroadcastFn(), CmiAsyncListSendFn(), CmiAsyncMulticastFn(), CmiAsyncSendFn(), CmiBarrier(), CmiDMAAlloc(), CmiFree(), CmiFreeBroadcastAllFn(), CmiFreeBroadcastFn(), CmiFreeListSendFn(), CmiFreeMulticastFn(), CmiFreeSendFn(), CmiGetNonLocal(), CmiIsomalloc(), CmiNodeReduce(), CmiReduce(), CmiSendPersistentMsg(), CmiSyncBroadcastAllFn(), CmiSyncBroadcastFn(), CmiSyncListSendFn(), CmiSyncMulticastFn(), CmiSyncSendFn(), CmiSyncSendFn1(), CmiSyncSendPersistent(), CmiTmpAlloc(), ImageData::CombineImageDataSize(), CommunicationServer(), computeUtilForAll(), CkSparseContiguousReducer< T >::contribute(), ConvComlibSendMessage(), converse_msgSent(), CPathEltnoToIndices(), CPathIndicesToEltno(), CPathMakeArray(), CPathMsgDecodeReduction(), CPathSend(), CpdPupMessage(), CpmMakeThreadSize(), CProxy_CkCacheManager::CProxy_CkCacheManager(), win_obj::create(), Cell3D::create_children(), FEM_Mesh::createElemElemAdj(), NormalRealSlabArray::createPlans(), ampi::createWinInstance(), CtgGlobalList::CtgGlobalList(), CthCreate(), CthCreateInner(), CthCreateMigratable(), CthRegister(), ampi::delesend(), MsgPacker::deliver(), BgStreaming::depositMsg(), do_load(), Cell::doIterations(), TreeRouter::EachToAllMulticast(), GridRouter::EachToAllMulticast(), GraphRouter::EachToAllMulticast(), DimexRouter::EachToAllMulticast(), D3GridRouter::EachToAllMulticast(), TreeRouter::EachToManyMulticast(), GridRouter::EachToManyMulticast(), GraphRouter::EachToManyMulticast(), DimexRouter::EachToManyMulticast(), D3GridRouter::EachToManyMulticast(), FEM_AdaptL::edge_contraction_help(), elan_CmiAlloc(), elan_CmiFree(), elan_CmiStaticAlloc(), elan_machine_allreduce(), elan_machine_broadcast(), elan_machine_reduce(), ElanSendFn(), elemDataMsg::elemDataMsg(), emptyRecvBuf(), enqueue_sending(), EnqueueDataPacket(), EnqueueDummyPacket(), EnqueueOutgoingDgram(), EnqueuePacket(), entDataMsg::entDataMsg(), FEM_chunk::exchangeGhostLists(), FEMchunk::exchangeGhostLists(), PeTable::ExtractAndPackAll(), FEM_add_element(), FEM_REF_INIT(), FEM_remove_element(), FEM_remove_node_local(), FIFO_Expand(), MeshStreamingStrategy::FlushColumn(), StreamingStrategy::flushPE(), MeshStreamingStrategy::FlushRow(), FORTRAN_AS_C(), AmrUserData::fragment(), TraceArray::free(), TraceMemory::free(), FTN_NAME(), CpdPythonGroup::getArray(), getAvailMemory(), getDataSegHeader(), FEM_Mesh::getGlobalElem(), FEM_MUtil::getRemoteIdx(), LineFFTinfo::getSquaresize(), ampi::graphCreatePhase1(), BroadcastStrategy::handleHypercube(), BroadcastStrategy::handleTree(), FEM_MUtil::IdxlListTest(), IGetControlClass::iget_free(), infi_CmiAlloc(), infi_CmiFree(), infi_CmiFreeDirect(), initInfiCmiChunkPools(), initSendQ(), ArrayElement::inmem_checkpoint(), insertBufferedBcast(), StreamingStrategy::insertMessage(), PeTable::InsertMsgs(), CtgGlobalList::install(), CtgGlobalList::install_var(), IntegrateMessageDatagram(), receiver::irecv(), receiver::isend(), KillOnAllSigs(), LineFFTinfo::LineFFTinfo(), lookup_obj_sym(), lookup_sym(), makeSet(), TraceArray::malloc(), TraceMemory::malloc(), McChecksum(), mesh_data(), meta_realloc(), CProxy_CkNodeReductionMgr::modifyTree(), CProxyElement_CkNodeReductionMgr::modifyTree(), CkNodeReductionMgr::modifyTree(), MPI_Pack_size(), MPI_Type_create_darray(), mpi_type_create_darray_(), MPI_Type_create_subarray(), MsgPacker::MsgPacker(), NLBStatsMsg::NLBStatsMsg(), ImageData::NumNonNullLists(), FEM_MUtil::packEntData(), femMeshModify::packEntData(), ParFUM_SA_Init(), PerAlloc(), chunk::printSurface(), processEvent(), processMessage(), ProcessMessage(), processRdmaWC(), PumpMsgs(), PumpPersistent(), Cell::pup(), win_obj::pup(), pupChare(), pupMsg(), pupReadonly(), CtgGlobalList::read(), CtgGlobalList::read_var(), readGlobals(), ReceiveDatagram(), MSA_CacheGroup< ENTRY_TYPE, ENTRY_OPS_CLASS, ENTRIES_PER_PAGE >::ReceivePage(), MSA_CacheGroup< ENTRY_TYPE, ENTRY_OPS_CLASS, ENTRIES_PER_PAGE >::ReceivePageWithPUP(), ComlibLocalStats::recordRecv(), ComlibComRec::recordRecv(), ComlibLocalStats::recordRecvM(), ComlibComRec::recordRecvM(), ComlibLocalStats::recordSend(), ComlibComRec::recordSend(), ComlibLocalStats::recordSendM(), ComlibComRec::recordSendM(), NodeMulticast::recvHandler(), Cell::refine(), registerMultiSendMesg(), remote_get(), FEM_MUtil::removeNodeAll(), LineFFTArray::sendFFTMessages(), threadCollideMgr::sendRemote(), SendSpanningChildren(), receiver::sendTo(), TraceSummaryBOC::startSumOnly(), StatTableReduction(), StreamingHandlerFn(), traceCommonInit(), traceFree_c(), traceMalloc_c(), Cell::treeSetup(), PeTable::UnpackAndInsertAll(), FEM_MUtil::updateAttrs(), updateAttrsMsg::updateAttrsMsg(), LBDB::useMem(), vecPrint(), femMeshModify::verifyIdxlList(), FEM_MUtil::verifyIdxlListRemote(), win_obj::win_obj(), CountLogPool::writeSts(), and Cell::~Cell().
1.5.1