Go to the source code of this file.
|
static void * | mheap_get (void *v, uword size, uword *offset_return) |
|
void * | mheap_alloc (void *memory, uword memory_bytes) |
|
void * | mheap_alloc_with_flags (void *memory, uword memory_bytes, uword flags) |
|
void * | mheap_alloc_with_lock (void *memory, uword size, int locked) |
|
void | mheap_foreach (void *v, uword(*func)(void *arg, void *v, void *elt_data, uword elt_size), void *arg) |
|
u8 * | format_mheap (u8 *s, va_list *va) |
|
void | mheap_validate (void *h) |
|
uword | mheap_bytes (void *v) |
|
void | mheap_usage (void *v, clib_mem_usage_t *usage) |
|
void | mheap_trace (void *v, int enable) |
|
int | test_mheap_main (unformat_input_t *input) |
|
#define mheap_free |
( |
|
v | ) |
(v) = _mheap_free(v) |
u8* format_mheap |
( |
u8 * |
s, |
|
|
va_list * |
va |
|
) |
| |
void* mheap_alloc |
( |
void * |
memory, |
|
|
uword |
memory_bytes |
|
) |
| |
void* mheap_alloc_with_flags |
( |
void * |
memory, |
|
|
uword |
memory_bytes, |
|
|
uword |
flags |
|
) |
| |
void* mheap_alloc_with_lock |
( |
void * |
memory, |
|
|
uword |
size, |
|
|
int |
locked |
|
) |
| |
uword mheap_bytes |
( |
void * |
v | ) |
|
void mheap_foreach |
( |
void * |
v, |
|
|
uword(*)(void *arg, void *v, void *elt_data, uword elt_size) |
func, |
|
|
void * |
arg |
|
) |
| |
static void* mheap_get |
( |
void * |
v, |
|
|
uword |
size, |
|
|
uword * |
offset_return |
|
) |
| |
|
inlinestatic |
void mheap_trace |
( |
void * |
v, |
|
|
int |
enable |
|
) |
| |
void mheap_validate |
( |
void * |
h | ) |
|