conv-core/memory-gnu-hooks.c File Reference

Go to the source code of this file.

Functions

static Void_t * malloc_hook_ini (size_t sz, const __malloc_ptr_t caller) malloc_hook_ini(sz
static Void_t *internal_function mem2mem_check (Void_t *ptr, size_t sz) mem2mem_check(ptr
 munmap_chunk ()
static void free_check (Void_t *mem, const Void_t *caller) free_check(mem
Void_t * public_gET_STATe (void)
int public_sET_STATe (Void_t *msptr)

Variables

static Void_t *caller size_t sz
const __malloc_ptr_t caller
size_t sz
const __malloc_ptr_t caller
size_t sz
const __malloc_ptr_t caller
static int using_malloc_checking
static int disallow_malloc_check
static Void_t *internal_function
sz Void_t * 
ptr
size_t sz
const Void_t * caller
static void caller Void_t * mem
const Void_t * caller
size_t bytes
const Void_t * caller
size_t bytes
const Void_t * caller
const Void_t * caller
 sz
const Void_t * caller
const Void_t * caller


Function Documentation

static Void_t* malloc_hook_ini ( size_t  sz,
const __malloc_ptr_t  caller 
) [static]

static Void_t* internal_function mem2mem_check ( Void_t *  ptr,
size_t  sz 
) [static]

Referenced by malloc_atfork().

munmap_chunk (  ) 

Referenced by free_atfork().

static void free_check ( Void_t *  mem,
const Void_t *  caller 
) [static]

Void_t * public_gET_STATe ( void   ) 

Definition at line 515 of file memory-gnu-hooks.c.

References main_arena, malloc_consolidate(), malloc_state::mutex, and public_mALLOc().

int public_sET_STATe ( Void_t *  msptr  ) 

Definition at line 564 of file memory-gnu-hooks.c.


Variable Documentation

Void_t* caller size_t sz

Definition at line 39 of file memory-gnu-hooks.c.

Referenced by TopoManager::absZ(), CollisionAggregator::aggregate(), AMPI_Pack_size(), BgGetSize(), BgSetSize(), MemoryPool::CheckPool(), CkQ< CharmStrategy * >::CkQ(), CMI_VMI_Distribute_Cluster_Mapping(), CMI_VMI_Reply_Latencies(), CMI_VMI_Send_Spanning_Children(), CmiAsyncBroadcastFn(), CmiAsyncSendFn(), CmiBarrier(), CmiCreatePersistent(), CmiFreeBroadcastFn(), CmiFreeSendFn(), CmiGetNonLocal(), CmiNotifyIdle(), CmiProbeLatencies(), CmiSyncBroadcastFn(), CmiSyncSendFn(), InfoStruct::deletek(), InfoStruct::dup(), FEM_MUtil::FEM_Print_n2e(), FEM_MUtil::FEM_Print_n2n(), InfoStruct::get(), InfoStruct::get_valuelen(), MemoryPool::GetBlock(), BlueGeneLNetwork::latency(), MessageHolder::MessageHolder(), InfoStruct::myfree(), FEM_Mesh::n2e_getAll(), FEM_Mesh::n2n_getAll(), ObjectHeap::ObjectHeap(), CMessage_WSLBStatsMsg::operator new(), CMessage_OutlierThresholdMessage::operator new(), CMessage_OutlierWeightMessage::operator new(), CMessage_OutlierStatsMessage::operator new(), CMessage_TempoMessage::operator new(), CMessage_multicastGrpMsg::operator new(), CMessage_multicastSetupMsg::operator new(), CMessage_cookieMsg::operator new(), CMessage_CkCacheFillMsg::operator new(), CMessage_CkCacheRequestMsg::operator new(), CMessage_ComlibMulticastMsg::operator new(), CMessage_ComlibDummyMsg::operator new(), CMessage_CkReductionNumberMsg::operator new(), CMessage_CkReductionMsg::operator new(), CMessage_CkGroupCallbackMsg::operator new(), CMessage_CkArrayCheckPTReqMessage::operator new(), CMessage_CkProcCheckPTMessage::operator new(), CMessage_CkArrayCheckPTMessage::operator new(), CMessage_CkMarshallMsg::operator new(), CMessage_CkArrayElementMigrateMessage::operator new(), CMessage_FutureInitMsg::operator new(), CMessage_CkQdMsg::operator new(), CMessage_CkDataMsg::operator new(), CMessage_CkCcsRequestMsg::operator new(), CMessage_PacketMsg::operator new(), CMessage_CreateBgNodeMsg::operator new(), CMessage_LBVectorMigrateMsg::operator new(), CMessage_LBMigrateMsg::operator new(), MemoryPool::PutBlock(), SuperBlock::sb_alloc(), InfoStruct::set(), TimeBucket::tb_alloc(), and update_new_element_e2e().

const __malloc_ptr_t caller

Definition at line 39 of file memory-gnu-hooks.c.

Referenced by FEM_master_parallel_part(), FEM_Mesh_allocate(), FEM_Mesh_copy(), FEM_Mesh_data_layoutP(), FEM_Mesh_detect_features(), FEM_Mesh_get2ElementsOnEdge(), FEM_Set_sym_nodes(), FEM_Sym_coordinates(), FORTRAN_AS_C(), FORTRAN_AS_C_RETURN(), FTN_NAME(), FEM_Entity_Types< FEM_Elem >::get(), IDXL_Add_entity(), IDXL_Combine(), IDXL_Create(), IDXL_Destroy(), IDXL_Print(), IDXL_Shift(), IDXL_Sort_2d(), IDXL_Sort_3d(), CkCacheManager::recvData(), FEM_Entity_Types< FEM_Elem >::set(), and FEM_Comm_Holder::~FEM_Comm_Holder().

size_t sz

Definition at line 52 of file memory-gnu-hooks.c.

const __malloc_ptr_t caller

Definition at line 52 of file memory-gnu-hooks.c.

size_t sz

Definition at line 66 of file memory-gnu-hooks.c.

const __malloc_ptr_t caller

Definition at line 66 of file memory-gnu-hooks.c.

int using_malloc_checking [static]

Definition at line 75 of file memory-gnu-hooks.c.

int disallow_malloc_check [static]

Definition at line 93 of file memory-gnu-hooks.c.

Referenced by public_sET_STATe().

Void_t* internal_function sz Void_t* ptr

Definition at line 110 of file memory-gnu-hooks.c.

Referenced by TokenPool::_free(), GreedyCommLB::add_graph(), Comm1LB::add_graph(), ADIOI_Malloc_async_node(), ADIOI_Malloc_request(), ADIOI_Shfp_fname(), AMPI_Accumulate(), AMPI_Allgather(), AMPI_Allgatherv(), AMPI_Allreduce(), AMPI_Alltoall(), AMPI_Alltoall2(), AMPI_Alltoallv(), AMPI_Bcast(), ampi_beginFunc(), AMPI_Cart_create(), ampi_endFunc(), AMPI_Gather(), AMPI_Gatherv(), AMPI_Get(), AMPI_Get_processor_name(), AMPI_Graph_create(), AMPI_Group_compare(), AMPI_Group_difference(), AMPI_Group_excl(), AMPI_Group_incl(), AMPI_Group_intersection(), AMPI_Group_range_excl(), AMPI_Group_range_incl(), AMPI_Group_translate_ranks(), AMPI_Group_union(), AMPI_Iallgather(), AMPI_Iallreduce(), AMPI_Ialltoall(), AMPI_IGet(), AMPI_IGet_Free(), AMPI_IGet_Wait(), AMPI_Info_create(), AMPI_Info_delete(), AMPI_Info_dup(), AMPI_Info_free(), AMPI_Info_get(), AMPI_Info_get_nkeys(), AMPI_Info_get_nthkey(), AMPI_Info_get_valuelen(), AMPI_Info_set(), AMPI_Intercomm_create(), AMPI_Intercomm_merge(), AMPI_Iprobe(), AMPI_Irecv(), AMPI_Ireduce(), AMPI_Isend(), AMPI_Print(), AMPI_Probe(), AMPI_Put(), AMPI_Recv(), AMPI_Reduce(), AMPI_Reduce_scatter(), AMPI_Scan(), AMPI_Scatter(), AMPI_Scatterv(), AMPI_Send(), AMPI_Set_load(), AMPI_Setmigratable(), AMPI_Start_measure(), AMPI_Stop_measure(), AMPI_Topo_test(), AMPI_Win_create(), AMPI_Win_fence(), AMPI_Win_free(), AMPI_Win_get_group(), AMPI_Win_get_name(), AMPI_Win_lock(), AMPI_Win_post(), AMPI_Win_set_name(), AMPI_Win_start(), AMPI_Win_unlock(), ampiInit(), ARMCI_Malloc(), BalanceMyLink(), TraceProjections::beginComputation(), CpdPythonGroup::buildIterator(), check_memory_leaks(), CldComputeNeighborData(), CMI_VMI_CmiAlloc(), CmiGridQueueLookup(), GreedyCommLB::compute_com(), Comm1LB::compute_cost(), CkSparseContiguousReducer< T >::contribute(), copyDatatype(), AmrUserData::createDataWrapper(), CtgGlobalList::CtgGlobalList(), ElanBasicSendFn(), ElanSendQueuedMessages(), emptyRecvBuf(), FiberSetUp(), FTN_NAME(), getAmpiInstance(), CpdPythonGroup::getArray(), CpdPythonGroup::getCast(), LBDBRegistry::getLBAllocFn(), CpdPythonGroup::getStatic(), CpdPythonGroup::getValue(), GKfree(), GKmalloc(), KillOnAllSigs(), LBTopo_imesh_nd< dimension >::LBTopo_imesh_nd(), LBTopo_itorus_nd< dimension >::LBTopo_itorus_nd(), PythonExecute::pack(), pollCmiDirectQ(), processGetEnv(), CkPupAblePtr< T >::pup(), CkPupAllocatePtr< T >::pup(), CkPupAlwaysAllocatePtr< T >::pup(), PUPbytes(), IReq::receive(), RefineKWay(), RefineVolKWay(), ampiParent::registerAmpi(), RemoveSdagComments(), LBDBRegistry::search(), PersReq::start(), TraceCounter::traceInit(), GreedyCommLB::update(), IReq::wait(), and TopoLB::work().

size_t sz

Definition at line 110 of file memory-gnu-hooks.c.

const Void_t* caller

Definition at line 141 of file memory-gnu-hooks.c.

void caller Void_t* mem

Definition at line 264 of file memory-gnu-hooks.c.

Referenced by FTN_NAME(), meta_free(), and TimePool::tmp_alloc().

const Void_t* caller

Definition at line 264 of file memory-gnu-hooks.c.

size_t bytes

Definition at line 299 of file memory-gnu-hooks.c.

Referenced by LBCommData::addMessage(), ARMCI_Get(), ARMCI_Malloc(), ARMCI_Malloc_local(), ARMCI_NbGet(), ARMCI_NbPut(), ARMCI_Put(), ArmciVirtualProcessor::BlockMalloc(), CfutureCreateBuffer(), CmiExtendHandlerTable(), CthResume1(), ComlibGlobalStats::getAverageStats(), RefinerComm::CommTable::increase(), IBMPowerNetwork::latency(), RedStormNetwork::latency(), BlueGeneLNetwork::latency(), BlueGeneNetwork::latency(), LemieuxNetwork::latency(), MSGTIME(), BaseLB::LDStats::print(), and PUPmarshall().

const Void_t* caller

Definition at line 299 of file memory-gnu-hooks.c.

size_t bytes

Definition at line 373 of file memory-gnu-hooks.c.

const Void_t* caller

Definition at line 373 of file memory-gnu-hooks.c.

const Void_t* caller

Definition at line 427 of file memory-gnu-hooks.c.

sz

Definition at line 441 of file memory-gnu-hooks.c.

const Void_t* caller

Definition at line 441 of file memory-gnu-hooks.c.

const Void_t* caller

Definition at line 455 of file memory-gnu-hooks.c.


Generated on Sun Jun 29 13:29:33 2008 for Charm++ by  doxygen 1.5.1