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

◆ MAX_VM_MEG

#define MAX_VM_MEG   1024

Function Documentation

◆ clib_mem_exit()

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:

◆ clib_mem_init()

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:

◆ clib_mem_init_thread_safe()

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:

◆ clib_mem_is_traced()

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:

◆ clib_mem_trace()

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:

◆ clib_mem_usage()

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:

◆ clib_mem_validate()

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:

◆ format_clib_mem_usage()

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

◆ clib_mem_validate_serial

uword clib_mem_validate_serial = 0

Definition at line 131 of file mem_mheap.c.

◆ clib_per_cpu_mheaps

void* clib_per_cpu_mheaps[CLIB_MAX_MHEAPS]

Definition at line 46 of file mem_mheap.c.