Go to the source code of this file.
Data Structures | |
| struct | malloc_chunk |
| struct | malloc_state |
| struct | malloc_par |
Typedefs | |
| typedef malloc_chunk * | mchunkptr |
| typedef malloc_chunk * | mbinptr |
| typedef malloc_chunk * | mfastbinptr |
Functions | |
| Void_t * | __default_morecore (ptrdiff_t) |
| Void_t * | sbrk (ptrdiff_t) |
| Void_t * | sbrk () |
| size_t | getpagesize () |
| Void_t * | public_mALLOc (size_t) |
| Void_t * | public_mALLOc () |
| void | public_fREe (Void_t *) |
| void | public_fREe () |
| Void_t * | public_cALLOc (size_t, size_t) |
| Void_t * | public_cALLOc () |
| Void_t * | public_rEALLOc (Void_t *, size_t) |
| Void_t * | public_rEALLOc () |
| Void_t * | public_mEMALIGn (size_t, size_t) |
| Void_t * | public_mEMALIGn () |
| Void_t * | public_vALLOc (size_t) |
| Void_t * | public_vALLOc () |
| int | public_mALLOPt (int, int) |
| int | public_mALLOPt () |
| mallinfo | public_mALLINFo (void) |
| Void_t ** | public_iCALLOc (size_t, size_t, Void_t **) |
| Void_t ** | public_iCALLOc () |
| Void_t ** | public_iCOMALLOc (size_t, size_t *, Void_t **) |
| Void_t ** | public_iCOMALLOc () |
| Void_t * | public_pVALLOc (size_t) |
| Void_t * | public_pVALLOc () |
| void | public_cFREe (Void_t *) |
| void | public_cFREe () |
| int | public_mTRIm (size_t) |
| int | public_mTRIm () |
| size_t | public_mUSABLe (Void_t *) |
| size_t | public_mUSABLe () |
| void | public_mSTATs (void) |
| Void_t * | public_gET_STATe (void) |
| int | public_sET_STATe (Void_t *) |
| int | public_sET_STATe () |
| int | __posix_memalign (void **, size_t, size_t) |
| Void_t * | _int_malloc (mstate, size_t) |
| void | _int_free (mstate, Void_t *) |
| Void_t * | _int_realloc (mstate, Void_t *, size_t) |
| Void_t * | _int_memalign (mstate, size_t, size_t) |
| Void_t * | _int_valloc (mstate, size_t) |
| static Void_t * | _int_pvalloc (mstate, size_t) |
| static Void_t ** | _int_icalloc (mstate, size_t, size_t, Void_t **) |
| static Void_t ** | _int_icomalloc (mstate, size_t, size_t *, Void_t **) |
| static int | mTRIm (size_t) |
| static size_t | mUSABLe (Void_t *) |
| static void | mSTATs (void) |
| static int | mALLOPt (int, int) |
| static struct mallinfo | mALLINFo (mstate) |
| static Void_t *internal_function | mem2mem_check (Void_t *p, size_t sz) |
| static int internal_function | top_check (void) |
| static void internal_function | munmap_chunk (mchunkptr p) |
| static mchunkptr internal_function | mremap_chunk (mchunkptr p, size_t new_size) |
| static Void_t * | malloc_check (size_t sz, const Void_t *caller) |
| static void | free_check (Void_t *mem, const Void_t *caller) |
| static Void_t * | realloc_check (Void_t *oldmem, size_t bytes, const Void_t *caller) |
| static Void_t * | memalign_check (size_t alignment, size_t bytes, const Void_t *caller) |
| static Void_t * | malloc_starter (size_t sz, const Void_t *caller) |
| static Void_t * | memalign_starter (size_t aln, size_t sz, const Void_t *caller) |
| static void | free_starter (Void_t *mem, const Void_t *caller) |
| static Void_t * | malloc_atfork (size_t sz, const Void_t *caller) |
| static void | free_atfork (Void_t *mem, const Void_t *caller) |
| Void_t * | _int_malloc () |
| void | _int_free () |
| Void_t * | _int_realloc () |
| Void_t * | _int_memalign () |
| Void_t * | _int_valloc () |
| Void_t * | _int_pvalloc () |
| static Void_t ** | _int_icalloc () |
| static Void_t ** | _int_icomalloc () |
| static int | mTRIm () |
| static size_t | mUSABLe () |
| static int | mALLOPt () |
| static struct mallinfo | mALLINFo () |
| static void | malloc_init_state (mstate av) static void malloc_init_state(av) mstate av |
| static int | sYSTRIm (size_t, mstate) |
| static void | malloc_consolidate (mstate) |
| static Void_t ** | iALLOc (mstate, size_t, size_t *, int, Void_t **) |
| static Void_t * | sYSMALLOc () |
| static int | sYSTRIm () |
| static void | malloc_consolidate () |
| static Void_t ** | iALLOc () |
| static Void_t *malloc_hook_ini | __MALLOC_P ((size_t sz, const __malloc_ptr_t caller)) |
| static Void_t *realloc_hook_ini | __MALLOC_P ((Void_t *ptr, size_t sz, const __malloc_ptr_t caller)) |
| static Void_t *memalign_hook_ini | __MALLOC_P ((size_t alignment, size_t sz, const __malloc_ptr_t caller)) |
| void weak_variable __malloc_initialize_hook | __MALLOC_P ((void)) |
| void weak_variable __free_hook | __MALLOC_P ((__malloc_ptr_t __ptr, const __malloc_ptr_t)) |
| __malloc_ptr_t weak_variable __malloc_hook | __MALLOC_P ((size_t __size, const __malloc_ptr_t)) |
| __malloc_ptr_t weak_variable __realloc_hook | __MALLOC_P ((__malloc_ptr_t __ptr, size_t __size, const __malloc_ptr_t)) |
| __malloc_ptr_t weak_variable __memalign_hook | __MALLOC_P ((size_t __alignment, size_t __size, const __malloc_ptr_t)) |
| static void | do_check_chunk (mstate av, mchunkptr p) static void do_check_chunk(av |
Variables | |
| CMK_TYPEDEF_UINT8 | memory_allocated |
| CMK_TYPEDEF_UINT8 | memory_allocated_max |
| CMK_TYPEDEF_UINT8 | memory_allocated_min |
| Void_t *(*) | __morecore (ptrdiff_t) = __default_morecore |
| static int | dev_zero_fd = -1 |
| static struct malloc_state | main_arena |
| static struct malloc_par | mp_ |
| static void p mstate | av |
| mchunkptr | p |
| mchunkptr | p |
| mchunkptr | p |
| mchunkptr | p |
| INTERNAL_SIZE_T | s |
| mchunkptr | p |
| INTERNAL_SIZE_T | s |
| mstate | av |
| mstate | av |
| size_t | new_size |
| size_t | elem_size |
| size_t | n_elements |
| size_t | elem_size |
| Void_t * | chunks [] |
| size_t | n_elements |
| size_t | sizes [] |
| Void_t * | chunks [] |
| size_t | n_elements |
| size_t * | sizes |
| int | opts |
| Void_t * | chunks [] |
| size_t | bytes |
| size_t | bytes |
| int | value |
| typedef struct malloc_chunk* mchunkptr |
Definition at line 1487 of file memory-gnu.c.
| typedef struct malloc_chunk* mbinptr |
Definition at line 1959 of file memory-gnu.c.
| typedef struct malloc_chunk* mfastbinptr |
Definition at line 2100 of file memory-gnu.c.
| Void_t* __default_morecore | ( | ptrdiff_t | ) |
| Void_t* sbrk | ( | ptrdiff_t | ) |
| Void_t* sbrk | ( | ) |
| size_t getpagesize | ( | ) |
Referenced by getAvailMemory(), meta_getpagesize(), and patch().
| Void_t* public_mALLOc | ( | size_t | ) |
Referenced by malloc_atfork(), and public_gET_STATe().
| Void_t* public_mALLOc | ( | ) |
| void public_fREe | ( | Void_t * | ) |
| void public_fREe | ( | ) |
| Void_t* public_cALLOc | ( | size_t | , | |
| size_t | ||||
| ) |
| Void_t* public_cALLOc | ( | ) |
| Void_t* public_rEALLOc | ( | Void_t * | , | |
| size_t | ||||
| ) |
| Void_t* public_rEALLOc | ( | ) |
| Void_t* public_mEMALIGn | ( | size_t | , | |
| size_t | ||||
| ) |
| Void_t* public_mEMALIGn | ( | ) |
| Void_t* public_vALLOc | ( | size_t | ) |
| Void_t* public_vALLOc | ( | ) |
| int public_mALLOPt | ( | ) |
| struct mallinfo public_mALLINFo | ( | void | ) |
| Void_t** public_iCALLOc | ( | size_t | , | |
| size_t | , | |||
| Void_t ** | ||||
| ) |
| Void_t** public_iCALLOc | ( | ) |
| Void_t** public_iCOMALLOc | ( | size_t | , | |
| size_t * | , | |||
| Void_t ** | ||||
| ) |
| Void_t** public_iCOMALLOc | ( | ) |
| Void_t* public_pVALLOc | ( | size_t | ) |
| Void_t* public_pVALLOc | ( | ) |
| void public_cFREe | ( | Void_t * | ) |
| void public_cFREe | ( | ) |
| int public_mTRIm | ( | size_t | ) |
| int public_mTRIm | ( | ) |
| size_t public_mUSABLe | ( | Void_t * | ) |
| size_t public_mUSABLe | ( | ) |
| void public_mSTATs | ( | void | ) |
| 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 * | ) |
Definition at line 564 of file memory-gnu-hooks.c.
References malloc_state::binmap, disallow_malloc_check, malloc_state::fastbins, malloc_state::last_remainder, main_arena, and malloc_state::mutex.
| int public_sET_STATe | ( | ) |
| int __posix_memalign | ( | void ** | , | |
| size_t | , | |||
| size_t | ||||
| ) |
| Void_t* _int_malloc | ( | mstate | , | |
| size_t | ||||
| ) |
Referenced by malloc_atfork().
| void _int_free | ( | mstate | , | |
| Void_t * | ||||
| ) |
Referenced by free_atfork().
| Void_t* _int_realloc | ( | mstate | , | |
| Void_t * | , | |||
| size_t | ||||
| ) |
| Void_t* _int_memalign | ( | mstate | , | |
| size_t | , | |||
| size_t | ||||
| ) |
| Void_t* _int_valloc | ( | mstate | , | |
| size_t | ||||
| ) |
| static Void_t* _int_pvalloc | ( | mstate | , | |
| size_t | ||||
| ) | [static] |
| static Void_t** _int_icalloc | ( | mstate | , | |
| size_t | , | |||
| size_t | , | |||
| Void_t ** | ||||
| ) | [static] |
| static Void_t** _int_icomalloc | ( | mstate | , | |
| size_t | , | |||
| size_t * | , | |||
| Void_t ** | ||||
| ) | [static] |
| static int mTRIm | ( | size_t | ) | [static] |
| static size_t mUSABLe | ( | Void_t * | ) | [static] |
| static void mSTATs | ( | void | ) | [static] |
| static Void_t* internal_function mem2mem_check | ( | Void_t * | p, | |
| size_t | sz | |||
| ) | [static] |
| static int internal_function top_check | ( | void | ) | [static] |
Referenced by malloc_atfork().
| static void internal_function munmap_chunk | ( | mchunkptr | p | ) | [static] |
| static Void_t* malloc_check | ( | size_t | sz, | |
| const Void_t * | caller | |||
| ) | [static] |
Referenced by malloc_atfork().
| static void free_check | ( | Void_t * | mem, | |
| const Void_t * | caller | |||
| ) | [static] |
| static Void_t* realloc_check | ( | Void_t * | oldmem, | |
| size_t | bytes, | |||
| const Void_t * | caller | |||
| ) | [static] |
| static Void_t* memalign_check | ( | size_t | alignment, | |
| size_t | bytes, | |||
| const Void_t * | caller | |||
| ) | [static] |
| static Void_t* malloc_starter | ( | size_t | sz, | |
| const Void_t * | caller | |||
| ) | [static] |
Referenced by __libc_malloc_pthread_startup().
| static Void_t* memalign_starter | ( | size_t | aln, | |
| size_t | sz, | |||
| const Void_t * | caller | |||
| ) | [static] |
Referenced by __libc_malloc_pthread_startup().
| static void free_starter | ( | Void_t * | mem, | |
| const Void_t * | caller | |||
| ) | [static] |
Referenced by __libc_malloc_pthread_startup().
| static Void_t* malloc_atfork | ( | size_t | sz, | |
| const Void_t * | caller | |||
| ) | [static] |
| static void free_atfork | ( | Void_t * | mem, | |
| const Void_t * | caller | |||
| ) | [static] |
| Void_t* _int_malloc | ( | ) |
| void _int_free | ( | ) |
| Void_t* _int_realloc | ( | ) |
| Void_t* _int_memalign | ( | ) |
| Void_t* _int_valloc | ( | ) |
| Void_t* _int_pvalloc | ( | ) |
| static Void_t** _int_icalloc | ( | ) | [static] |
| static Void_t** _int_icomalloc | ( | ) | [static] |
| static int mTRIm | ( | ) | [static] |
| static size_t mUSABLe | ( | ) | [static] |
| static int mALLOPt | ( | ) | [static] |
| static struct mallinfo mALLINFo | ( | ) | [static] |
| static void malloc_init_state | ( | mstate | av | ) | [static] |
| static void malloc_consolidate | ( | mstate | ) | [static] |
Referenced by public_gET_STATe().
| static Void_t* sYSMALLOc | ( | ) | [static] |
| static int sYSTRIm | ( | ) | [static] |
| static void malloc_consolidate | ( | ) | [static] |
| static Void_t** iALLOc | ( | ) | [static] |
| static Void_t* realloc_hook_ini __MALLOC_P | ( | (Void_t *ptr, size_t sz, const __malloc_ptr_t caller) | ) | [static] |
| static Void_t* memalign_hook_ini __MALLOC_P | ( | (size_t alignment, size_t sz, const __malloc_ptr_t caller) | ) | [static] |
| void weak_variable __malloc_initialize_hook __MALLOC_P | ( | (void) | ) |
| void weak_variable __free_hook __MALLOC_P | ( | (__malloc_ptr_t __ptr, const __malloc_ptr_t) | ) |
| __malloc_ptr_t weak_variable __malloc_hook __MALLOC_P | ( | (size_t __size, const __malloc_ptr_t) | ) |
| __malloc_ptr_t weak_variable __realloc_hook __MALLOC_P | ( | (__malloc_ptr_t __ptr, size_t __size, const __malloc_ptr_t) | ) |
| __malloc_ptr_t weak_variable __memalign_hook __MALLOC_P | ( | (size_t __alignment, size_t __size, const __malloc_ptr_t) | ) |
| CMK_TYPEDEF_UINT8 memory_allocated |
| CMK_TYPEDEF_UINT8 memory_allocated_max |
Definition at line 130 of file memory.c.
Referenced by CmiMaxMemoryUsage(), and CmiResetMaxMemory().
| CMK_TYPEDEF_UINT8 memory_allocated_min |
Definition at line 131 of file memory.c.
Referenced by CmiMinMemoryUsage(), and CmiResetMinMemory().
| Void_t*(*) __morecore(ptrdiff_t) = __default_morecore |
Definition at line 518 of file memory-gnu.c.
int dev_zero_fd = -1 [static] |
Definition at line 1650 of file memory-gnu.c.
struct malloc_state main_arena [static] |
Definition at line 2242 of file memory-gnu.c.
Referenced by __MALLOC_P(), malloc_atfork(), public_gET_STATe(), and public_sET_STATe().
struct malloc_par mp_ [static] |
Definition at line 2246 of file memory-gnu.c.
Definition at line 2374 of file memory-gnu.c.
Definition at line 2374 of file memory-gnu.c.
Referenced by NormalRealSlabArray::acceptDataForFFT(), NormalSlabArray::acceptDataForFFT(), NormalRealSlabArray::acceptDataForIFFT(), NormalSlabArray::acceptDataForIFFT(), CkBbox3d::add(), CollideOctant::add(), CpdList_arrayElements::add(), CpdList_arrayElementNames::add(), CpdList_object::add(), CpdList_objectNames::add(), cg3d::PointSet3d::addHalf(), cg3d::PointSet3d::addPoint(), ADIOI_Fill_send_buffer(), ADIOI_Fill_user_buffer(), CkViewpoint::allOffscreen(), AMPI_Alltoall(), MBlockChunk::apply_bc(), MBlockChunk::apply_bc_all(), MBlockChunk::apply_single_bc(), arg_init(), RefinerComm::assign(), Refiner::assign(), badPointer(), CpdListAccessor::beginItem(), BgLoadOffsets(), BgLoadTraceSummary(), BgReadProc(), BgWriteTimelines(), BgWriteTraceSummary(), block::block(), PUP::toTextFile::bytes(), PUP::toTextUtil::bytes(), cg3d::PointSet3d::calculateHalfspaces(), TopoCentLB::calculateMST(), CkCheckpointMgr::Checkpoint(), checkPupMismatch(), CkArrayPrefetch_readFromSwap(), CkArrayPrefetch_writeToSwap(), CkMemCheckPT::CkMemCheckPT(), CkPupArrayElementsData(), CkPupGroupData(), CkPupMainChareData(), CkPupMessage(), CkPupNodeGroupData(), CkPupProcessorData(), CkPupROData(), CkRestartMain(), CkSectionInfo::CkSectionInfo(), CkShiftPointer(), CmiBarrier(), CmiError(), CmiPoolAlloc(), CmiPoolPrintList(), CmiPrintf(), CmiSendReduce(), cmm_pup_ampi_message(), cmm_pup_mblock_message(), ComboCentLB::ComboCentLB(), eventQueue::CommitEvents(), commState(), CommunicationServer(), RefinerApprox::computeA(), RefinerApprox::computeB(), GVT::computeGVT(), BaseLB::LDStats::computeNonlocalComm(), ConjGrad2(), convex_poly_X(), CPathMakeArray(), CPathRecv(), CPathReduce(), CPathSend(), CPathSendHandler(), CpdList_ccs_list_items_fmt(), CpdList_ccs_list_items_set(), CpdList_ccs_list_items_txt(), CpdListBeginItem_impl(), CpdPupMessage(), CQdMsgSetPhase(), CQdMsgSetProcessed(), CQdSetStage(), CQdSubtreeProcess(), RingMulticastStrategy::createObjectOnSrcPe(), CtgPup(), CthAddListener(), CthClearThreads(), CthInit(), CthPointer(), RefinerComm::deAssign(), Refiner::deAssign(), ComlibManager::DelegatePointerPup(), BgStreaming::depositMsg(), do_load(), NormalRealSlabArray::doFFT(), NormalSlabArray::doFFT(), NormalRealSlabArray::doIFFT(), NormalSlabArray::doIFFT(), earlyExit(), edge::edge(), GenericElement::element_contains_point(), CkLocMgr::emigrate(), PeTable::ExtractAndPack(), PeTable::ExtractAndPackAll(), PeTable::ExtractAndVectorize(), FEM_Mesh_broadcast(), FEM_readMesh(), FEM_writeMesh(), Set::find(), find_largest_free_region(), PUP_fromPagedDisk::findpageentry(), free_atfork(), PUP::fromMemBuf(), FTN_NAME(), getAmpiParent(), ComlibArrayInfo::getCombinedPeList(), ComlibGroupInfo::getCombinedPeList(), CkDiskCheckPTInfo::getCopy(), ComlibArrayInfo::getDestinationPeList(), getenv_display(), getenv_display_no_tamper(), ComlibSectionInfo::getLocalIndices(), ComlibSectionInfo::getPeCount(), ComlibSectionInfo::getPeList(), TriangleSurfaceMesh::getPoint(), TetMesh::getPoint(), PrismMesh::getPoint(), cg3d::Shape3d::getPoint(), cg3d::Planar3d::getPoint(), cg3d::PointSet3d::getPoint(), cg3d::Shape3d::getPointIndex(), cg3d::Planar3d::getPointIndex(), ComlibSectionInfo::getRemotePelist(), getRoccomPconn(), ComlibArrayInfo::getSourcePeList(), getStack(), GVT::GVT(), BroadcastStrategy::handleHypercube(), BroadcastStrategy::handleTree(), hostInfo(), IFEM_Solve_shared(), IFEM_Solve_shared_bc(), CkLocMgr::immigrate(), strat::init(), CkNodeReductionMgr::init_BinomialTree(), TimeBucket::initBucket(), ArrayElement::inmem_checkpoint(), insert_TraceCoreEvent(), GenericElement::interpolate(), cg3d::intersect(), Refiner::isHeavy(), cg3d::PointSet3d::isInside(), Refiner::isLight(), cg3d::PointSet3d::isOutside(), GenericElement::jacobian(), KillOnAllSigs(),