FD.io VPP  v16.06
Vector Packet Processing
mheap_t Struct Reference
+ Collaboration diagram for mheap_t:

Data Fields

u32 first_free_elt_uoffset_by_bin [MHEAP_N_BINS]
 
uword non_empty_free_elt_heads [(MHEAP_N_BINS+BITS(uword)-1)/BITS(uword)]
 
mheap_small_object_cache_t small_object_cache
 
u32 flags
 
volatile u32 lock
 
volatile u32 owner_cpu
 
int recursion_count
 
u64 n_elts
 
u64 max_size
 
uword vm_alloc_offset_from_header
 
uword vm_alloc_size
 
u64 validate_serial
 
mheap_trace_main_t trace_main
 
mheap_stats_t stats
 

Detailed Description

Definition at line 169 of file mheap_bootstrap.h.

Field Documentation

u32 mheap_t::first_free_elt_uoffset_by_bin[MHEAP_N_BINS]

Definition at line 171 of file mheap_bootstrap.h.

u32 mheap_t::flags

Definition at line 178 of file mheap_bootstrap.h.

volatile u32 mheap_t::lock

Definition at line 186 of file mheap_bootstrap.h.

u64 mheap_t::max_size

Definition at line 195 of file mheap_bootstrap.h.

u64 mheap_t::n_elts

Definition at line 191 of file mheap_bootstrap.h.

uword mheap_t::non_empty_free_elt_heads[(MHEAP_N_BINS+BITS(uword)-1)/BITS(uword)]

Definition at line 174 of file mheap_bootstrap.h.

volatile u32 mheap_t::owner_cpu

Definition at line 187 of file mheap_bootstrap.h.

int mheap_t::recursion_count

Definition at line 188 of file mheap_bootstrap.h.

mheap_small_object_cache_t mheap_t::small_object_cache

Definition at line 176 of file mheap_bootstrap.h.

mheap_stats_t mheap_t::stats

Definition at line 207 of file mheap_bootstrap.h.

mheap_trace_main_t mheap_t::trace_main

Definition at line 205 of file mheap_bootstrap.h.

u64 mheap_t::validate_serial

Definition at line 203 of file mheap_bootstrap.h.

uword mheap_t::vm_alloc_offset_from_header

Definition at line 197 of file mheap_bootstrap.h.

uword mheap_t::vm_alloc_size

Definition at line 198 of file mheap_bootstrap.h.


The documentation for this struct was generated from the following file: