Go to the source code of this file.
Functions | |
void * | __default_morecore (ptrdiff_t) |
void * | public_mALLOc (size_t bytes) |
void | public_fREe (void *mem) |
void * | public_rEALLOc (void *oldmem, size_t bytes) |
void * | public_mEMALIGn (size_t alignment, size_t bytes) |
void * | public_aLIGNED_ALLOc (size_t alignment, size_t bytes) |
void * | public_vALLOc (size_t bytes) |
int | public_pMEMALIGn (void **memptr, size_t alignment, size_t size) CMK_THROW |
void * | public_cALLOc (size_t n_elements, size_t elem_size) |
void ** | public_iCALLOc (size_t n, size_t elem_size, void *chunks[]) |
void ** | public_iCOMALLOc (size_t n, size_t sizes[], void *chunks[]) |
int | public_mTRIm (size_t s) |
size_t | public_mUSABLe (void *mem) |
int | public_mALLOPt (int p, int v) |
void | public_mSTATs (void) |
struct | alignas (16) |
Variables | |
CMK_TYPEDEF_UINT8 | _memory_allocated |
CMK_TYPEDEF_UINT8 | _memory_allocated_max |
CMK_TYPEDEF_UINT8 | _memory_allocated_min |
int | __malloc_initialized = -1 |
void *(* | __morecore )(ptrdiff_t) = __default_morecore |
static tsd_key_t | arena_key |
static mutex_t | list_lock |
void* public_mALLOc | ( | size_t | bytes | ) |
void public_fREe | ( | void * | mem | ) |
void* public_rEALLOc | ( | void * | oldmem, | |
size_t | bytes | |||
) |
void* public_vALLOc | ( | size_t | bytes | ) |
size_t public_mUSABLe | ( | void * | mem | ) |
void public_mSTATs | ( | void | ) |
struct alignas | ( | 16 | ) | [read] |
Definition at line 262 of file memory-gnu.C.
References __malloc_initialize_hook, __malloc_initialized, _memory_allocated, PUP::a, arena_key, assert, malloc_segment::base, caller, CmiGetPageSize(), create_mspace_with_base(), PUP::m, mspace_calloc(), mspace_free(), mspace_independent_calloc(), mspace_independent_comalloc(), mspace_malloc(), mspace_malloc_stats(), mspace_mallopt(), mspace_memalign(), mspace_realloc(), mspace_trim(), mutex_lock(), mutex_trylock(), mutex_unlock(), n, malloc_segment::next, p, public_aLIGNED_ALLOc(), public_cALLOc(), public_fREe(), public_iCALLOc(), public_iCOMALLOc(), public_mALLOc(), public_mALLOPt(), public_mEMALIGn(), public_mSTATs(), public_mTRIm(), public_mUSABLe(), public_pMEMALIGn(), public_rEALLOc(), public_vALLOc(), PUP::s, malloc_state::seg, malloc_segment::size, size, size_t, and sizes.
int __malloc_initialized = -1 |
Definition at line 124 of file memory-gnu.C.
Referenced by alignas(), CmiMaxMemoryUsage(), and CmiMemoryUsage().
void*(* __morecore)(ptrdiff_t) = __default_morecore |
Definition at line 258 of file memory-gnu.C.