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) |
|
#define DEFAULT_GRANULARITY ((size_t)64U * (size_t)1024U) |
#define DEFAULT_MMAP_THRESHOLD ((size_t)~0ULL) |
#define DEFAULT_TRIM_THRESHOLD ((size_t)2U * (size_t)1024U * (size_t)1024U) |
#define DLM_ABORT_ON_ASSERT_FAILURE 1 |
#define DLM_MAGIC_CONSTANT 0xdeaddabe |
#define DLMALLOC_EXPORT extern |
#define DLMALLOC_VERSION 20806 |
#define FOOTERS 1 /* extra debugging */ |
#define M_GRANULARITY (-2) |
#define M_MMAP_THRESHOLD (-3) |
#define M_TRIM_THRESHOLD (-1) |
#define MALLINFO_FIELD_TYPE size_t |
#define MALLOC_ALIGNMENT ((size_t)(2 * sizeof(void *))) |
#define MALLOC_FAILURE_ACTION errno = ENOMEM; |
#define MALLOC_INSPECT_ALL 0 |
#define MAX_RELEASE_CHECK_RATE 4095 |
#define MAX_SIZE_T (~(size_t)0) |
#define MORECORE_CONTIGUOUS 0 |
#define NO_MALLOC_STATS 0 |
#define NO_SEGMENT_TRAVERSAL 0 |
#define PROCEED_ON_ERROR 0 |
#define STRUCT_MALLINFO_DECLARED 1 |
#define USE_BUILTIN_FFS 0 |
DLMALLOC_EXPORT void* mspace_get_aligned |
( |
mspace |
msp, |
|
|
unsigned long |
n_user_data_bytes, |
|
|
unsigned long |
align, |
|
|
unsigned long |
align_offset |
|
) |
| |
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[] |
|
) |
| |