
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 |
| static int | using_malloc_checking |
| static int | disallow_malloc_check |
| static Void_t *internal_function sz Void_t * | ptr |
| static void caller Void_t * | mem |
| size_t | bytes |
| 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_par::max_mmapped_mem, malloc_par::max_n_mmaps, malloc_state::max_system_mem, malloc_par::max_total_mem, malloc_par::mmap_threshold, malloc_par::mmapped_mem, mp_, malloc_state::mutex, malloc_par::n_mmaps, malloc_par::n_mmaps_max, public_mALLOc(), malloc_par::sbrk_base, malloc_state::system_mem, malloc_par::top_pad, and malloc_par::trim_threshold.
| int public_sET_STATe | ( | Void_t * | msptr | ) |
Definition at line 564 of file memory-gnu-hooks.c.
References malloc_state::binmap, malloc_chunk::bk, malloc_state::fastbins, malloc_chunk::fd, malloc_state::last_remainder, main_arena, malloc_par::max_mmapped_mem, malloc_par::max_n_mmaps, malloc_state::max_system_mem, malloc_par::max_total_mem, malloc_par::mmap_threshold, malloc_par::mmapped_mem, mp_, malloc_state::mutex, malloc_par::n_mmaps, malloc_par::n_mmaps_max, malloc_par::sbrk_base, malloc_state::system_mem, malloc_par::top_pad, and malloc_par::trim_threshold.
| size_t sz |
Definition at line 39 of file memory-gnu-hooks.c.
Referenced by TopoManager::absZ(), CollisionAggregator::aggregate(), 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(), InfoStruct::myfree(), InfoStruct::set(), and update_new_element_e2e().
| const Void_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(), forAllCharesDo(), FORTRAN_AS_C(), FORTRAN_AS_C_RETURN(), FTN_NAME(), FEM_Entity_Types< FEM_Elem >::get(), IDXL_Create(), PUPmarshall(), CkCacheManager::recvData(), FEM_Entity_Types< FEM_Elem >::set(), and FEM_Comm_Holder::~FEM_Comm_Holder().
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.
Definition at line 110 of file memory-gnu-hooks.c.
Referenced by _bufferedLocalMessageCopyHandler(), _bufferedTicketRequestHandler(), _isomallocAlign(), GreedyCommLB::add_graph(), CommLB::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_GPU_complete(), 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_Issend(), 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_Set_startevent(), AMPI_Setmigratable(), AMPI_Ssend(), 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(), ARMCI_Malloc_local(), BalanceMyLink(), TraceProjections::beginComputation(), CpdPythonGroup::buildIterator(), CcsMerge_concat(), checksum_update(), CldComputeNeighborData(), CldPutTokenPrio(), CMI_VMI_CmiAlloc(), CmiGridQueueLookup(), CmiSendMessagePxshm(), CmiSendMessageXpmem(), GreedyCommLB::compute_com(), CommLB::compute_cost(), CkSparseContiguousReducer< T >::contribute(), copyDatatype(), cpd_memory_single_pup(), CpdNotify(), CpdPupMessage(), AmrUserData::createDataWrapper(), CtgGlobalList::CtgGlobalList(), emptyRecvBuf(), FiberSetUp(), FTN_NAME(), getAmpiInstance(), CpdPythonGroup::getArray(), CpdPythonGroup::getCast(), LBDBRegistry::getLBAllocFn(), CpdPythonGroup::getStatic(), CpdPythonGroup::getValue(), GKfree(), GKmalloc(), init_comm(), KillOnAllSigs(), LBTOPO_MACRO(), modifypartitions(), PythonExecute::pack(), PUPbytes(), RefineKWay(), RefineVolKWay(), removePtr(), xi::RemoveSdagComments(), LBDBRegistry::search(), search_pemap(), sendBufferedLocalMessageCopy(), SendMsgBuf(), PersReq::start(), startCFnCall(), TraceCounter::traceInit(), GreedyCommLB::update(), SReq::wait(), IReq::wait(), TopoLB::work(), TopoCentLB::work(), and GreedyCommLB::work().
Definition at line 264 of file memory-gnu-hooks.c.
Referenced by cpd_memory_single_pup(), FTN_NAME(), controlPointManager::gatherAll(), HybridBaseLB::printSummary(), controlPointManager::requestAll(), and TimePool::tmp_alloc().
| size_t bytes |
Definition at line 299 of file memory-gnu-hooks.c.
Referenced by CcsHandleRequest(), CmiExtendHandlerTable(), CpdConditional_SetupComm(), CpdFreezeModeScheduler(), CthResume1(), ComlibGlobalStats::getAverageStats(), BaseLB::LDStats::print(), and PUPmarshall().
1.5.5