#include "conf_dlmalloc.h"
Macros | |
#define | HEAP_END &__heap_end__ |
#define | HEAP_START &__heap_start__ |
Functions | |
void * | dlmalloc_sbrk (int increment) |
void * | mmap (void *start, int length, int prot, int flags, int fd, int offset) |
int | munmap (void *start, int length) |
Variables | |
void | __heap_end__ |
void | __heap_start__ |
static void * | cur_heap_pos = 0 |
#define HEAP_END &__heap_end__ |
Referenced by dlmalloc_sbrk(), and mmap().
#define HEAP_START &__heap_start__ |
Referenced by dlmalloc_sbrk(), mmap(), and munmap().
void* dlmalloc_sbrk | ( | int | increment | ) |
References cur_heap_pos, HEAP_END, and HEAP_START.
void* mmap | ( | void * | start, |
int | length, | ||
int | prot, | ||
int | flags, | ||
int | fd, | ||
int | offset | ||
) |
References cur_heap_pos, HEAP_END, HEAP_START, and MORECORE.
int munmap | ( | void * | start, |
int | length | ||
) |
References cur_heap_pos, HEAP_START, and MORECORE.
void __heap_end__ |
Referenced by init_heap().
void __heap_start__ |
Referenced by init_heap().
|
static |
Referenced by dlmalloc_sbrk(), mmap(), and munmap().