FD.io VPP  v16.06
Vector Packet Processing
mem_mheap.c File Reference
+ Include dependency graph for mem_mheap.c:

Go to the source code of this file.

Macros

#define MAX_VM_MEG   1024
 

Functions

void clib_mem_exit (void)
 
voidclib_mem_init (void *memory, uword memory_size)
 
uword clib_mem_get_page_size (void)
 
u8format_clib_mem_usage (u8 *s, va_list *va)
 
void clib_mem_usage (clib_mem_usage_t *u)
 
void clib_mem_validate (void)
 
void clib_mem_trace (int enable)
 

Variables

clib_smp_main_t clib_smp_main
 
voidclib_per_cpu_mheaps [CLIB_MAX_MHEAPS]
 
uword clib_mem_validate_serial = 0
 

Macro Definition Documentation

#define MAX_VM_MEG   1024

Function Documentation

void clib_mem_exit ( void  )

Definition at line 55 of file mem_mheap.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

uword clib_mem_get_page_size ( void  )

Definition at line 111 of file mem_mheap.c.

+ Here is the caller graph for this function:

void* clib_mem_init ( void memory,
uword  memory_size 
)

Definition at line 65 of file mem_mheap.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void clib_mem_trace ( int  enable)

Definition at line 144 of file mem_mheap.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void clib_mem_usage ( clib_mem_usage_t u)

Definition at line 127 of file mem_mheap.c.

+ Here is the call graph for this function:

void clib_mem_validate ( void  )

Definition at line 133 of file mem_mheap.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

u8* format_clib_mem_usage ( u8 s,
va_list *  va 
)

Definition at line 121 of file mem_mheap.c.

+ Here is the call graph for this function:

Variable Documentation

uword clib_mem_validate_serial = 0

Definition at line 131 of file mem_mheap.c.

void* clib_per_cpu_mheaps[CLIB_MAX_MHEAPS]

Definition at line 53 of file mem_mheap.c.

clib_smp_main_t clib_smp_main
Initial value:
= {
.n_cpus = 0,
.log2_n_per_cpu_stack_bytes = 20,
.log2_n_per_cpu_vm_bytes = 28,
.n_tls_4k_pages = 1,
}

Definition at line 46 of file mem_mheap.c.