Go to the source code of this file.
|
always_inline heap_elt_t * | elt_at (heap_header_t *h, uword i) |
|
always_inline heap_elt_t * | last (heap_header_t *h) |
|
always_inline heap_elt_t * | first (heap_header_t *h) |
|
always_inline uword | size_to_bin (uword size) |
|
always_inline uword | bin_to_size (uword bin) |
|
static void | elt_delete (heap_header_t *h, heap_elt_t *e) |
|
always_inline void | elt_insert_before (heap_header_t *h, heap_elt_t *e, heap_elt_t *new) |
|
always_inline void | elt_insert_after (heap_header_t *h, heap_elt_t *e, heap_elt_t *new) |
|
always_inline heap_elt_t * | elt_new (heap_header_t *h) |
|
always_inline u32 * | elt_data (void *v, heap_elt_t *e) |
|
always_inline void | set_free_elt (void *v, heap_elt_t *e, uword fi) |
|
always_inline uword | get_free_elt (void *v, heap_elt_t *e, uword *bin_result) |
|
always_inline 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) |
|
u8* format_heap |
( |
u8 * |
s, |
|
|
va_list * |
va |
|
) |
| |