Go to the source code of this file.
|
static heap_elt_t * | elt_at (heap_header_t *h, uword i) |
|
static heap_elt_t * | last (heap_header_t *h) |
|
static heap_elt_t * | first (heap_header_t *h) |
|
static uword | size_to_bin (uword size) |
|
static uword | bin_to_size (uword bin) |
|
static void | elt_delete (heap_header_t *h, heap_elt_t *e) |
|
static void | elt_insert_before (heap_header_t *h, heap_elt_t *e, heap_elt_t *new) |
|
static void | elt_insert_after (heap_header_t *h, heap_elt_t *e, heap_elt_t *new) |
|
static heap_elt_t * | elt_new (heap_header_t *h) |
|
static u32 * | elt_data (void *v, heap_elt_t *e) |
|
static void | set_free_elt (void *v, heap_elt_t *e, uword fi) |
|
static uword | get_free_elt (void *v, heap_elt_t *e, uword *bin_result) |
|
static void | remove_free_block (void *v, uword b, uword i) |
|
static heap_elt_t * | search_free_list (void *v, uword size) |
|
static void | combine_free_blocks (void *v, heap_elt_t *e0, heap_elt_t *e1) |
|
static void | dealloc_elt (void *v, heap_elt_t *e) |
|
void | heap_dealloc (void *v, uword handle) |
|
uword | heap_len (void *v, word handle) |
|
uword | heap_bytes (void *v) |
|
static u8 * | debug_elt (u8 *s, void *v, word i, word n) |
|
u8 * | format_heap (u8 *s, va_list *va) |
|
void | heap_validate (void *v) |
|
static void dealloc_elt |
( |
void * |
v, |
|
|
heap_elt_t * |
e |
|
) |
| |
|
inlinestatic |
u8* format_heap |
( |
u8 * |
s, |
|
|
va_list * |
va |
|
) |
| |
uword heap_bytes |
( |
void * |
v | ) |
|
void heap_dealloc |
( |
void * |
v, |
|
|
uword |
handle |
|
) |
| |
void heap_validate |
( |
void * |
v | ) |
|
static void remove_free_block |
( |
void * |
v, |
|
|
uword |
b, |
|
|
uword |
i |
|
) |
| |
|
inlinestatic |