FD.io VPP  v19.01.3-6-g70449b9b9
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

◆ first_free_elt_uoffset_by_bin

u32 mheap_t::first_free_elt_uoffset_by_bin[MHEAP_N_BINS]

Definition at line 228 of file mheap_bootstrap.h.

◆ flags

u32 mheap_t::flags

Definition at line 237 of file mheap_bootstrap.h.

◆ lock

volatile u32 mheap_t::lock

Definition at line 245 of file mheap_bootstrap.h.

◆ max_size

u64 mheap_t::max_size

Definition at line 254 of file mheap_bootstrap.h.

◆ n_elts

u64 mheap_t::n_elts

Definition at line 250 of file mheap_bootstrap.h.

◆ non_empty_free_elt_heads

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.

◆ owner_cpu

volatile u32 mheap_t::owner_cpu

Definition at line 246 of file mheap_bootstrap.h.

◆ recursion_count

int mheap_t::recursion_count

Definition at line 247 of file mheap_bootstrap.h.

◆ small_object_cache

mheap_small_object_cache_t mheap_t::small_object_cache

Definition at line 235 of file mheap_bootstrap.h.

◆ stats

mheap_stats_t mheap_t::stats

Definition at line 266 of file mheap_bootstrap.h.

◆ trace_main

mheap_trace_main_t mheap_t::trace_main

Definition at line 264 of file mheap_bootstrap.h.

◆ validate_serial

u64 mheap_t::validate_serial

Definition at line 262 of file mheap_bootstrap.h.

◆ vm_alloc_offset_from_header

uword mheap_t::vm_alloc_offset_from_header

Definition at line 256 of file mheap_bootstrap.h.

◆ vm_alloc_size

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: