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) |
|
__clib_export void | heap_dealloc (void *v, uword handle) |
|
__clib_export uword | heap_len (void *v, word handle) |
|
uword | heap_bytes (void *v) |
|
static u8 * | debug_elt (u8 *s, void *v, word i, word n) |
|
__clib_export u8 * | format_heap (u8 *s, va_list *va) |
|
__clib_export void | heap_validate (void *v) |
|
◆ bin_to_size()
◆ combine_free_blocks()
◆ dealloc_elt()
static void dealloc_elt |
( |
void * |
v, |
|
|
heap_elt_t * |
e |
|
) |
| |
|
inlinestatic |
◆ debug_elt()
◆ elt_at()
◆ elt_data()
◆ elt_delete()
◆ elt_insert_after()
◆ elt_insert_before()
◆ elt_new()
◆ first()
◆ format_heap()
__clib_export u8* format_heap |
( |
u8 * |
s, |
|
|
va_list * |
va |
|
) |
| |
◆ get_free_elt()
◆ heap_bytes()
uword heap_bytes |
( |
void * |
v | ) |
|
◆ heap_dealloc()
__clib_export void heap_dealloc |
( |
void * |
v, |
|
|
uword |
handle |
|
) |
| |
◆ heap_len()
__clib_export uword heap_len |
( |
void * |
v, |
|
|
word |
handle |
|
) |
| |
◆ heap_validate()
__clib_export void heap_validate |
( |
void * |
v | ) |
|
◆ last()
◆ remove_free_block()
static void remove_free_block |
( |
void * |
v, |
|
|
uword |
b, |
|
|
uword |
i |
|
) |
| |
|
inlinestatic |
◆ search_free_list()
◆ set_free_elt()
◆ size_to_bin()