Go to the source code of this file.
|
static mheap_t * | mheap_header (u8 *v) |
|
static u8 * | mheap_vector (mheap_t *h) |
|
static uword | mheap_elt_uoffset (void *v, mheap_elt_t *e) |
|
static mheap_elt_t * | mheap_user_pointer_to_elt (void *v) |
|
static uword | mheap_offset_is_valid (void *v, uword uo) |
|
static mheap_elt_t * | mheap_elt_at_uoffset (void *v, uword uo) |
|
static void * | mheap_elt_data (void *v, mheap_elt_t *e) |
|
static uword | mheap_elt_data_bytes (mheap_elt_t *e) |
|
static uword | mheap_data_bytes (void *v, uword uo) |
|
static mheap_elt_t * | mheap_next_elt (mheap_elt_t *e) |
|
static mheap_elt_t * | mheap_prev_elt (mheap_elt_t *e) |
|
static uword | mheap_elts (void *v) |
|
static uword | mheap_max_size (void *v) |
|
void | mheap_put (void *v, uword offset) |
|
void * | mheap_get_aligned (void *v, uword size, uword align, uword align_offset, uword *offset_return) |
|
◆ MHEAP_ELT_OVERHEAD_BYTES
◆ MHEAP_FLAG_DISABLE_VM
#define MHEAP_FLAG_DISABLE_VM (1 << 1) |
◆ MHEAP_FLAG_SMALL_OBJECT_CACHE
#define MHEAP_FLAG_SMALL_OBJECT_CACHE (1 << 3) |
◆ MHEAP_FLAG_THREAD_SAFE
#define MHEAP_FLAG_THREAD_SAFE (1 << 2) |
◆ MHEAP_FLAG_TRACE
#define MHEAP_FLAG_TRACE (1 << 0) |
◆ MHEAP_FLAG_VALIDATE
#define MHEAP_FLAG_VALIDATE (1 << 4) |
◆ MHEAP_GROUNDED
#define MHEAP_GROUNDED (~0) |
◆ MHEAP_HAVE_SMALL_OBJECT_CACHE
#define MHEAP_HAVE_SMALL_OBJECT_CACHE 0 |
◆ mheap_len
#define mheap_len |
( |
|
v, |
|
|
|
d |
|
) |
| (mheap_data_bytes((v),(void *) (d) - (void *) (v)) / sizeof ((d)[0])) |
◆ MHEAP_LOG2_N_SMALL_OBJECT_BINS
#define MHEAP_LOG2_N_SMALL_OBJECT_BINS 0 |
◆ MHEAP_MIN_USER_DATA_BYTES
◆ MHEAP_N_BINS
Value:#define MHEAP_LOG2_N_SMALL_OBJECT_BINS
#define STRUCT_BITS_OF(t, f)
#define MHEAP_N_SMALL_OBJECT_BINS
Definition at line 181 of file mheap_bootstrap.h.
◆ MHEAP_N_SMALL_OBJECT_BINS
#define MHEAP_N_SMALL_OBJECT_BINS 0 |
◆ MHEAP_N_USER_DATA_INVALID
#define MHEAP_N_USER_DATA_INVALID (0x7fffffff) |
◆ MHEAP_USER_DATA_WORD_BYTES
◆ mheap_data_bytes()
static uword mheap_data_bytes |
( |
void * |
v, |
|
|
uword |
uo |
|
) |
| |
|
inlinestatic |
◆ mheap_elt_at_uoffset()
◆ mheap_elt_data()
static void* mheap_elt_data |
( |
void * |
v, |
|
|
mheap_elt_t * |
e |
|
) |
| |
|
inlinestatic |
◆ mheap_elt_data_bytes()
◆ mheap_elt_uoffset()
◆ mheap_elts()
static uword mheap_elts |
( |
void * |
v | ) |
|
|
inlinestatic |
◆ mheap_get_aligned()
void* mheap_get_aligned |
( |
void * |
v, |
|
|
uword |
size, |
|
|
uword |
align, |
|
|
uword |
align_offset, |
|
|
uword * |
offset_return |
|
) |
| |
◆ mheap_header()
◆ mheap_max_size()
static uword mheap_max_size |
( |
void * |
v | ) |
|
|
inlinestatic |
◆ mheap_next_elt()
◆ mheap_offset_is_valid()
static uword mheap_offset_is_valid |
( |
void * |
v, |
|
|
uword |
uo |
|
) |
| |
|
inlinestatic |
◆ mheap_prev_elt()
◆ mheap_put()
void mheap_put |
( |
void * |
v, |
|
|
uword |
offset |
|
) |
| |
◆ mheap_user_pointer_to_elt()
static mheap_elt_t* mheap_user_pointer_to_elt |
( |
void * |
v | ) |
|
|
inlinestatic |
◆ mheap_vector()