FD.io VPP  v19.08-27-gf4dcae4
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)
 
void * clib_mem_init (void *memory, uword memory_size)
 
void * clib_mem_init_thread_safe (void *memory, uword memory_size)
 
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)
 
int clib_mem_is_traced (void)
 

Variables

void * clib_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 49 of file mem_mheap.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void* clib_mem_init ( void *  memory,
uword  memory_size 
)

Definition at line 60 of file mem_mheap.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void* clib_mem_init_thread_safe ( void *  memory,
uword  memory_size 
)

Definition at line 99 of file mem_mheap.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int clib_mem_is_traced ( void  )

Definition at line 152 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 146 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 125 of file mem_mheap.c.

+ Here is the call graph for this function:

void clib_mem_validate ( void  )

Definition at line 134 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 118 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 46 of file mem_mheap.c.