|
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) |
|
always_inline void | mheap_maybe_lock (void *v) |
|
always_inline void | mheap_maybe_unlock (void *v) |
|
always_inline uword | user_data_size_to_bin_index (uword n_user_data_bytes) |
|
always_inline uword | mheap_elt_size_to_user_n_bytes (uword n_bytes) |
|
always_inline uword | mheap_elt_size_to_user_n_words (uword n_bytes) |
|
always_inline void | mheap_elt_set_size (void *v, uword uoffset, uword n_user_data_bytes, uword is_free) |
|
always_inline void | set_first_free_elt_offset (mheap_t *h, uword bin, uword uoffset) |
|
always_inline void | set_free_elt (void *v, uword uoffset, uword n_user_data_bytes) |
|
always_inline void | new_free_elt (void *v, uword uoffset, uword n_user_data_bytes) |
|
always_inline void | remove_free_elt (void *v, mheap_elt_t *e, uword bin) |
|
always_inline 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) |
|
always_inline uword | mheap_small_object_cache_mask (mheap_small_object_cache_t *c, uword bin) |
|
always_inline uword | mheap_get_small_object (mheap_t *h, uword bin) |
|
always_inline 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) |
|
always_inline 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) |
|
always_inline void | mheap_trace_main_free (mheap_trace_main_t *tm) |
|
void | mheap_trace (void *v, int enable) |
|