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) |
|
#define MHEAP_FLAG_DISABLE_VM (1 << 1) |
#define MHEAP_FLAG_SMALL_OBJECT_CACHE (1 << 3) |
#define MHEAP_FLAG_THREAD_SAFE (1 << 2) |
#define MHEAP_FLAG_TRACE (1 << 0) |
#define MHEAP_FLAG_VALIDATE (1 << 4) |
#define MHEAP_GROUNDED (~0) |
#define MHEAP_HAVE_SMALL_OBJECT_CACHE 0 |
#define mheap_len |
( |
|
v, |
|
|
|
d |
|
) |
| (mheap_data_bytes((v),(void *) (d) - (void *) (v)) / sizeof ((d)[0])) |
#define MHEAP_LOG2_N_SMALL_OBJECT_BINS 0 |
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.
#define MHEAP_N_SMALL_OBJECT_BINS 0 |
#define MHEAP_N_USER_DATA_INVALID (0x7fffffff) |
static uword mheap_data_bytes |
( |
void * |
v, |
|
|
uword |
uo |
|
) |
| |
|
inlinestatic |
static void* mheap_elt_data |
( |
void * |
v, |
|
|
mheap_elt_t * |
e |
|
) |
| |
|
inlinestatic |
static uword mheap_elts |
( |
void * |
v | ) |
|
|
inlinestatic |
void* mheap_get_aligned |
( |
void * |
v, |
|
|
uword |
size, |
|
|
uword |
align, |
|
|
uword |
align_offset, |
|
|
uword * |
offset_return |
|
) |
| |
static uword mheap_max_size |
( |
void * |
v | ) |
|
|
inlinestatic |
static uword mheap_offset_is_valid |
( |
void * |
v, |
|
|
uword |
uo |
|
) |
| |
|
inlinestatic |
void mheap_put |
( |
void * |
v, |
|
|
uword |
offset |
|
) |
| |
static mheap_elt_t* mheap_user_pointer_to_elt |
( |
void * |
v | ) |
|
|
inlinestatic |