Go to the source code of this file.
|
DLMALLOC_EXPORT mspace | create_mspace (size_t capacity, int locked) |
|
DLMALLOC_EXPORT size_t | destroy_mspace (mspace msp) |
|
DLMALLOC_EXPORT mspace | create_mspace_with_base (void *base, size_t capacity, int locked) |
|
DLMALLOC_EXPORT int | mspace_track_large_chunks (mspace msp, int enable) |
|
DLMALLOC_EXPORT void * | mspace_malloc (mspace msp, size_t bytes) |
|
DLMALLOC_EXPORT void | mspace_free (mspace msp, void *mem) |
|
DLMALLOC_EXPORT void * | mspace_realloc (mspace msp, void *mem, size_t newsize) |
|
DLMALLOC_EXPORT void * | mspace_calloc (mspace msp, size_t n_elements, size_t elem_size) |
|
DLMALLOC_EXPORT void * | mspace_memalign (mspace msp, size_t alignment, size_t bytes) |
|
DLMALLOC_EXPORT void ** | mspace_independent_calloc (mspace msp, size_t n_elements, size_t elem_size, void *chunks[]) |
|
DLMALLOC_EXPORT void ** | mspace_independent_comalloc (mspace msp, size_t n_elements, size_t sizes[], void *chunks[]) |
|
DLMALLOC_EXPORT size_t | mspace_footprint (mspace msp) |
|
DLMALLOC_EXPORT size_t | mspace_max_footprint (mspace msp) |
|
DLMALLOC_EXPORT struct dlmallinfo | mspace_mallinfo (mspace msp) |
|
DLMALLOC_EXPORT size_t | mspace_usable_size (const void *mem) |
|
DLMALLOC_EXPORT void | mspace_malloc_stats (mspace msp) |
|
DLMALLOC_EXPORT int | mspace_trim (mspace msp, size_t pad) |
|
DLMALLOC_EXPORT int | mspace_mallopt (int, int) |
|
DLMALLOC_EXPORT void * | mspace_get_aligned (mspace msp, unsigned long n_user_data_bytes, unsigned long align, unsigned long align_offset) |
|
DLMALLOC_EXPORT int | mspace_is_heap_object (mspace msp, void *p) |
|
DLMALLOC_EXPORT void | mspace_get_address_and_size (mspace msp, char **addrp, size_t *sizep) |
|
DLMALLOC_EXPORT void | mspace_put (mspace msp, void *p) |
|
DLMALLOC_EXPORT void | mspace_put_no_offset (mspace msp, void *p) |
|
DLMALLOC_EXPORT size_t | mspace_usable_size_with_delta (const void *p) |
|
DLMALLOC_EXPORT void | mspace_disable_expand (mspace msp) |
|
DLMALLOC_EXPORT void * | mspace_least_addr (mspace msp) |
|
DLMALLOC_EXPORT void | mheap_get_trace (uword offset, uword size) |
|
DLMALLOC_EXPORT void | mheap_put_trace (uword offset, uword size) |
|
DLMALLOC_EXPORT int | mspace_enable_disable_trace (mspace msp, int enable) |
|
DLMALLOC_EXPORT int | mspace_is_traced (mspace msp) |
|
◆ DEFAULT_GRANULARITY
#define DEFAULT_GRANULARITY ((size_t)64U * (size_t)1024U) |
◆ DEFAULT_MMAP_THRESHOLD
#define DEFAULT_MMAP_THRESHOLD ((size_t)~0ULL) |
◆ DEFAULT_TRIM_THRESHOLD
#define DEFAULT_TRIM_THRESHOLD ((size_t)2U * (size_t)1024U * (size_t)1024U) |
◆ DLM_ABORT
◆ DLM_ABORT_ON_ASSERT_FAILURE
#define DLM_ABORT_ON_ASSERT_FAILURE 1 |
◆ DLM_MAGIC_CONSTANT
#define DLM_MAGIC_CONSTANT 0xdeaddabe |
◆ DLMALLOC_EXPORT
#define DLMALLOC_EXPORT extern |
◆ DLMALLOC_VERSION
#define DLMALLOC_VERSION 20806 |
◆ FOOTERS
#define FOOTERS 1 /* extra debugging */ |
◆ FORCEINLINE
◆ HAVE_MMAP
◆ HAVE_MORECORE
◆ HAVE_MREMAP
◆ INSECURE
◆ M_GRANULARITY
#define M_GRANULARITY (-2) |
◆ M_MMAP_THRESHOLD
#define M_MMAP_THRESHOLD (-3) |
◆ M_TRIM_THRESHOLD
#define M_TRIM_THRESHOLD (-1) |
◆ MALLINFO_FIELD_TYPE
#define MALLINFO_FIELD_TYPE size_t |
◆ MALLOC_ALIGNMENT
#define MALLOC_ALIGNMENT ((size_t)(2 * sizeof(void *))) |
◆ MALLOC_FAILURE_ACTION
#define MALLOC_FAILURE_ACTION errno = ENOMEM; |
◆ MALLOC_INSPECT_ALL
#define MALLOC_INSPECT_ALL 0 |
◆ MAX_RELEASE_CHECK_RATE
#define MAX_RELEASE_CHECK_RATE 4095 |
◆ MAX_SIZE_T
#define MAX_SIZE_T (~(size_t)0) |
◆ MMAP_CLEARS
◆ MORECORE_CONTIGUOUS
#define MORECORE_CONTIGUOUS 0 |
◆ MSPACES
◆ NO_MALLINFO
◆ NO_MALLOC_STATS
#define NO_MALLOC_STATS 0 |
◆ NO_SEGMENT_TRAVERSAL
#define NO_SEGMENT_TRAVERSAL 0 |
◆ NOINLINE
◆ ONLY_MSPACES
◆ PROCEED_ON_ERROR
#define PROCEED_ON_ERROR 0 |
◆ STRUCT_MALLINFO_DECLARED
#define STRUCT_MALLINFO_DECLARED 1 |
◆ USE_BUILTIN_FFS
#define USE_BUILTIN_FFS 0 |
◆ USE_DEV_RANDOM
◆ USE_LOCKS
◆ mspace
◆ create_mspace()
◆ create_mspace_with_base()
◆ destroy_mspace()
◆ mheap_get_trace()
◆ mheap_put_trace()
◆ mspace_calloc()
◆ mspace_disable_expand()
◆ mspace_enable_disable_trace()
◆ mspace_footprint()
◆ mspace_free()
◆ mspace_get_address_and_size()
◆ mspace_get_aligned()
DLMALLOC_EXPORT void* mspace_get_aligned |
( |
mspace |
msp, |
|
|
unsigned long |
n_user_data_bytes, |
|
|
unsigned long |
align, |
|
|
unsigned long |
align_offset |
|
) |
| |
◆ mspace_independent_calloc()
DLMALLOC_EXPORT void** mspace_independent_calloc |
( |
mspace |
msp, |
|
|
size_t |
n_elements, |
|
|
size_t |
elem_size, |
|
|
void * |
chunks[] |
|
) |
| |
◆ mspace_independent_comalloc()
DLMALLOC_EXPORT void** mspace_independent_comalloc |
( |
mspace |
msp, |
|
|
size_t |
n_elements, |
|
|
size_t |
sizes[], |
|
|
void * |
chunks[] |
|
) |
| |
◆ mspace_is_heap_object()
◆ mspace_is_traced()
◆ mspace_least_addr()
◆ mspace_mallinfo()
◆ mspace_malloc()
◆ mspace_malloc_stats()
◆ mspace_mallopt()
◆ mspace_max_footprint()
◆ mspace_memalign()
◆ mspace_put()
◆ mspace_put_no_offset()
◆ mspace_realloc()
◆ mspace_track_large_chunks()
◆ mspace_trim()
◆ mspace_usable_size()
◆ mspace_usable_size_with_delta()