FD.io VPP  v18.04-17-g3a0d853
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 222 of file mheap_bootstrap.h.

Field Documentation

u32 mheap_t::first_free_elt_uoffset_by_bin[MHEAP_N_BINS]

Definition at line 228 of file mheap_bootstrap.h.

u32 mheap_t::flags

Definition at line 237 of file mheap_bootstrap.h.

volatile u32 mheap_t::lock

Definition at line 245 of file mheap_bootstrap.h.

u64 mheap_t::max_size

Definition at line 254 of file mheap_bootstrap.h.

u64 mheap_t::n_elts

Definition at line 250 of file mheap_bootstrap.h.

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

Definition at line 233 of file mheap_bootstrap.h.

volatile u32 mheap_t::owner_cpu

Definition at line 246 of file mheap_bootstrap.h.

int mheap_t::recursion_count

Definition at line 247 of file mheap_bootstrap.h.

mheap_small_object_cache_t mheap_t::small_object_cache

Definition at line 235 of file mheap_bootstrap.h.

mheap_stats_t mheap_t::stats

Definition at line 266 of file mheap_bootstrap.h.

mheap_trace_main_t mheap_t::trace_main

Definition at line 264 of file mheap_bootstrap.h.

u64 mheap_t::validate_serial

Definition at line 262 of file mheap_bootstrap.h.

uword mheap_t::vm_alloc_offset_from_header

Definition at line 256 of file mheap_bootstrap.h.

uword mheap_t::vm_alloc_size

Definition at line 257 of file mheap_bootstrap.h.


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