|
static void | mheap_get_trace (void *v, uword offset, uword size) |
|
static void | mheap_put_trace (void *v, uword offset, uword size) |
|
static int | mheap_trace_sort (const void *t1, const void *t2) |
|
static void | mheap_maybe_lock (void *v) |
|
static void | mheap_maybe_unlock (void *v) |
|
static uword | user_data_size_to_bin_index (uword n_user_data_bytes) |
|
static uword | mheap_elt_size_to_user_n_bytes (uword n_bytes) |
|
static uword | mheap_elt_size_to_user_n_words (uword n_bytes) |
|
static void | mheap_elt_set_size (void *v, uword uoffset, uword n_user_data_bytes, uword is_free) |
|
static void | set_first_free_elt_offset (mheap_t *h, uword bin, uword uoffset) |
|
static void | set_free_elt (void *v, uword uoffset, uword n_user_data_bytes) |
|
static void | new_free_elt (void *v, uword uoffset, uword n_user_data_bytes) |
|
static void | remove_free_elt (void *v, mheap_elt_t *e, uword bin) |
|
static void | remove_free_elt2 (void *v, mheap_elt_t *e) |
|
static_always_inline uword | mheap_page_round (uword addr) |
|
static_always_inline uword | mheap_page_truncate (uword addr) |
|
static_always_inline uword | mheap_vm (void *v, uword flags, clib_address_t start_addr, uword size) |
|
static_always_inline uword | mheap_vm_elt (void *v, uword flags, uword offset) |
|
static uword | mheap_small_object_cache_mask (mheap_small_object_cache_t *c, uword bin) |
|
static uword | mheap_get_small_object (mheap_t *h, uword bin) |
|
static uword | mheap_put_small_object (mheap_t *h, uword bin, uword offset) |
|
static uword | mheap_get_search_free_bin (void *v, uword bin, uword *n_user_data_bytes_arg, uword align, uword align_offset) |
|
static uword | mheap_get_search_free_list (void *v, uword *n_user_bytes_arg, uword align, uword align_offset) |
|
static never_inline void * | mheap_get_extend_vector (void *v, uword n_user_data_bytes, uword align, uword align_offset, uword *offset_return) |
|
void * | mheap_get_aligned (void *v, uword n_user_data_bytes, uword align, uword align_offset, uword *offset_return) |
|
static void | free_last_elt (void *v, mheap_elt_t *e) |
|
void | mheap_put (void *v, uword uoffset) |
|
void * | mheap_alloc_with_flags (void *memory, uword memory_size, uword flags) |
|
void * | mheap_alloc (void *memory, uword size) |
|
void | mheap_foreach (void *v, uword(*func)(void *arg, void *v, void *elt_data, uword elt_size), void *arg) |
|
static uword | mheap_bytes_overhead (void *v) |
|
uword | mheap_bytes (void *v) |
|
static void | mheap_usage_no_lock (void *v, clib_mem_usage_t *usage) |
|
void | mheap_usage (void *v, clib_mem_usage_t *usage) |
|
static u8 * | format_mheap_byte_count (u8 *s, va_list *va) |
|
static mheap_elt_t * | mheap_first_corrupt (void *v) |
|
static u8 * | format_mheap_stats (u8 *s, va_list *va) |
|
u8 * | format_mheap (u8 *s, va_list *va) |
|
void | dmh (void *v) |
|
static void | mheap_validate_breakpoint () |
|
void | mheap_validate (void *v) |
|
static void | mheap_trace_main_free (mheap_trace_main_t *tm) |
|
void | mheap_trace (void *v, int enable) |
|